bitcoind_json_rpc_client/client_sync/v19/
mod.rs

1// SPDX-License-Identifier: CC0-1.0
2
3//! A JSON-RPC client for testing against Bitcoin Core `v0.19.1`.
4//!
5//! We ignore option arguments unless they effect the shape of the returned JSON data.
6
7mod wallet;
8
9use bitcoin::address::{Address, NetworkChecked};
10use bitcoin::{Amount, Block, BlockHash, Txid};
11
12use crate::client_sync::{handle_defaults, into_json};
13use crate::json::v19::*;
14
15crate::define_jsonrpc_minreq_client!("v19");
16
17// == Blockchain ==
18crate::impl_client_v17__getblockchaininfo!();
19crate::impl_client_v17__getbestblockhash!();
20crate::impl_client_v17__getblock!();
21crate::impl_client_v17__gettxout!();
22
23// == Control ==
24crate::impl_client_v17__stop!();
25
26// == Generating ==
27crate::impl_client_v17__generatetoaddress!();
28
29// == Network ==
30crate::impl_client_v17__getnetworkinfo!();
31crate::impl_client_check_expected_server_version!({ [190100] });
32
33// == Rawtransactions ==
34crate::impl_client_v17__sendrawtransaction!();
35
36// == Wallet ==
37crate::impl_client_v17__createwallet!();
38crate::impl_client_v17__unloadwallet!();
39crate::impl_client_v17__loadwallet!();
40crate::impl_client_v17__getnewaddress!();
41crate::impl_client_v17__getbalance!();
42crate::impl_client_v19__getbalances!();
43crate::impl_client_v17__sendtoaddress!();
44crate::impl_client_v17__gettransaction!();
45
46pub use crate::client_sync::v17::AddressType;