cuprate/rpc
hinto-janai ecbb5ad3dc
rpc: implement /json_rpc types (#219)
* `serde/epee` feature flags

* modify type generator macros

* add `defaults.rs`

* add `free.rs`

* add `misc` module

* modify `base.rs`, `contants.rs`

* remove `binary_string.rs`, `status.rs`

* fix macro usage

* impl `json.rs`

* base: re-add `AccessRequestBase`

* fix default functions

* tx_entry: fix link

* json: fix default functions

* json: fix `on_get_block_hash`, `submit_block`

* json: `status` -> `block_id`

* json: fix `SubmitBlockRequest`

* json: fix `OnGetBlockHashResponse`

The serialized `result` field will come from our `json-rpc` crate,
so the inner type should be a `transparent` string.

* json: `Response` -> `ResponseBase` for `SubmitBlock`

* Update rpc/types/src/json.rs

Co-authored-by: Boog900 <boog900@tutanota.com>

* json: fix `SubmitBlockRequest` doc test

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-07-10 21:12:40 +01:00
..
interface rpc: start cuprate-rpc-types (#147) 2024-06-26 22:24:05 +01:00
json-rpc workspace: enforce crate/directory naming scheme (#164) 2024-06-24 02:30:47 +01:00
types rpc: implement /json_rpc types (#219) 2024-07-10 21:12:40 +01:00
README.md rpc: add initial crates (#146) 2024-06-05 15:35:08 +01:00

RPC

This directory contains Monero RPC types and Cuprate RPC's libraries.