Module monero::consensus

source ·
Expand description

Consensus encoding and decoding as defined by the Monero format.

This module defines traits and functions which are needed to conform to Monero consensus encoding.

Encode module

The encode module is based on Andrew Poelstra and contributors work in the rust-bitcoin library.

Re-exports

pub use self::encode::deserialize;
pub use self::encode::serialize;
pub use self::encode::serialize_hex;
pub use self::encode::Decodable;
pub use self::encode::Encodable;
pub use self::encode::ReadExt;
pub use self::encode::WriteExt;

Modules

Consensus-encodable types and errors.