Crate nakamoto_client

source ·
Expand description

Nakamoto’s client library.

Re-exports

pub use crossbeam_channel as chan;
pub use crate::handle;

Modules

Events generated by the peer-to-peer system.
Node handles are created from nodes by users of the library, to communicate with the underlying protocol instance.
Bitcoin peer network. Eg. Mainnet.
Client traits re-exports.

Structs

A light-client process.
Runs a pre-loaded client.
Client configuration.
An instance of handle::Handle for Client.
Holds functions that are used to hook into or alter protocol behavior.
Configured limits.
A remote peer.
Client service. Wraps a state machine and handles decoding and encoding of network messages.

Enums

A command or request that can be sent to the protocol.
A generic error resulting from processing a Command.
Communication domain of a network socket.
A client error.
Event emitted by the client, after the “loading” phase is over.
Link direction of the peer connection.
Event emitted by the client during the “loading” phase.
Configuration for loading event handling.
Bitcoin peer network.