aboutsummaryrefslogtreecommitdiff
path: root/src/secp256k1/COPYING
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-08-07 07:14:31 +0800
committerfanquake <fanquake@gmail.com>2020-08-07 07:34:27 +0800
commit6d8543504d8c5bde1d12a3c60407dee44d2c8e11 (patch)
treefc0f41a1e594ddcd7d01c5341e135003538ee0fd /src/secp256k1/COPYING
parent82127d27c9001eee3eb28df67ce2e6eace620423 (diff)
parent9f88ded82b2898ca63d44c08072f1ba52f0e18d7 (diff)
Merge #19620: Add txids with non-standard inputs to reject filter
9f88ded82b2898ca63d44c08072f1ba52f0e18d7 test addition of unknown segwit spends to txid reject filter (Gregory Sanders) 7989901c7eb62ca28b3d1e5d5831041a7267e495 Add txids with non-standard inputs to reject filter (Suhas Daftuar) Pull request description: 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. ACKs for top commit: ajtowns: ACK 9f88ded82b2898ca63d44c08072f1ba52f0e18d7 - code review jnewbery: Code review ACK 9f88ded82b2898ca63d44c08072f1ba52f0e18d7 ariard: Code Review/Tested ACK 9f88ded naumenkogs: utACK 9f88ded82b2898ca63d44c08072f1ba52f0e18d7 jonatack: ACK 9f88ded82b2 Tree-SHA512: 1e93c0a5b68cb432524780ffc0093db893911fdfed9e2ed17f888e59114cc75d2a07062aefad4e5ce2e87c9270886117a8abb3c78fb889c9b9f31967f1777148
Diffstat (limited to 'src/secp256k1/COPYING')
0 files changed, 0 insertions, 0 deletions