Module monero::consensus[][src]

Consensus encoding decoding Monero format

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

Encode module

The encode module is based on Andrew Poelstra work in 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

strict_encodestrict_encoding_support

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