File tree 3 files changed +14
-12
lines changed
client/src/client_sync/v23
3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 8
8
//! All macros require `Client` to be in scope.
9
9
//!
10
10
//! See or use the `define_jsonrpc_minreq_client!` macro to define a `Client`.
11
+
11
12
/// Implements Bitcoin Core JSON-RPC API method `savemempool`
12
13
#[ macro_export]
13
14
macro_rules! impl_client_v23__savemempool {
Original file line number Diff line number Diff line change @@ -283,24 +283,24 @@ fn blockchain__savemempool() {
283
283
let ( _addr, _txid) = node. create_mempool_transaction ( ) ;
284
284
285
285
#[ 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" ,
292
292
) ) ]
293
293
{
294
294
node. client . save_mempool ( ) . expect ( "savemempool" ) ;
295
295
}
296
296
297
297
#[ 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" ,
304
304
) ) ) ]
305
305
{
306
306
let _: Result < SaveMempool , _ > = node. client . save_mempool ( ) ;
Original file line number Diff line number Diff line change 3
3
//! The JSON-RPC API for Bitcoin Core `v23` - blockchain.
4
4
//!
5
5
//! Types for methods found under the `== Blockchain ==` section of the API docs.
6
+
6
7
use serde:: { Deserialize , Serialize } ;
7
8
8
9
/// Result of JSON-RPC method `savemempool`.
You can’t perform that action at this time.
0 commit comments