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

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

The semantic of that code has changed.

566

dito