address

package
v1.0.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 0 Imported by: 719

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec interface {
	// StringToBytes decodes text to bytes
	StringToBytes(text string) ([]byte, error)
	// BytesToString encodes bytes to text
	BytesToString(bz []byte) (string, error)
}

Codec defines an interface to convert addresses from and to string/bytes.

type ConsensusAddressCodec added in v1.0.0

type ConsensusAddressCodec Codec

ConsensusAddressCodec is an alias for address.Codec for validator consensus addresses.

type ValidatorAddressCodec added in v1.0.0

type ValidatorAddressCodec Codec

ValidatorAddressCodec is an alias for address.Codec for validator addresses.

Jump to

Keyboard shortcuts

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