Expand description
Nakamoto’s client library.
Re-exports§
pub use crate::handle;
pub use crossbeam_channel as chan;
Modules§
- event
- Events generated by the peer-to-peer system.
- handle
- Node handles are created from nodes by users of the library, to communicate with the underlying protocol instance.
- network
- Bitcoin peer network. Eg. Mainnet.
- traits
- Client traits re-exports.
Structs§
- Client
- A light-client process.
- Client
Runner - Runs a pre-loaded client.
- Config
- Client configuration.
- Handle
- An instance of
handle::Handle
forClient
. - Hooks
- Holds functions that are used to hook into or alter protocol behavior.
- Limits
- Configured limits.
- Peer
- A remote peer.
- Service
- Client service. Wraps a state machine and handles decoding and encoding of network messages.
Enums§
- Command
- A command or request that can be sent to the protocol.
- Command
Error - A generic error resulting from processing a
Command
. - Domain
- Communication domain of a network socket.
- Error
- A client error.
- Event
- Event emitted by the client, after the “loading” phase is over.
- Link
- Link direction of the peer connection.
- Loading
- Event emitted by the client during the “loading” phase.
- Loading
Handler - Configuration for loading event handling.
- Network
- Bitcoin peer network.