Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HashLength is the expected length of the hash HashLength = 32 // AddressLength is the expected length of the address AddressLength = 20 )
Lengths of hashes and addresses in bytes.
Variables ¶
This section is empty.
Functions ¶
func HexDecodeString ¶
func HexEncodeToString ¶
HexEncode encodes bytes to a hex string. Contrary to hex.EncodeToString, this function prefixes the hex string with "0x"
func IsHexAddress ¶
func IsValidAddress ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.