aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@chaincode.com>2015-12-02 11:04:15 -0500
committerSuhas Daftuar <sdaftuar@chaincode.com>2015-12-02 12:59:30 -0500
commit901b01d674031f9aca717deeb372bafa160a24af (patch)
tree0b7c26545730cb10c9887e694a50ad359fb13d44 /src/main.h
parent27fae3484cdb21b0d24face833b966fce5926be5 (diff)
downloadbitcoin-901b01d674031f9aca717deeb372bafa160a24af.tar.xz
Remove GetMinRelayFee
One test in AcceptToMemoryPool was to compare a transaction's fee agains the value returned by GetMinRelayFee. This value was zero for all small transactions. For larger transactions (between DEFAULT_BLOCK_PRIORITY_SIZE and MAX_STANDARD_TX_SIZE), this function was preventing low fee transactions from ever being accepted. With this function removed, we will now allow transactions in that range with fees (including modifications via PrioritiseTransaction) below the minRelayTxFee, provided that they have sufficient priority.
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h
index 19623f4d96..d813f01ba7 100644
--- a/src/main.h
+++ b/src/main.h
@@ -293,8 +293,6 @@ struct CDiskTxPos : public CDiskBlockPos
};
-CAmount GetMinRelayFee(const CTransaction& tx, unsigned int nBytes, bool fAllowFree);
-
/**
* Count ECDSA signature operations the old-fashioned (pre-0.6) way
* @return number of sigops this transaction's outputs will produce when spent