aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2013-09-22 16:44:35 -0700
committerGavin Andresen <gavinandresen@gmail.com>2013-09-22 16:44:35 -0700
commitff4e3e63e776fb320b87d2506d911d5a7fa757a4 (patch)
tree7664d173e547e9fc616ab26ea17d05c77b607dd8 /src/main.h
parentc2f41872638aaa097c2d0aec943ae8deeea667ad (diff)
parent9d14e689c86a395c11a530767db4ddf895446ba8 (diff)
Merge pull request #2949 from gmaxwell/fewer_fee_footguns
[raw] reject insanely high fees by default in sendrawtransaction
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 0355214648..25a6d42272 100644
--- a/src/main.h
+++ b/src/main.h
@@ -1086,7 +1086,7 @@ public:
std::map<uint256, CTransaction> mapTx;
std::map<COutPoint, CInPoint> mapNextTx;
- bool accept(CValidationState &state, const CTransaction &tx, bool fLimitFree, bool* pfMissingInputs);
+ bool accept(CValidationState &state, const CTransaction &tx, bool fLimitFree, bool* pfMissingInputs, bool fRejectInsaneFee = false);
bool addUnchecked(const uint256& hash, const CTransaction &tx);
bool remove(const CTransaction &tx, bool fRecursive = false);
bool removeConflicts(const CTransaction &tx);