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

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