bitcoin/consensus/
mod.rs

1// Rust Bitcoin Library
2// Written by
3//   The Rust Bitcoin developers
4//
5// To the extent possible under law, the author(s) have dedicated all
6// copyright and related and neighboring rights to this software to
7// the public domain worldwide. This software is distributed without
8// any warranty.
9//
10// You should have received a copy of the CC0 Public Domain Dedication
11// along with this software.
12// If not, see <http://creativecommons.org/publicdomain/zero/1.0/>.
13//
14
15//! Consensus
16//!
17//! This module defines structures, functions, and traits which are needed to
18//! conform to Bitcoin consensus.
19//!
20
21pub mod encode;
22pub mod params;
23
24pub use self::encode::{Encodable, Decodable, WriteExt, ReadExt};
25pub use self::encode::{serialize, deserialize, deserialize_partial};
26pub use self::params::Params;