Introduce -incrementalrelayfee

This commit is contained in:
Alex Morcos
2016-12-13 13:43:35 -05:00
parent daec955fd6
commit 7b1add3c28
5 changed files with 24 additions and 11 deletions

View File

@@ -206,6 +206,7 @@ bool IsWitnessStandard(const CTransaction& tx, const CCoinsViewCache& mapInputs)
return true;
}
CFeeRate incrementalRelayFee = CFeeRate(DEFAULT_INCREMENTAL_RELAY_FEE);
unsigned int nBytesPerSigOp = DEFAULT_BYTES_PER_SIGOP;
int64_t GetVirtualTransactionSize(int64_t nWeight, int64_t nSigOpCost)