Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBech32ConvertError = errors.New("can't convert bech32 string")
ErrBech32ConvertError signals that conversion the 5bit alphabet to 8bit failed
View Source
var ErrConvertBits = errors.New("invalid fromBits or toBits when converting bits")
ErrConvertBits signals that a configuration mistake has been introduced
View Source
var ErrInvalidAddressLength = errors.New("invalid address length")
ErrInvalidAddressLength signals that address length is invalid
View Source
var ErrInvalidHrpPrefix = errors.New("invalid hrp prefix")
ErrHrpPrefix signals that the prefix is not human readable or empty
View Source
var ErrInvalidMoaAddress = errors.New("invalid MOA address")
ErrInvalidMoaAddress signals that the provided address is not an MOA address
View Source
var ErrWrongSize = errors.New("wrong size")
ErrWrongSize signals that a wrong size occurred
Functions ¶
func NewBech32PubkeyConverter ¶
NewBech32PubkeyConverter returns a bech32PubkeyConverter instance
func NewHexPubkeyConverter ¶
NewHexPubkeyConverter returns a hexPubkeyConverter instance
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.