Expand description

Multi-message commitments: implementation of LNPBP-4 standard.

LNPBP-4 defines a commit-verify scheme for committing to a multiple messages under distinct protocols with ability to partially reveal set of the commitments and still be able to prove the commitment for each message without exposing the exact number of other messages and their respective protocol identifiers.

Structs

Tag used for MultiCommitment hash type

Multi-message commitment data according to LNPBP-4 specification.

Single item within a multi-message commitment, consisting of optional protocol information (if known) and the actual single message commitment

Final LNPBP-4 commitment value.

Structured source multi-message data for commitment creation

Enums

Errors generated during multi-message commitment process by MultiCommitBlock::try_commit

Type Definitions

Original message participating in multi-message commitment.

Source data for creation of multi-message commitments according to LNPBP-4 procedure.