Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProtocolVersion defines Protocol version, starting from 1 ProtocolVersion = 0x01 // HashSize defines the size of hash HashSize = 32 // PKHashSize defines the size of public-key hash PKHashSize = 20 // DKGHashSize defines the size of a DKG hash DKGHashSize = 20 )
Variables ¶
View Source
var ( // ErrNotImplemented indicates the method is not implemented yet ErrNotImplemented = errors.New("not implemented") )
View Source
var MachineEndian = binary.LittleEndian
MachineEndian is the endianess of the machine
View Source
var ( // ZeroHash32B is 32-bytes of all zero ZeroHash32B = Hash32B{} )
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.