Documentation ¶
Index ¶
Constants ¶
View Source
const ( Bech32MainPrefix = "jolt" // Bech32PrefixAccPub defines the Bech32 prefix of an account's public key Bech32PrefixAccPub = Bech32MainPrefix + "pub" // Bech32PrefixValAddr defines the Bech32 prefix of a validator's operator address Bech32PrefixValAddr = Bech32MainPrefix + "val" + "oper" // Bech32PrefixValPub defines the Bech32 prefix of a validator's operator public key Bech32PrefixValPub = Bech32MainPrefix + "val" + "oper" + "pub" // Bech32PrefixConsAddr defines the Bech32 prefix of a consensus node address Bech32PrefixConsAddr = Bech32MainPrefix + "val" + "cons" // Bech32PrefixConsPub defines the Bech32 prefix of a consensus node public key Bech32PrefixConsPub = Bech32MainPrefix + "val" + "cons" + "pub" )
Variables ¶
This section is empty.
Functions ¶
func SetBech32AddressPrefixes ¶
SetBech32AddressPrefixes sets the global prefix to be used when serializing addresses to bech32 strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.