From 5ce06c69d668dd8937fb4c33948db4905ed73cbf Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Wed, 11 Sep 2024 14:27:24 +1000 Subject: [PATCH] v17: Fix docs Somehow these got lost, add the docs for recent v17 blockchain stuff. --- json/src/v17/mod.rs | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/json/src/v17/mod.rs b/json/src/v17/mod.rs index d0cd1f7..2dd14ce 100644 --- a/json/src/v17/mod.rs +++ b/json/src/v17/mod.rs @@ -3,9 +3,14 @@ //! JSON-RPC types for `bitcoind v0.17.1`. //! //! These structs model the JSON data returned by the JSON-RPC API. They use stdlib types (or custom -//! types), for more concrete types see [`crate::model`]. +//! types) and where necessary implement an `into_model` function to convert the type to a +//! [`crate::model`] type of the same name. The types in this module are version specific, the types +//! in the `model` module are version non-specific and are strongly typed using `rust-bitcoin`. //! -//! A `x` marks methods that are implemented _and_ tested. +//! Key: +//! - `[ ]` means not yet done. +//! - `[x]` marks means implemented _and_ tested. +//! - `[-]` means it was considered and intentionally not done. //! //! **== Blockchain ==** //! - [x] `getbestblockhash` @@ -18,20 +23,20 @@ //! - [x] `getchaintips` //! - [x] `getchaintxstats ( nblocks blockhash )` //! - [x] `getdifficulty` -//! - [ ] `getmempoolancestors txid (verbose)` -//! - [ ] `getmempooldescendants txid (verbose)` -//! - [ ] `getmempoolentry txid` -//! - [ ] `getmempoolinfo` -//! - [ ] `getrawmempool ( verbose )` -//! - [ ] `gettxout "txid" n ( include_mempool )` -//! - [ ] `gettxoutproof ["txid",...] ( blockhash )` -//! - [ ] `gettxoutsetinfo` -//! - [ ] `preciousblock "blockhash"` -//! - [ ] `pruneblockchain` -//! - [ ] `savemempool` -//! - [ ] `scantxoutset ( )` -//! - [ ] `verifychain ( checklevel nblocks )` -//! - [ ] `verifytxoutproof "proof"` +//! - [x] `getmempoolancestors txid (verbose)` +//! - [x] `getmempooldescendants txid (verbose)` +//! - [x] `getmempoolentry txid` +//! - [x] `getmempoolinfo` +//! - [x] `getrawmempool ( verbose )` +//! - [x] `gettxout "txid" n ( include_mempool )` +//! - [x] `gettxoutproof ["txid",...] ( blockhash )` +//! - [x] `gettxoutsetinfo` +//! - [x] `preciousblock "blockhash"` +//! - [-] `pruneblockchain` +//! - [-] `savemempool` +//! - [-] `scantxoutset ( )` +//! - [x] `verifychain ( checklevel nblocks )` +//! - [-] `verifytxoutproof "proof"` //! //! **== Control ==** //! - [x] `getmemoryinfo ("mode")`