multibls

package
v1.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2024 License: LGPL-3.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL