MarcoFalke
fa2da2cb60
[amount] Add support for negative fee rates
...
Currently negative fee rates are not supported on archs of 64-bit or
more
9 years ago
MarcoFalke
faf756ae4e
[amount] Make GetFee() monotonic
...
This reverts the hard-to-read and buggy code introduced in
d88af56011
and adds documentation
9 years ago
MarcoFalke
fa24439ff3
Bump copyright headers to 2015
9 years ago
paveljanik
8a03727d9c
Fix various typos
9 years ago
Matt Corallo
241d6078ba
Add CFeeRate += operator
9 years ago
Ross Nicoll
9ca7857df7
Rationalize currency unit to "BTC"
...
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.
9 years ago
Peter Todd
0bb43854c7
Improve comment explaining purpose of MAX_MONEY constant
10 years ago
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
10 years ago
jtimon
eda3733091
MOVEONLY: Move CFeeRate and Amount constants to amount.o
10 years ago
Philip Kaufmann
e2efdf3937
amount.h: update license, add header end comment + rem from util.h
10 years ago
Mark Friedenbach
a372168e77
Use a typedef for monetary values
10 years ago
Philip Kaufmann
fc0c07eb64
small cleanup in src/compat .h and .cpp
...
- add license header
- fix include guards
- fix indentation
11 years ago
Cory Fields
679240d0e9
sanity: add libc/stdlib sanity checks
...
These are meant to test our back-compat stubs, but they are enabled for all
builds for the sake of consistency.
11 years ago