commit_verify

Module mpc

Source
Expand description

Multi-protocol commitments according to LNPBP-4 standard.

Structs§

  • Final LNPBP-4 commitment value.
  • the provided merkle proof protocol id {protocol_id} position {actual} doesn’t match the expected position {expected} within the tree of width {width}.
  • commitment under protocol id {0} is absent from the known part of a given LNPBP-4 Merkle block.
  • Partially-concealed merkle tree data.
  • A proof of the merkle commitment.
  • Complete information about LNPBP-4 merkle tree.
  • Original message participating in multi-message commitment.
  • Structured source multi-message data for commitment creation
  • Source data for creation of multi-message commitments according to LNPBP-4 procedure.

Enums§

Constants§

Traits§

  • Marker trait for variates of LNPBP-4 commitment proofs, which differ by the amount of concealed information.

Type Aliases§

  • Map from protocol ids to commitment messages.