mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Move DEFAULT_MAX_RAW_TX_FEE_RATE to node/transaction.h
So it can be used in the GUI.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user