Page MenuHomePhabricator

Convert policy fees.cpp/.h to use Amount class
ClosedPublic

Authored by schancel on Nov 3 2017, 20:26.

Details

Summary

Convert fees.cpp and fees.h to use Amount class. Update
dependencies where appropriate. FeeStats could not be swapped
from using double due to a file format dependency.

Test Plan

make VERBOSE=1 check && ./qa/pull-tester/rpc-tests.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
shammah/amount-final
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1047
Build 1047: arc lint + arc unit

Event Timeline

Convert rpc package to use Amount class

Looks good and tests fine.

This revision is now accepted and ready to land.Nov 4 2017, 13:56

Rebase and remove mistakenly added code from rpc package

This revision was automatically updated to reflect the committed changes.
src/policy/fees.cpp
349 ↗(On Diff #1649)

The semantic of that code has changed.

566 ↗(On Diff #1649)

dito