aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-07-06 10:49:24 +0200
committerWladimir J. van der Laan <[email protected]>2015-07-10 15:43:26 +0200
commit9cc91523dbec6441e327e1e4c83ba751a4680bec (patch)
treef7ad53eeb2e34d7773e067acf2a268076b1078ca /src/chainparams.cpp
parentMerge pull request #6329 (diff)
downloaddiscoin-9cc91523dbec6441e327e1e4c83ba751a4680bec.tar.xz
discoin-9cc91523dbec6441e327e1e4c83ba751a4680bec.zip
rpc: Accept scientific notation for monetary amounts in JSON
Add a function `ParseFixedPoint` that parses numbers according to the JSON number specification and returns a 64-bit integer. Then this in `AmountFromValue`, rather than `ParseMoney`. Also add lots of tests (thanks to @jonasschnelli for some of them). Fixes issue #6297.
Diffstat (limited to 'src/chainparams.cpp')
0 files changed, 0 insertions, 0 deletions