Documentation ¶
Index ¶
Constants ¶
View Source
const ( // 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 // CacheHashSize defines the size of local hash key CacheHashSize = 20 )
Variables ¶
View Source
var ( // ZeroHash32B is 32-bytes of all zero ZeroHash32B = Hash32B{} // ZeroPKHash is 20-bytes of all zero ZeroPKHash = PKHash{} )
Functions ¶
Types ¶
type CacheHash ¶ added in v0.4.0
type CacheHash [CacheHashSize]byte
CacheHash for 20-byte hash used in cache
type PKHash ¶ added in v0.4.0
type PKHash [PKHashSize]byte
PKHash for account and smart contract address hash
Click to show internal directories.
Click to hide internal directories.