Expand description
multi sig prove crate::chain::ergo_state_context::ErgoStateContext;
Structs§
- Transaction
Hints Bag - 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 topublic_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