Skip to main content

Crate confium_daemon

Crate confium_daemon 

Source
Expand description

confiumd — long-running Confium daemon.

Exposes the full Confium API over JSON-RPC 2.0 with length-prefixed framing. Clients connect via TCP or Unix socket.

See TODO.roadmap/16-confiumd-daemon.md for the design and roadmap.

Re-exports§

pub use error::DaemonError;
pub use error::RpcError;
pub use server::Server;

Modules§

dispatch
Method dispatch table.
error
Errors surfaced by the confiumd JSON-RPC daemon.
methods
JSON-RPC method handlers.
protocol
JSON-RPC 2.0 wire types.
server
JSON-RPC server loop.

Macros§

pending_method
Generate an async stub handler that returns an Engine error with the given (method_name, reason) pair.