aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/rawtransaction.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-03-20 13:15:05 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-03-19 17:06:43 -0400
commitfa1ad200d378fc3a4dc4c54214965d3c852db7d7 (patch)
treed2167474443ee93d66277d6503e0420d8b7bbe3c /src/rpc/rawtransaction.cpp
parentfa96d7642178b5472b7aa76de9c8b86e7b9cde54 (diff)
doc: Add release notes for 15620
Diffstat (limited to 'src/rpc/rawtransaction.cpp')
-rw-r--r--src/rpc/rawtransaction.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rpc/rawtransaction.cpp b/src/rpc/rawtransaction.cpp
index 57754ce854..effc6b61a8 100644
--- a/src/rpc/rawtransaction.cpp
+++ b/src/rpc/rawtransaction.cpp
@@ -39,6 +39,10 @@
#include <univalue.h>
+/** High fee for sendrawtransaction and testmempoolaccept.
+ * By default, transaction with a fee higher than this will be rejected by the
+ * RPCs. This can be overriden with the maxfeerate argument.
+ */
constexpr static CAmount DEFAULT_MAX_RAW_TX_FEE{COIN / 10};
static void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry)