aboutsummaryrefslogtreecommitdiff
path: root/src/amount.h
AgeCommit message (Collapse)Author
2016-12-31Increment MIT Licence copyright header year on files modified in 2016isle2983
Edited via: $ contrib/devtools/copyright_header.py update .
2016-11-07Get rid of nType and nVersionPieter Wuille
Remove the nType and nVersion as parameters to all serialization methods and functions. There is only one place where it's read and has an impact (in CAddress), and even there it does not impact any of the recursively invoked serializers. Instead, the few places that need nType or nVersion are changed to read it directly from the stream object, through GetType() and GetVersion() methods which are added to all stream classes.
2016-04-08[amount] Add support for negative fee ratesMarcoFalke
Currently negative fee rates are not supported on archs of 64-bit or more
2016-03-17[amount] Make GetFee() monotonicMarcoFalke
This reverts the hard-to-read and buggy code introduced in d88af560111863c3e9c1ae855dcc287f04dffb02 and adds documentation
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-12-02Fix various typospaveljanik
2015-10-13Add CFeeRate += operatorMatt Corallo
2015-08-03Rationalize currency unit to "BTC"Ross Nicoll
Previously various user-facing strings have used inconsistent currency units "BTC", "btc" and "bitcoins". This adds a single constant and uses it for each reference to the currency unit. Also adds a description of the unit for --maxtxfee, and adds the missing "amount" field description to the (deprecated) move RPC command.
2015-05-27Improve comment explaining purpose of MAX_MONEY constantPeter Todd
2014-12-19Added "Core" to copyright headerssandakersmann
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-10-27MOVEONLY: Move CFeeRate and Amount constants to amount.ojtimon
2014-10-02amount.h: update license, add header end comment + rem from util.hPhilip Kaufmann
2014-09-26Use a typedef for monetary valuesMark Friedenbach