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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.