HomePhabricator

Add default construct, and several ops, to Amount class
1de8caa74e45Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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 Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Reviewer
Restricted Project
Differential Revision
D549: Add default construct, and several ops, to Amount class
Parents
rSTAGING1d86af1c0397: Trigger UAHF based on height
Branches
Unknown
Tags
Unknown