HomePhabricator

[backport#16363] test: Add test for BIP30 duplicate tx

Description

[backport#16363] test: Add test for BIP30 duplicate tx

Summary:
This adds a test for BIP30 to check that duplicate txs can exist in the blockchain given the first one was completely spent when the second one is added.

Note that some lines modified in the Core PR were moved and deleted on our side (D5060, D6101)

This concludes backport of Core PR16363
Commit: fa8489a15511f61a372473927e73c34692bbec23
Depends on D7901

Test Plan: ninja && ./test/functional/test_runner.py feature_block

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Oct 13 2020, 15:00
PiRKCommitted on Oct 13 2020, 15:00
abc-botPushed on Oct 13 2020, 15:06
Reviewer
Restricted Owners Package
Differential Revision
D7902: [backport#16363] test: Add test for BIP30 duplicate tx
Parents
rABC8a6204742c0c: [backport#16363] test: Properly serialize BIP34 coinbase height
Branches
Unknown
Tags
Unknown