Documentation ¶
Overview ¶
Run a NonceDKG and sign the supplied hash.
This is a simplified implementation. Later the DKG part can be run in advance, while waiting for transactions.
The general workflow is the following:
- Start it upon activation of a step (last stateOutput is approved).
- Exchange the underlying messages until: 2.1. ACSS Intermediate output is received.
- Then wait for the ACS and then the VM to complete: 3.1. pass the ACS result to the nonce-dkg (to complete the nonces). 3.2. pass the VM output as a message to sign (its hash).
- Exchange messages until the signature is produced.
- Output the signature.
TODO: Make sure no two signatures are ever produced by the nonce-dkg for the same
base TX. That would reveal the permanent private key of the committee.
Index ¶
- func GenDistSecret(suite dkg.Suite, nbParticipants int, partSec []kyber.Scalar, ...) []*dkg.DistKeyShare
- func GenPair(suite dkg.Suite) (kyber.Scalar, kyber.Point)
- func NewInputDecided(decidedIndexProposals map[gpa.NodeID][]int, messageToSign []byte) gpa.Input
- func NewInputStart() gpa.Input
- type DSS
- type Output
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenDistSecret ¶ added in v1.0.3
func GenDistSecret(suite dkg.Suite, nbParticipants int, partSec []kyber.Scalar, partPubs []kyber.Point) []*dkg.DistKeyShare
func NewInputDecided ¶ added in v1.0.3
func NewInputStart ¶ added in v1.0.3
Types ¶
Click to show internal directories.
Click to hide internal directories.