Page MenuHomePhabricator

Refactor duplicate input check
ClosedPublic

Authored by deadalnix on Sep 17 2018, 21:58.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
checkinput
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3319
Build 4721: Bitcoin ABC Buildbot (legacy)
Build 4720: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sep 17 2018, 22:04
This revision was automatically updated to reflect the committed changes.