pubkeyConverter

package
v1.2.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2024 License: GPL-3.0 Imports: 7 Imported by: 18 modules, 38 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 ErrInvalidErdAddress = errors.New("invalid ERD address")

ErrInvalidErdAddress signals that the provided address is not an ERD address

View Source
var ErrInvalidHrpPrefix = errors.New("invalid hrp prefix")

ErrHrpPrefix signals that the prefix is not human readable or empty

View Source
var ErrWrongSize = errors.New("wrong size")

ErrWrongSize signals that a wrong size occurred

Functions

func NewBech32PubkeyConverter

func NewBech32PubkeyConverter(addressLen int, prefix string) (*bech32PubkeyConverter, error)

NewBech32PubkeyConverter returns a bech32PubkeyConverter instance

func NewHexPubkeyConverter

func NewHexPubkeyConverter(addressLen int) (*hexPubkeyConverter, error)

NewHexPubkeyConverter returns a hexPubkeyConverter instance

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL