HomePhabricator

Add default construct, and several ops, to Amount class

Description

Add default construct, and several ops, to Amount class

Summary:

  • Add default constructor necessary for use with STL containers.
  • Add division and modulus operators which are used routinely.

Test Plan: make VERBOSE=1 check

Reviewers: deadalnix, freetrader, #bitcoin_abc

Reviewed By: deadalnix, #bitcoin_abc

Subscribers: zquestz

Differential Revision: https://reviews.bitcoinabc.org/D549

Details

Provenance
schancelAuthored on Sep 20 2017, 11:34
schancelPushed on Sep 30 2017, 21:39
Reviewer
Restricted Project
Differential Revision
D549: Add default construct, and several ops, to Amount class
Parents
rABC1d86af1c0397: Trigger UAHF based on height
Branches
Unknown
Tags
Unknown