HomePhabricator

Add TX_INPUTS_NOT_STANDARD to TxValidationResult

Description

Add TX_INPUTS_NOT_STANDARD to TxValidationResult

Summary:
Nothing in the PR's description is relevant to use, but having a special subcategory of TX_NOT_STANDARD for non-standard inputs seems reasonable.

Our codebase already adds those txid to the recentRejectFilter, so most of the changes do not apply.

This is a backport of core#19620

https://github.com/bitcoin/bitcoin/pull/19620/commits/7989901c7eb62ca28b3d1e5d5831041a7267e495

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D10061

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Jul 29 2020, 15:07
PiRKCommitted on Sep 9 2021, 13:52
PiRKPushed on Sep 9 2021, 13:52
Reviewer
Restricted Project
Differential Revision
D10061: Add TX_INPUTS_NOT_STANDARD to TxValidationResult
Parents
rABC73875b90fe89: [Automated] Update timing.json
Branches
Unknown
Tags
Unknown