diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2020-03-26 11:20:15 +0100 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2020-03-27 14:58:39 +0100 |
commit | 1d05a9d80b1211b47af465ba6958b0ec5a8c33ab (patch) | |
tree | 785b8c6c2c59c022b5ff7763e31f6a6bbe0b5ac4 /src/rpc | |
parent | 86e22d23bb90383971a68ead0666f225ddd632fb (diff) | |
download | bitcoin-1d05a9d80b1211b47af465ba6958b0ec5a8c33ab.tar.xz |
Move DEFAULT_MAX_RAW_TX_FEE_RATE to node/transaction.h
So it can be used in the GUI.
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/rawtransaction.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp index 37e515ddfe..c0e42356c1 100644 --- a/src/rpc/rawtransaction.cpp +++ b/src/rpc/rawtransaction.cpp @@ -39,12 +39,6 @@ #include <univalue.h> -/** Maximum fee rate for sendrawtransaction and testmempoolaccept. - * By default, a transaction with a fee rate higher than this will be rejected - * by the RPCs. This can be overridden with the maxfeerate argument. - */ -static const CFeeRate DEFAULT_MAX_RAW_TX_FEE_RATE{COIN / 10}; - static void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry) { // Call into TxToUniv() in bitcoin-common to decode the transaction hex. |