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: memberIt 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.
-
glozow commented at 3:46 pm on March 14, 2022: memberCould 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: memberThx, done.
-
DrahtBot added the label Validation on Mar 14, 2022
-
luke-jr commented at 5:28 pm on March 18, 2022: memberConcept NACK: Block template creation IS mere policy.
-
MarcoFalke commented at 9:09 am on March 19, 2022: memberMaybe 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: contributorACK 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
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:12 UTC
This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-21 09:12 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me