Documentation
¶
Index ¶
Constants ¶
View Source
const (
// AddressSize is the size of a pubkey address.
AddressSize = 20
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Address ¶
An address is a []byte, but hex-encoded even in JSON. []byte leaves us the option to change the address length. Use an alias so Unmarshal methods (with ptr receivers) are available too.
func AddressHash ¶
Click to show internal directories.
Click to hide internal directories.