Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit 5e3ad01

Browse files
committed
Improve rendered HTML docs
1 parent afd5117 commit 5e3ad01

File tree

9 files changed

+940
-442
lines changed

9 files changed

+940
-442
lines changed

src/json/v17/blockchain/.#mod.rs

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/json/v17/mod.rs

Lines changed: 292 additions & 163 deletions
Large diffs are not rendered by default.

src/json/v18/mod.rs

Lines changed: 295 additions & 138 deletions
Large diffs are not rendered by default.

src/json/v22/blockchain/mod.rs

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,8 @@
11
// SPDX-License-Identifier: CC0-1.0
22

3-
//! Types for methods found under the blockchain section of the API docs.
3+
//! The JSON-RPC API for Bitcoin Core v22.1 - blockchain.
44
//!
5-
//! The JSON-RPC API for Bitcoin Core v22.1
6-
//!
7-
//! == Blockchain ==
8-
//!
9-
//! - [x] getbestblockhash
10-
//! - [x] getblock "blockhash" ( verbosity )
11-
//! - [x] getblockchaininfo
12-
//! - [ ] getblockcount
13-
//! - [ ] getblockfilter "blockhash" ( "filtertype" )
14-
//! - [ ] getblockhash height
15-
//! - [ ] getblockheader "blockhash" ( verbose )
16-
//! - [ ] getblockstats hash_or_height ( stats )
17-
//! - [ ] getchaintips
18-
//! - [ ] getchaintxstats ( nblocks "blockhash" )
19-
//! - [ ] getdifficulty
20-
//! - [ ] getmempoolancestors "txid" ( verbose )
21-
//! - [ ] getmempooldescendants "txid" ( verbose )
22-
//! - [ ] getmempoolentry "txid"
23-
//! - [ ] getmempoolinfo
24-
//! - [ ] getrawmempool ( verbose mempool_sequence )
25-
//! - [ ] gettxout "txid" n ( include_mempool )
26-
//! - [ ] gettxoutproof ["txid",...] ( "blockhash" )
27-
//! - [ ] gettxoutsetinfo ( "hash_type" hash_or_height use_index )
28-
//! - [ ] preciousblock "blockhash"
29-
//! - [ ] pruneblockchain height
30-
//! - [ ] savemempool
31-
//! - [ ] scantxoutset "action" ( [scanobjects,...] )
32-
//! - [ ] verifychain ( checklevel nblocks )
33-
//! - [ ] verifytxoutproof "proof"
5+
//! Types for methods found under the `== Blockchain ==` section of the API docs.
346
357
mod convert;
368

@@ -39,7 +11,6 @@ use std::collections::BTreeMap;
3911
use serde::{Deserialize, Serialize};
4012

4113
#[rustfmt::skip] // Keep public re-exports separate.
42-
pub use crate::json::v17::blockchain::{GetBestBlockHash, GetBlockVerbosityZero, GetBlockVerbosityOne, GetTxOut};
4314

4415
/// Result of JSON-RPC method `getblockchaininfo`.
4516
///

src/json/v22/generating/convert.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.

src/json/v22/generating/mod.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,7 @@
11
// SPDX-License-Identifier: CC0-1.0
22

3-
//! Types for methods found under the wallet section of the API docs.
3+
//! The JSON-RPC API for Bitcoin Core v22.1 - generating.
44
//!
5-
//! The JSON-RPC API for Bitcoin Core v22.1:
6-
//!
7-
//! == Generating ==
8-
//!
9-
//! - [ ] generateblock "output" ["rawtx/txid",...]
10-
//! - [x] generatetoaddress nblocks "address" ( maxtries )
11-
//! - [ ] generatetodescriptor num_blocks "descriptor" ( maxtries )
5+
//! Types for methods found under the `== Generating ==` section of the API docs.
126
13-
mod convert; // Currently unused.
147

15-
pub use crate::json::v17::GenerateToAddress;

0 commit comments

Comments
 (0)