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.
- arbitrary
- Randomised test data generation for external protocol types.
- codec
- A Tokio codec that transforms an
AsyncReadinto aStreamofMessages. 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.
- types
- Newtype wrappers for primitive types.
Constantsยง
- MAX_
PROTOCOL_ MESSAGE_ LEN - The maximum length of a Zcash message, in bytes.