Skip to content

Commit 34c4c69

Browse files
authored
Merge pull request #1 from tcharding/11-15-blockchain
v17: Fix docs for EPIC FAIL
2 parents adc06d5 + 4c2c766 commit 34c4c69

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

contrib/crates.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# shellcheck disable=SC2148
33

44
# Crates in this workspace to test.
5-
CRATES=("json" "client" "jsonrpc")
5+
CRATES=("types" "client" "jsonrpc")

integration_test/tests/v17_api.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ mod blockchain {
1919
impl_test_v17__getchaintips!();
2020
impl_test_v17__getchaintxstats!();
2121
impl_test_v17__getdifficulty!();
22+
// impl_test_v17__getmempoolancestors!(); // Contains `todo!()`.
23+
// impl_test_v17__gettxout!(); // Contains `todo!()`.
2224
}
2325

2426
// == Control ==

types/src/v17/mod.rs

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
//!
1010
//! Key:
1111
//! - `[ ]` Not yet done.
12+
//! - `[I]` Implemented _and_ tested.
1213
//! - `[x]` Implemented _and_ tested.
1314
//! - `[-]` Intentionally not done, typically because method does not return anything, returns
1415
//! a single integer, or is deprecated.
@@ -24,19 +25,19 @@
2425
//! - [x] `getchaintips`
2526
//! - [x] `getchaintxstats ( nblocks blockhash )`
2627
//! - [x] `getdifficulty`
27-
//! - [x] `getmempoolancestors txid (verbose)`
28-
//! - [x] `getmempooldescendants txid (verbose)`
29-
//! - [x] `getmempoolentry txid`
30-
//! - [x] `getmempoolinfo`
31-
//! - [x] `getrawmempool ( verbose )`
32-
//! - [x] `gettxout "txid" n ( include_mempool )`
33-
//! - [x] `gettxoutproof ["txid",...] ( blockhash )`
34-
//! - [x] `gettxoutsetinfo`
35-
//! - [x] `preciousblock "blockhash"`
28+
//! - [ ] `getmempoolancestors txid (verbose)`
29+
//! - [ ] `getmempooldescendants txid (verbose)`
30+
//! - [ ] `getmempoolentry txid`
31+
//! - [ ] `getmempoolinfo`
32+
//! - [ ] `getrawmempool ( verbose )`
33+
//! - [ ] `gettxout "txid" n ( include_mempool )`
34+
//! - [ ] `gettxoutproof ["txid",...] ( blockhash )`
35+
//! - [ ] `gettxoutsetinfo`
36+
//! - [ ] `preciousblock "blockhash"`
3637
//! - [-] `pruneblockchain`
3738
//! - [-] `savemempool`
3839
//! - [-] `scantxoutset <action> ( <scanobjects> )`
39-
//! - [x] `verifychain ( checklevel nblocks )`
40+
//! - [ ] `verifychain ( checklevel nblocks )`
4041
//! - [-] `verifytxoutproof "proof"`
4142
//!
4243
//! **== Control ==**

types/src/v19/blockchain.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ use serde::{Deserialize, Serialize};
1414

1515
use crate::{model, NumericError};
1616

17-
#[rustfmt::skip] // Keep public re-exports separate.
18-
1917
/// Result of JSON-RPC method `getblockchaininfo`.
2018
///
2119
/// Method call: `getblockchaininfo`

0 commit comments

Comments
 (0)