Documentation ¶
Index ¶
- func EncodeValidationData(validationData ValidationData) (string, error)
- type MiningKey
- func (miningKey *MiningKey) BLSSignData(data []byte, selfIdx int, committee []blsmultisig.PublicKey) ([]byte, error)
- func (miningKey *MiningKey) BriSignData(data []byte) ([]byte, error)
- func (miningKey *MiningKey) GetPublicKey() incognitokey.CommitteePublicKey
- func (miningKey *MiningKey) GetPublicKeyBase58() string
- type ValidationData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeValidationData ¶
func EncodeValidationData(validationData ValidationData) (string, error)
Types ¶
type MiningKey ¶
func (*MiningKey) BLSSignData ¶
func (*MiningKey) BriSignData ¶
func (*MiningKey) GetPublicKey ¶
func (miningKey *MiningKey) GetPublicKey() incognitokey.CommitteePublicKey
func (*MiningKey) GetPublicKeyBase58 ¶
type ValidationData ¶
type ValidationData struct { ProducerBLSSig []byte ProducerBriSig []byte ValidatiorsIdx []int AggSig []byte BridgeSig [][]byte PortalSig []*portalprocessv4.PortalSig }
func DecodeValidationData ¶
func DecodeValidationData(data string) (*ValidationData, error)
Click to show internal directories.
Click to hide internal directories.