Crate forest_address[][src]

Structs

Address is the struct that defines the protocol and data payload conversion from either a public key or value

Public key struct used as BLS Address data. This type is only needed to be able to implement traits on it due to limitations on arrays within Rust that are greater than 32 length. Can be dereferenced into [u8; 48].

Enums

Address error

Network defines the preconfigured networks to use with address encoding

Payload is the data of the Address. Variants are the supported Address protocols.

Protocol defines the addressing protocol used to derive data to an address

Constants

BLS public key length used for validation of BLS addresses.

Length of the checksum hash for string encodings.

Hash length of payload for Secp and Actor addresses.

Uncompressed secp public key used for validation of Secp addresses.

Statics

Functions

Checksum calculates the 4 byte checksum hash

Validates the checksum against the ingest data