Page MenuHomePhabricator

Use SATOSHI rather than Amount construction
ClosedPublic

Authored by deadalnix on Sep 3 2018, 17:40.

Details

Summary

The Amount constructor has the notion of satoshi built in. If we want higher precision amount in the future, we need to make that assumption in the code explicit.

As a first step Amount(1) is now SATOSHI and Amount(-1) is now -SATOSHI

Depends on D1704

Test Plan
make check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable