Module psbt::commit

source ·
Expand description

Managing commitment-related proprietary keys inside PSBT.

Supports Tapret, Opret, P2C and S2C commitments and LNPBP4 structures used by all of them.

Structs

Error decoding DfsPath inside PSBT data

Enums

Errors processing LNPBP4-related proprietary PSBT keys and their values.
Errors processing opret-related proprietary PSBT keys and their values.
Errors processing tapret-related proprietary PSBT keys and their values.

Constants

Proprietary key subtype for storing LNPBP4 information about each specific protocol.
Proprietary key subtype for PSBT inputs containing the applied tapret tweak information.
PSBT proprietary key prefix used for LNPBP4 commitment-related data.
PSBT proprietary key prefix used for opret commitment.
Proprietary key subtype for storing LNPBP4 entropy constant.
Proprietary key subtype for storing LNPBP4 single commitment message under some protocol in global map.
Proprietary key subtype for storing LNPBP4 requirement for a minimal tree size.
Proprietary key subtype holding 32-byte commitment which will be put into opret data.
Proprietary key subtype marking PSBT outputs which may host opret commitment.
Proprietary key subtype holding 32-byte commitment which will be put into tapreturn tweak.
Proprietary key subtype marking PSBT outputs which may host tapreturn commitment.
Proprietary key subtype holding merkle branch path to tapreturn tweak inside the taptree structure.
PSBT proprietary key prefix used for tapreturn commitment.

Traits

Extension trait for static functions returning LNPBP4-related proprietary keys.
Extension trait for static functions returning opret-related proprietary keys.
Extension trait for static functions returning tapreturn-related proprietary keys.