0.19: Add txids with non-standard inputs to reject filter #19681
pull sdaftuar wants to merge 2 commits into bitcoin:0.19 from sdaftuar:2020-08-reject-unknown-wit-0.19 changing 5 files +36 −8-
sdaftuar commented at 3:33 pm on August 7, 2020: memberBackport of #19620 to 0.19.
-
DrahtBot added the label P2P on Aug 7, 2020
-
DrahtBot added the label Tests on Aug 7, 2020
-
DrahtBot added the label TX fees and policy on Aug 7, 2020
-
DrahtBot added the label Validation on Aug 7, 2020
-
sdaftuar force-pushed on Aug 7, 2020
-
sdaftuar force-pushed on Aug 7, 2020
-
sdaftuar force-pushed on Aug 7, 2020
-
fanquake added the label Backport on Aug 7, 2020
-
laanwj commented at 2:50 pm on August 9, 2020: memberAs for the appveyor error I’m not sure I think you either need fae0e93836c0aa96b9274c69651b02cbf6352dc1 (#19444) and/or faf5e256c50a3fe5f946daeab3fe68a894caad95 (#18640).
-
sdaftuar force-pushed on Aug 10, 2020
-
jnewbery commented at 9:26 am on August 11, 2020: memberutACK the last two commits in 568007cffe0c3998d5b4b20e16d4ae6fb779ed43
-
DrahtBot added the label Needs rebase on Aug 11, 2020
-
Add txids with non-standard inputs to reject filter
Our policy checks for non-standard inputs depend only on the non-witness portion of a transaction: we look up the scriptPubKey of the input being spent from our UTXO set (which is covered by the input txid), and the p2sh checks only rely on the scriptSig portion of the input. Consequently it's safe to add txids of transactions that fail these checks to the reject filter, as the witness is irrelevant to the failure. This is helpful for any situation where we might request the transaction again via txid (either from txid-relay peers, or if we might fetch the transaction via txid due to parent-fetching of orphans). Further, in preparation for future witness versions being deployed on the network, ensure that WITNESS_UNKNOWN transactions are rejected in AreInputsStandard(), so that transactions spending v1 (or greater) witness outputs will fall into this category of having their txid added to the reject filter. Github-Pull: #19620 Rebased-From: 7989901c7eb62ca28b3d1e5d5831041a7267e495
-
test addition of unknown segwit spends to txid reject filter
Github-Pull: #19620 Rebased-From: 9f88ded82b2898ca63d44c08072f1ba52f0e18d7
-
sdaftuar force-pushed on Aug 11, 2020
-
DrahtBot removed the label Needs rebase on Aug 11, 2020
-
MarcoFalke removed the label Tests on Aug 23, 2020
-
MarcoFalke removed the label Backport on Aug 23, 2020
-
MarcoFalke removed the label P2P on Aug 23, 2020
-
MarcoFalke removed the label TX fees and policy on Aug 23, 2020
-
MarcoFalke removed the label Validation on Aug 23, 2020
-
DrahtBot added the label Backport on Aug 23, 2020
-
instagibbs commented at 6:15 pm on August 24, 2020: member
-
MarcoFalke added this to the milestone 0.19.2 on Aug 24, 2020
-
jnewbery commented at 7:20 pm on August 24, 2020: memberutACK 52c3bec1ba
-
jonasschnelli approved
-
jonasschnelli commented at 7:07 am on August 28, 2020: contributorutACK 52c3bec1bad4fc602a3911b44de48c6b0dbdfd25 Compared with #19620
-
jonasschnelli merged this on Aug 28, 2020
-
jonasschnelli closed this on Aug 28, 2020
-
MarkLTZ referenced this in commit e7c1c42d59 on Nov 8, 2020
-
DrahtBot locked this on Feb 15, 2022
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-12-19 00: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-12-19 00: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