rust-bitcoin-unsafe-fast/bitcoin/src/network/mod.rs

29 lines
635 B
Rust
Raw Normal View History

// SPDX-License-Identifier: CC0-1.0
2014-07-18 13:56:17 +00:00
//! Bitcoin network support.
2014-07-18 13:56:17 +00:00
//!
2020-03-29 13:49:48 +00:00
//! This module defines support for (de)serialization and network transport
2014-07-18 13:56:17 +00:00
//! of Bitcoin data and network messages.
//!
pub mod constants;
#[cfg(feature = "std")]
pub mod address;
#[cfg(feature = "std")]
pub use self::address::Address;
#[cfg(feature = "std")]
pub mod message;
#[cfg(feature = "std")]
pub mod message_blockdata;
#[cfg(feature = "std")]
pub mod message_bloom;
#[cfg(feature = "std")]
pub mod message_compact_blocks;
#[cfg(feature = "std")]
pub mod message_filter;
#[cfg(feature = "std")]
pub mod message_network;
pub use self::constants::Magic;