HomePhabricator

Refactor duplicate input check

Description

Refactor duplicate input check

Summary:

  • Use std::unordered_set instead of std::set.
  • Do not try to check duplicate input for coinbase.
  • Always check duplicate input for regular transactions.

Test Plan:

make check

Reviewers: #bitcoin_abc, schancel

Reviewed By: #bitcoin_abc, schancel

Subscribers: teamcity

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

Details

Provenance
deadalnixAuthored on Sep 17 2018, 21:12
deadalnixPushed on Sep 18 2018, 04:06
Reviewer
Restricted Project
Differential Revision
D1790: Refactor duplicate input check
Parents
rSTAGING13048d9dee12: Changed CMessageHeader::pchCommand to use a C++11 array and updated its various…
Branches
Unknown
Tags
Unknown