Module monero::consensus[][src]

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

encode

Consensus-encodable types and errors.

strict_encodestrict_encoding_support

Implements StrictEncode and StrictDecode for a few types that already implement consensus Encodable and Decodable.