Commit graph

9 commits

Author SHA1 Message Date
hinto.janai
fa1e5cafaf
doc fixes
Some checks failed
Audit / audit (push) Has been cancelled
Deny / audit (push) Has been cancelled
2024-07-08 17:08:21 -04:00
hinto.janai
0ce957389b
separate misc module 2024-07-08 16:49:29 -04:00
hinto.janai
e60afa53fb
bin: GetBlocks, GetBlocksByHeight, GetHashes, GetOutputIndexes 2024-07-07 16:44:11 -04:00
hinto.janai
3557ee63bf
add misc module, start bin and other 2024-07-07 16:29:24 -04:00
hinto.janai
57e9bd1efa
document private items 2024-07-05 20:35:52 -04:00
hinto.janai
e19dfb40ee
json: add GetTransactionPoolBacklog, GetOutputDistribution 2024-07-04 17:33:03 -04:00
hinto.janai
c7ec8c7d9b
rpc: fix doc links 2024-07-01 20:58:15 -04:00
hinto.janai
161eeb7be9
rpc: add/doc feature flags 2024-07-01 20:52:57 -04:00
hinto-janai
e405786a73
rpc: start cuprate-rpc-types (#147)
* rpc: add `monero-rpc-types`

* lib.rs: add lints

* add base files, deps

* fix macro generation, doc test

* add `strum`, add `misc` module

* document struct generation macro

* add `GetHeight`

* lib.rs: create re-export macro

* macro changes, add few more types

* docs

* `monero-rpc-types` -> `cuprate-rpc-types`

* fix modules

* specify commit in macro, add () type aliases

* macro docs, fixes

* add `Status::Other(String)`

* add TODO for `strum`

* Update rpc/types/Cargo.toml

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

* add `BinaryString`

* add `ResponseBase`

* add `CORE_RPC_*` constants

* fix status; use `CORE_RPC_*` constants

* cargo.toml: add `epee_encoding`

* rpc: add epee_encoding impl for `Status`

* macro: add epee_encoding for every type

* remove `strum`

* add response bases

* add `CORE_RPC_STATUS_UNKNOWN`

* add response/request bases for epee

* create `base` module

* use different type for macro example

* move base / root types around

* docs, status serde test

* status: use `Status::Unknown` for `epee_default_value`

* json: add missing fields to `GetBlockTemplateRequest`

not sure I missed these

cc73fe7116/src/rpc/core_rpc_server_commands_defs.h (L947-L950)

---------

Co-authored-by: Boog900 <boog900@tutanota.com>
2024-06-26 22:24:05 +01:00