HomePhabricator

Make error message more meaningful when a block contains a duplicate transaction

Description

Make error message more meaningful when a block contains a duplicate transaction

Summary: It also allows to bail early thanks to CTOR.

Test Plan: Added tests cases.

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

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

Details

Provenance
deadalnixAuthored on Nov 17 2018, 01:52
deadalnixPushed on Nov 17 2018, 02:50
Reviewer
Restricted Project
Differential Revision
D2076: Make error message more meaningful when a block contains a duplicate transaction
Parents
rABC2b4be88522d4: Fix transaction ordering in abc-mempool-accept-txn
Branches
Unknown
Tags
Unknown