Documentation
¶
Index ¶
- func GetValidators(n int, k int) []*frost.NetworkSigner
- func SetupInMemoryNetwork(k int, pubKeys []*btcec.PublicKey, privKeys []*btcec.PrivateKey) ([]network.Node, []frostConfig.BindingInfo)
- func SetupInMemoryNetworkWithGeneratedKeys(n int, k int, createStorage func() (storage.FrostKeysStorage, error)) []*frost.NetworkSigner
- func SetupInMemoryNetworkWithProvidedKeys(k int) ([]network.Node, []frostConfig.BindingInfo)
- type ApprovalRequests
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValidators ¶
func GetValidators(n int, k int) []*frost.NetworkSigner
func SetupInMemoryNetwork ¶
func SetupInMemoryNetwork(k int, pubKeys []*btcec.PublicKey, privKeys []*btcec.PrivateKey) ([]network.Node, []frostConfig.BindingInfo)
func SetupInMemoryNetworkWithGeneratedKeys ¶
func SetupInMemoryNetworkWithGeneratedKeys(n int, k int, createStorage func() (storage.FrostKeysStorage, error)) []*frost.NetworkSigner
func SetupInMemoryNetworkWithProvidedKeys ¶
func SetupInMemoryNetworkWithProvidedKeys(k int) ([]network.Node, []frostConfig.BindingInfo)
Types ¶
type ApprovalRequests ¶
type ApprovalRequests struct {
ChApprovalRequests chan *approver.ApprovalRequest
}
func NewApprovalRequests ¶
func NewApprovalRequests() *ApprovalRequests
Click to show internal directories.
Click to hide internal directories.