Page MenuHomePhabricator

Use const in COutPoint class
ClosedPublic

Authored by Fabien on Mar 11 2020, 22:26.

Details

Summary
Refactoring:

    all cases of using (uint32_t) -1 in COutPoint class are replaced
with const;
    also all remaining instances of (UNSIGNED)-1 transformed to
std::numeric_limits<UNSIGNED>::max() (by @practicalswift).

Backport of core PR14838.

Test Plan
ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR14838
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9787
Build 17447: Default Diff Build & Tests
Build 17446: arc lint + arc unit

Event Timeline

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.Mar 12 2020, 15:20