Module multi_sig

Source
Expand description

multi sig prove crate::chain::ergo_state_context::ErgoStateContext;

Structs§

TransactionHintsBag
TransactionHintsBag

Functions§

bag_for_multi_sig
A method which is extracting partial proofs of secret knowledge for particular secrets with their respective public images given. Useful for distributed signature applications. See DistributedSigSpecification for examples of usage.
extract_hints
Extracting hints from a transaction and outputs it’s corresponding TransactionHintsBag
generate_commitments
A method which is generating commitments to randomness. A commitment is about a first step of a zero-knowledge proof-of-knowledge knowledge protocol. the commitments are generated for every input box of transaction and return as TransactionHintsBag. generated commitments corresponds to public_keys that prepared in function input
generate_commitments_for
Generating commitment for ergo-tree that is reduced to crypto corresponds to an input box and with public key that prepared in input as generate_for