Remove BIP30 enforcement, as it is impossible to trigger since BIP34 #6916
pull sipa wants to merge 1 commits into bitcoin:master from sipa:nobip30 changing 1 files +0 −24-
sipa commented at 7:25 pm on October 30, 2015: memberBIP34 guarantees that every coinbase transaction (and thus every transaction derived from it) has a unique txid, assuming no double-SHA256 collisions. @morcos discovered that BIP30 verification always requires access to the database underlying the chainstate cache, as we don’t do negative caching. As BIP30 is the only thing that would need such a negative cache in consensus logic, better to just remove it.
-
Remove BIP30 enforcement, as it is impossible to trigger since BIP34
BIP34 guarantees that every coinbase transaction (and thus every transaction derived from it) has a unique txid, assuming no double-SHA256 collisions. Alex Morcos discovered that BIP30 verification always requires access to the database underlying the chainstate cache, as we don't do negative caching. As BIP30 is the only thing that would need such a negative cache in consensus logic, better to just remove it.
-
gmaxwell commented at 7:31 pm on October 30, 2015: contributorHow does this avoid corruption during initial block download? I give you a run of early blocks that perform overwrites prior to BIP34; eventually you discover that chain is shorter than the good one and try to reorganize it out. Oops: You can’t.
-
sipa commented at 7:37 pm on October 30, 2015: memberOops.
-
sipa closed this on Oct 30, 2015
-
DrahtBot locked this on Sep 8, 2021
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-17 18: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-17 18: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