Before activation, such transactions might not be reliably mined, so don't allow into the mempool.
Please tag for backport to 0.12.1
Before activation, such transactions might not be reliably mined, so don't allow into the mempool.
Please tag for backport to 0.12.1
Before activation, such transactions might not be mined, so don't
allow into the mempool.
utACK
utACK da5fdbb3a2778523cce70d635c1aa2b31a693bc6
tACK da5fdbb
1024 | @@ -1025,6 +1025,14 @@ bool AcceptToMemoryPoolWorker(CTxMemPool& pool, CValidationState& state, const C 1025 | if (fRequireStandard && !IsStandardTx(tx, reason)) 1026 | return state.DoS(0, false, REJECT_NONSTANDARD, reason); 1027 | 1028 | + // Don't relay version 2 transactions until CSV is active, and we can be 1029 | + // sure that such transactions will be mined (unless we're on 1030 | + // -testnet/-regtest). 1031 | + const CChainParams& chainparams = Params();
Can you move this to the top of the function (other parts of the function before this also call Params() and could use the variable in the future)?
Nothing above in this function calls Params(); I guess I didn't check the functions called from here to see if they call Params(), but can we please fix that later when we change those functions? This has many ACKs now and is holding up 0.12.1.
Sorry, I was in another branch, You are right for master. If you need to change the code for any other reason, I would appreciate moving this line too though.
tACK da5fdbb
utACK da5fdbb3a2778523cce70d635c1aa2b31a693bc6
utACK da5fdbb
This was backported as 46898e7. Removing label