multibls

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2021 License: MIT Imports: 4 Imported by: 2

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

Jump to

Keyboard shortcuts

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