File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 10
10
#include " net.h"
11
11
#include " net_processing.h"
12
12
#include " netbase.h"
13
+ #include " policy/policy.h"
13
14
#include " protocol.h"
14
15
#include " sync.h"
15
16
#include " timedata.h"
@@ -417,6 +418,7 @@ UniValue getnetworkinfo(const JSONRPCRequest& request)
417
418
" ,...\n "
418
419
" ],\n "
419
420
" \" relayfee\" : x.xxxxxxxx, (numeric) minimum relay fee for non-free transactions in " + CURRENCY_UNIT + " /kB\n "
421
+ " \" incrementalfee\" : x.xxxxxxxx, (numeric) minimum fee increment for mempool limiting or BIP 125 replacement in " + CURRENCY_UNIT + " /kB\n "
420
422
" \" localaddresses\" : [ (array) list of local addresses\n "
421
423
" {\n "
422
424
" \" address\" : \" xxxx\" , (string) network address\n "
@@ -447,6 +449,7 @@ UniValue getnetworkinfo(const JSONRPCRequest& request)
447
449
}
448
450
obj.push_back (Pair (" networks" , GetNetworksInfo ()));
449
451
obj.push_back (Pair (" relayfee" , ValueFromAmount (::minRelayTxFee.GetFeePerK ())));
452
+ obj.push_back (Pair (" incrementalfee" , ValueFromAmount (::incrementalRelayFee.GetFeePerK ())));
450
453
UniValue localAddresses (UniValue::VARR);
451
454
{
452
455
LOCK (cs_mapLocalHost);
Original file line number Diff line number Diff line change @@ -2652,8 +2652,8 @@ UniValue bumpfee(const JSONRPCRequest& request)
2652
2652
" By default, the new fee will be calculated automatically using estimatefee.\n "
2653
2653
" The user can specify a confirmation target for estimatefee.\n "
2654
2654
" Alternatively, the user can specify totalFee, or use RPC setpaytxfee to set a higher fee rate.\n "
2655
- " At a minimum, the new fee rate must be high enough to pay a new relay fee over the original fee \n "
2656
- " to enter the node's mempool.\n "
2655
+ " At a minimum, the new fee rate must be high enough to pay an additional new relay fee (incrementalfee \n "
2656
+ " returned by getnetworkinfo) to enter the node's mempool.\n "
2657
2657
" \n Arguments:\n "
2658
2658
" 1. txid (string, required) The txid to be bumped\n "
2659
2659
" 2. options (object, optional)\n "
You can’t perform that action at this time.
0 commit comments