Crate snarkos_rpc[][src]

Modules

Logic for instantiating the RPC server.

The generated client module.

Implementation of public RPC endpoints.

Implementation of private RPC endpoints that require authentication.

Definition of the public and private RPC endpoints.

Structures for RPC endpoint requests and responses.

Structs

Returned value for the getblock rpc call

Returned value for the getblocktemplate rpc call

Output for the createrawtransaction rpc call

Input for the decryptrecord rpc call

RPC metadata for encoding authentication

Returned value for the getnodeinfo rpc call

Returned value for the getpeerinfo rpc call

Record payload data

Returned value for the decoderawrecord rpc call

Output for the createaccount rpc call

Defines the authentication format for accessing private endpoints on the RPC server

The Client.

Implements JSON-RPC HTTP endpoint functions for a node. The constructor is given Arc::clone() copies of all needed node components.

Returned value for the gettransaction rpc call

Input for the createrawtransaction rpc call

Additional metadata included with a transaction response

Recipient of a transaction

Traits

Definition of private RPC endpoints that require authentication.

Definition of public RPC endpoints.

Functions