Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrivateKeys ¶ added in v1.10.0
type PrivateKeys []bls.PrivateKeyWrapper
PrivateKeys stores the bls secret keys that belongs to the node
func GetPrivateKeys ¶ added in v1.10.0
func GetPrivateKeys(secretKeys ...*bls_core.SecretKey) PrivateKeys
GetPrivateKeys creates a multibls PrivateKeys using bls.SecretKey
func (PrivateKeys) Dedup ¶ added in v1.10.0
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 ¶ added in v1.10.0
func (multiKey PrivateKeys) GetPublicKeys() PublicKeys
GetPublicKeys wrapper
type PublicKeys ¶ added in v1.10.0
type PublicKeys []bls.PublicKeyWrapper
PublicKeys stores the bls public keys that belongs to the node
func (PublicKeys) Contains ¶ added in v1.10.0
func (multiKey PublicKeys) Contains(pubKey *bls_core.PublicKey) bool
Contains wrapper
func (PublicKeys) SerializeToHexStr ¶ added in v1.10.0
func (multiKey PublicKeys) SerializeToHexStr() string
SerializeToHexStr wrapper
Click to show internal directories.
Click to hide internal directories.