Module zebra_network::protocol::external
source ยท Expand description
The external Bitcoin-based protocol. Network protocol types and serialization for the Zcash wire format.
Re-exportsยง
pub use addr::canonical_peer_addr;
pub use addr::canonical_socket_addr;
pub use addr::AddrInVersion;
pub use codec::Codec;
pub use inv::InventoryHash;
pub use inv::MAX_TX_INV_IN_SENT_MESSAGE;
pub use message::Message;
pub use message::VersionMessage;
pub use types::Nonce;
pub use types::Version;
Modulesยง
- addr ๐Node address wire formats. Zcash node address types and serialization for Zcash network messages.
- Randomised test data generation for external protocol types.
- A Tokio codec that transforms an
AsyncRead
into aStream
ofMessage
s. A Tokio codec mapping byte streams to Bitcoin message streams. - inv ๐Inventory items. Inventory items for the Zcash network protocol.
- message ๐An enum of all supported Bitcoin message types. Definitions of network messages.
- Newtype wrappers for primitive types.
Constantsยง
- The maximum length of a Zcash message, in bytes.