Documentation ¶
Index ¶
- Constants
- func GenerateDeterministicPrivateCoefficients(n int) []*big.Int
- func GenerateEncryptedShares(dkgStates []*state.DkgState, idx int) []*big.Int
- func GenerateEncryptedSharesAndCommitments(dkgStates []*state.DkgState)
- func GenerateGPKJ(dkgStates []*state.DkgState)
- func GenerateKeyShares(dkgStates []*state.DkgState)
- func GenerateMasterPublicKey(dkgStates []*state.DkgState) []*state.DkgState
- func GenerateParticipantList(dkgStates []*state.DkgState) state.ParticipantList
- func GeneratePublicCoefficients(privCoefs []*big.Int) [][2]*big.Int
- func GenerateTestAddress(t *testing.T) (common.Address, *big.Int, [2]*big.Int)
- func GetETHDKGRegistrationOpened(logs []*types.Log, eth layer1.Client, contracts layer1.AllSmartContracts) (*bindings.ETHDKGRegistrationOpened, error)
- func InitializeNewDetDkgStateInfo(tempDir string, n int) []*state.DkgState
- func InitializeNewDkgStateInfo(tempDir string, n int, deterministicShares bool) []*state.DkgState
- func InitializeNewNonDetDkgStateInfo(tempDir string, n int) []*state.DkgState
Constants ¶
View Source
const SETUP_GROUP int = 13
Variables ¶
This section is empty.
Functions ¶
func GenerateEncryptedShares ¶
func GenerateGPKJ ¶
func GenerateKeyShares ¶
func GenerateMasterPublicKey ¶
GenerateMasterPublicKey computes the mpk for the protocol. This computes this by using all of the secret values from DKGStates.
func GenerateParticipantList ¶
func GenerateParticipantList(dkgStates []*state.DkgState) state.ParticipantList
func GenerateTestAddress ¶
func GetETHDKGRegistrationOpened ¶
func GetETHDKGRegistrationOpened(logs []*types.Log, eth layer1.Client, contracts layer1.AllSmartContracts) (*bindings.ETHDKGRegistrationOpened, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.