Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Term ¶
type Term struct {
Id uint32 // term id starts from 0 (genesis)
PartsNum int // participants number
Threshold int // participants number for threshold signature
Senators []Senator // all senators to discuss out a signature
AllPartPublicKeys []dkg.PartPub // their little public keys
PublicKey kyber.Point // the full public key. Only available after collected all others' dkgs
ActivateHeight uint64 // when the term is activated.
Suite *bn256.Suite // curve.
}
Term holds all public info about the term.
Click to show internal directories.
Click to hide internal directories.