signatureschemes

package
v0.0.0-...-7ece11e Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MiningKey

type MiningKey struct {
	PriKey map[string][]byte
	PubKey map[string][]byte
}

func DeepCopyMiningKeyArray

func DeepCopyMiningKeyArray(src []MiningKey) []MiningKey

DeepCopyMiningKeyArray deep coy for an array of mining keys

func (*MiningKey) BLSSignData

func (miningKey *MiningKey) BLSSignData(
	data []byte,
	selfIdx int,
	committee []blsmultisig.PublicKey,
) (
	[]byte,
	error,
)

func (*MiningKey) BriSignData

func (miningKey *MiningKey) BriSignData(
	data []byte,
) (
	[]byte,
	error,
)

func (*MiningKey) GetPublicKey

func (miningKey *MiningKey) GetPublicKey() *incognitokey.CommitteePublicKey

func (*MiningKey) GetPublicKeyBase58

func (miningKey *MiningKey) GetPublicKeyBase58() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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