Crate bitcoin_remote

Source

Structs§

JSONRPCRequest
RPCConvertParam
RPCConvertTable
RPCErrorCode
RPC_CVT_TABLE

Enums§

HTTPStatusCode
| HTTP status codes |
JSONRPCRequestMode

Constants§

COOKIEAUTH_FILE
| Default name for auth cookie file |
COOKIEAUTH_USER
| Username used when cookie authentication | is in use (arbitrary, only for recognizability | in debugging/logging purposes) |
vRPCConvertParams
| Specify a (method, idx, name) here if | the argument is a non-string RPC argument | and needs to be converted from JSON. | | ———– | @note | | Parameter indexes start from 0. |

Functions§

delete_auth_cookie
| Delete RPC authentication cookie from | disk |
generate_auth_cookie
| Generate a new RPC authentication cookie | and write it to disk |
get_auth_cookie
| Read the RPC authentication cookie | from disk |
get_auth_cookie_file
| Get name of RPC authentication cookie | file |
jsonrpc_error
jsonrpc_process_batch_reply
| Parse JSON-RPC batch reply into a vector |
jsonrpc_reply
jsonrpc_reply_obj
jsonrpc_request_obj
| JSON-RPC protocol. | | Bitcoin speaks version 1.0 for maximum | compatibility, but uses JSON-RPC 1.1/2.0 | standards for parts of the 1.0 standard | that were unspecified (HTTP errors | and contents of ‘error’). | | 1.0 spec: http://json-rpc.org/wiki/specification | | 1.2 spec: http://jsonrpc.org/historical/json-rpc-over-http.html |