Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateKeys ¶
type PrivateKeys []bls.PrivateKeyWrapper
PrivateKeys stores the bls secret keys that belongs to the node
func GetPrivateKeys ¶
func GetPrivateKeys(secretKeys ...*bls_core.SecretKey) PrivateKeys
GetPrivateKeys creates a multibls PrivateKeys using bls.SecretKey
func (PrivateKeys) Dedup ¶
func (multiKey PrivateKeys) Dedup() PrivateKeys
Dedup will return a new list of dedupped private keys. This func won't modify the original slice.
func (PrivateKeys) GetPublicKeys ¶
func (multiKey PrivateKeys) GetPublicKeys() PublicKeys
GetPublicKeys wrapper
type PublicKeys ¶
type PublicKeys []bls.PublicKeyWrapper
PublicKeys stores the bls public keys that belongs to the node
func (PublicKeys) Contains ¶
func (multiKey PublicKeys) Contains(pubKey *bls_core.PublicKey) bool
Contains wrapper
func (PublicKeys) SerializeToHexStr ¶
func (multiKey PublicKeys) SerializeToHexStr() string
SerializeToHexStr wrapper
Click to show internal directories.
Click to hide internal directories.