Documentation ¶
Index ¶
Constants ¶
View Source
const ( HashSize = 32 BandersnatchSize = 32 BandersnatchSerializedSize = 33 Ed25519PublicSize = 32 Ed25519PrivateSize = 64 Ed25519SignatureSize = 64 BLSSize = 144 BandersnatchRingSize = 144 MetadataSize = 128 VrfProofSize = 784 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BandersnatchOutputHash ¶
type BandersnatchOutputHash [32]byte
type BandersnatchPrivateKey ¶
type BandersnatchPrivateKey [BandersnatchSize]byte
type BandersnatchPublicKey ¶
type BandersnatchPublicKey [BandersnatchSize]byte
type BandersnatchSeedKey ¶
type BandersnatchSeedKey [BandersnatchSize]byte
type BandersnatchSignature ¶
type BandersnatchSignature [96]byte
type Ed25519Signature ¶
type Ed25519Signature [Ed25519SignatureSize]byte
type EpochKeys ¶
type EpochKeys [jamtime.TimeslotsPerEpoch]BandersnatchPublicKey
type Hash ¶
func KeccakData ¶
KeccakData hashes the input data using Keccak-256
type MetadataKey ¶
type MetadataKey [MetadataSize]byte
type RingCommitment ¶
type RingCommitment [BandersnatchRingSize]byte
type RingVrfSignature ¶
type RingVrfSignature [VrfProofSize]byte
type ValidatorKey ¶
type ValidatorKey struct { Bandersnatch BandersnatchPublicKey Ed25519 ed25519.PublicKey Bls BlsKey Metadata MetadataKey }
Click to show internal directories.
Click to hide internal directories.