Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendPriKey ¶
func AppendPriKey(multiKey *PrivateKey, key *bls.SecretKey)
AppendPriKey appends a SecretKey to multibls PrivateKey
func AppendPubKey ¶
AppendPubKey appends a PublicKey to multibls PublicKey
Types ¶
type PrivateKey ¶
PrivateKey stores the bls secret keys that belongs to the node
func GetPrivateKey ¶
func GetPrivateKey(key *bls.SecretKey) *PrivateKey
GetPrivateKey creates a multibls PrivateKey using bls.SecretKey
func (PrivateKey) GetPublicKey ¶
func (multiKey PrivateKey) GetPublicKey() *PublicKey
GetPublicKey wrapper
type PublicKey ¶
PublicKey stores the bls public keys that belongs to the node
func GetPublicKey ¶
GetPublicKey creates a multibls PublicKey using bls.PublicKey
func (*PublicKey) SerializeToHexStr ¶
SerializeToHexStr wrapper
Click to show internal directories.
Click to hide internal directories.