File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed
client/src/client_sync/v23 Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 88//! All macros require `Client` to be in scope.
99//!
1010//! See or use the `define_jsonrpc_minreq_client!` macro to define a `Client`.
11+
1112/// Implements Bitcoin Core JSON-RPC API method `savemempool`
1213#[ macro_export]
1314macro_rules! impl_client_v23__savemempool {
Original file line number Diff line number Diff line change @@ -283,24 +283,24 @@ fn blockchain__savemempool() {
283283 let ( _addr, _txid) = node. create_mempool_transaction ( ) ;
284284
285285 #[ cfg( any(
286- feature = "0_17_2 " ,
287- feature = "0_18_1 " ,
288- feature = "0_19_1 " ,
289- feature = "0_20_2 " ,
290- feature = "0_21_2 " ,
291- feature = "22_1"
286+ feature = "v17 " ,
287+ feature = "v18 " ,
288+ feature = "v19 " ,
289+ feature = "v20 " ,
290+ feature = "v21 " ,
291+ feature = "v22" ,
292292 ) ) ]
293293 {
294294 node. client . save_mempool ( ) . expect ( "savemempool" ) ;
295295 }
296296
297297 #[ cfg( not( any(
298- feature = "0_17_2 " ,
299- feature = "0_18_1 " ,
300- feature = "0_19_1 " ,
301- feature = "0_20_2 " ,
302- feature = "0_21_2 " ,
303- feature = "22_1"
298+ feature = "v17 " ,
299+ feature = "v18 " ,
300+ feature = "v19 " ,
301+ feature = "v20 " ,
302+ feature = "v21 " ,
303+ feature = "v22" ,
304304 ) ) ) ]
305305 {
306306 let _: Result < SaveMempool , _ > = node. client . save_mempool ( ) ;
Original file line number Diff line number Diff line change 33//! The JSON-RPC API for Bitcoin Core `v23` - blockchain.
44//!
55//! Types for methods found under the `== Blockchain ==` section of the API docs.
6+
67use serde:: { Deserialize , Serialize } ;
78
89/// Result of JSON-RPC method `savemempool`.
You can’t perform that action at this time.
0 commit comments