Documentation ¶
Index ¶
- func CreateShare(operators [][]byte) (*beacon.Share, map[uint64]*bls.SecretKey, error)
- func CreateShareAndValidators(ctx context.Context, logger *zap.Logger, net *p2pv1.LocalNet, ...) (*beacon.Share, map[uint64]*bls.SecretKey, []validator.IValidator, error)
- func NewTestKeyManager() spectypes.KeyManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateShare ¶
CreateShare creates a new beacon.Share
func CreateShareAndValidators ¶
func CreateShareAndValidators(ctx context.Context, logger *zap.Logger, net *p2pv1.LocalNet, kms []spectypes.KeyManager, stores []qbftstorage.QBFTStore) (*beacon.Share, map[uint64]*bls.SecretKey, []validator.IValidator, error)
CreateShareAndValidators creates a share and the corresponding validators objects
func NewTestKeyManager ¶ added in v0.3.0
func NewTestKeyManager() spectypes.KeyManager
NewTestKeyManager creates a new signer for tests
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.