[−][src]Crate snarkos_rpc
Modules
gen_client | The generated client module. |
rpc_impl | Implementation of public RPC endpoints. |
rpc_impl_protected | Implementation of private RPC endpoints that require authentication. |
rpc_server | Logic for instantiating the RPC server. |
rpc_trait | Definition of the public and private RPC endpoints. |
rpc_types | Structures for RPC endpoint requests and responses. |
Structs
BlockInfo | Returned value for the |
BlockTemplate | Returned value for the |
CreateRawTransactionOuput | Output for the |
DecryptRecordInput | Input for the |
Meta | RPC metadata for encoding authentication |
PeerInfo | Returned value for the |
RPCRecordPayload | Record payload data |
RecordInfo | Returned value for the |
RpcAccount | Output for the |
RpcCredentials | Defines the authentication format for accessing private endpoints on the RPC server |
RpcImpl | Implements JSON-RPC HTTP endpoint functions for a node. The constructor is given Arc::clone() copies of all needed node components. |
TransactionInfo | Returned value for the |
TransactionInputs | Input for the |
TransactionMetadata | Additional metadata included with a transaction response |
TransactionRecipient | Recipient of a transaction |
Traits
ProtectedRpcFunctions | Definition of private RPC endpoints that require authentication. |
RpcFunctions | Definition of public RPC endpoints. |
Functions
start_rpc_server | Starts a local JSON-RPC HTTP server at rpc_port in a new thread. Rpc failures will error on the thread level but not affect the main network server. This may be changed in the future to give the node more control of the rpc server. |