It has been pointed out that a bug in this function can prevent block template creation. ( #24080 (comment) ) So it seems that the scope of this function is more than "policy". Rename it back to "validation", to partially revert commit fa4e30b0f36f2e7a09db7d30dca9008ed9dbcb35.
doc: Clarify that CheckSequenceLocksAtTip is a validation function #24564
pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2203-docVal-🍡 changing 1 files +1 −1-
MarcoFalke commented at 3:42 PM on March 14, 2022: member
-
glozow commented at 3:46 PM on March 14, 2022: member
Could say "mempool validation helper functions" if your intent is to convey that these are only used for validating transactions being {,re-}added to the mempool.
-
MarcoFalke commented at 3:46 PM on March 14, 2022: member
An alternative follow-up suggested to use check the sequence locks before including a tx in a template. (https://github.com/bitcoin/bitcoin/pull/24080#issuecomment-1065366812)
As that requires reading the utxo set, I am not sure about the performance impact. So I'll leave it for a follow-up.
-
Clarify that CheckSequenceLocksAtTip is a validation function fa86710187
- MarcoFalke force-pushed on Mar 14, 2022
-
MarcoFalke commented at 3:48 PM on March 14, 2022: member
Thx, done.
- DrahtBot added the label Validation on Mar 14, 2022
-
luke-jr commented at 5:28 PM on March 18, 2022: member
Concept NACK: Block template creation IS mere policy.
-
MarcoFalke commented at 9:09 AM on March 19, 2022: member
Maybe we need a separate word to describe block templates that are consensus invalid? It doesn't seem policy nor consensus, so I picked "validation".
- MarcoFalke added the label Docs on Jun 10, 2022
- fanquake requested review from glozow on Aug 5, 2022
-
glozow commented at 3:25 PM on August 8, 2022: member
ACK fa8671018766b2f0e18c94cff3ab2a67c6b3a41d
I agree this is clearer.
- glozow requested review from ajtowns on Aug 8, 2022
-
ajtowns commented at 3:28 AM on August 9, 2022: contributor
ACK fa8671018766b2f0e18c94cff3ab2a67c6b3a41d - looks fine to me
- glozow merged this on Aug 9, 2022
- glozow closed this on Aug 9, 2022
- sidhujag referenced this in commit 89c82d26b8 on Aug 9, 2022
- MarcoFalke deleted the branch on Aug 10, 2022
- bitcoin locked this on Aug 10, 2023