Module forfeit

Source

Structs§

HashLockedForfeitBundle
A bundle of signatures that forfeits a user’s VTXO conditional on the server revealing a secret preimage
HashLockedForfeitNonces
Set of nonces for a hArk forfeit

Functions§

connector_forfeit_sighash_connector
The sighash of the connector input of a forfeit tx.
connector_forfeit_sighash_exit
The sighash of the exit tx input of a forfeit tx.
create_connector_forfeit_tx
create_hark_forfeit_claim_tx
Construct the second tx in the hArk forfeit protocol
create_hark_forfeit_tx
Construct the first tx in the hArk forfeit protocol
hark_forfeit_claim_sighash
hark_forfeit_claim_taproot
The taproot for the policy of the output of the hArk forfeit tx
hark_forfeit_sighash