Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ZeroHash256 is 256-bit of all zero ZeroHash256 = Hash256{} // ZeroHash160 is 160-bit of all zero ZeroHash160 = Hash160{} )
Functions ¶
This section is empty.
Types ¶
type Hash160 ¶ added in v0.5.0
type Hash160 [20]byte
Hash160 for 160-bit hash used for account and smart contract address
func BytesToHash160 ¶ added in v0.5.0
BytesToHash160 copies the byte slice into hash
type Hash256 ¶ added in v0.5.0
type Hash256 [32]byte
Hash256 is 256-bit hash
func BytesToHash256 ¶ added in v0.5.0
BytesToHash256 copies the byte slice into hash
Click to show internal directories.
Click to hide internal directories.