aboutsummaryrefslogtreecommitdiff
path: root/src/amount.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace consensus values with Dogecoin equivalentsRoss Nicoll2019-04-031-1/+1
| | | | | | | * Replace chain parameters with Dogecoin values * Update maximum coins to match Dogecoin * Disable version 2 block requirement * Update coinbase maturity to match Dogecoin
* Consensus: Policy: MOVEONLY: Move CFeeRate out of the consensus moduleJorge Timón2017-05-031-44/+1
| | | | | | ...from amount.o to policy/feerate.o Policy, because it moves policy code to the policy directory (common module)
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Get rid of nType and nVersionPieter Wuille2016-11-071-1/+1
| | | | | | | | | | | 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.
* [amount] Add support for negative fee ratesMarcoFalke2016-04-081-4/+7
| | | | | Currently negative fee rates are not supported on archs of 64-bit or more
* [amount] Make GetFee() monotonicMarcoFalke2016-03-171-4/+8
| | | | | This reverts the hard-to-read and buggy code introduced in d88af560111863c3e9c1ae855dcc287f04dffb02 and adds documentation
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* Fix various typospaveljanik2015-12-021-1/+1
|
* Add CFeeRate += operatorMatt Corallo2015-10-131-0/+1
|
* Rationalize currency unit to "BTC"Ross Nicoll2015-08-031-0/+2
| | | | | | | | | 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.
* Improve comment explaining purpose of MAX_MONEY constantPeter Todd2015-05-271-1/+9
|
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* MOVEONLY: Move CFeeRate and Amount constants to amount.ojtimon2014-10-271-1/+42
|
* amount.h: update license, add header end comment + rem from util.hPhilip Kaufmann2014-10-021-2/+2
|
* Use a typedef for monetary valuesMark Friedenbach2014-09-261-0/+13