diff options
author | Alex Morcos <morcos@chaincode.com> | 2017-01-19 22:07:56 -0500 |
---|---|---|
committer | Alex Morcos <morcos@chaincode.com> | 2017-03-03 16:50:19 -0500 |
commit | f8380054442d8aca4999277fe7617067edf231b9 (patch) | |
tree | 4902b33ac7885e0445adace815b214d1f18e9ccc /src/txmempool.h | |
parent | ad727f4eaf1cb3ed7a0e340f690bd804299e698c (diff) |
No longer allow "free" transactions
Remove -limitfreerelay and always enforce minRelayTxFee in the mempool (except from disconnected blocks)
Remove -relaypriority, the option was only used for the ability to allow free transactions to be relayed regardless of their priority. Both notions no longer apply.
Diffstat (limited to 'src/txmempool.h')
-rw-r--r-- | src/txmempool.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index 4af85195c8..9af65bd077 100644 --- a/src/txmempool.h +++ b/src/txmempool.h @@ -30,18 +30,6 @@ class CAutoFile; class CBlockIndex; -inline double AllowFreeThreshold() -{ - return COIN * 144 / 250; -} - -inline bool AllowFree(double dPriority) -{ - // Large (in bytes) low-priority (new, small-coin) transactions - // need a fee. - return dPriority > AllowFreeThreshold(); -} - /** Fake height value used in CCoins to signify they are only in the memory pool (since 0.8) */ static const unsigned int MEMPOOL_HEIGHT = 0x7FFFFFFF; |