[−][src]Module bulletproofs::range_proof_mpc::party
The party
module contains the API for the party state while the party is
engaging in an aggregated multiparty computation protocol.
Each state of the MPC protocol is represented by a different Rust type. The state transitions consume the previous state, making it a compile error to perform the steps out of order or to repeat a step.
For more explanation of how the dealer
, party
, and messages
modules orchestrate the protocol execution, see the documentation
in the aggregation
module.
Structs
Party | Used to construct a party for the aggregated rangeproof MPC protocol. |
PartyAwaitingBitChallenge | A party which has committed to the bits of its value and is waiting for the aggregated value challenge from the dealer. |
PartyAwaitingPolyChallenge | A party which has committed to their polynomial coefficents and is waiting for the polynomial challenge from the dealer. |
PartyAwaitingPosition | A party waiting for the dealer to assign their position in the aggregation. |