Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-07-10 | rpc: Accept scientific notation for monetary amounts in JSON | Wladimir J. van der Laan | |
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. | |||
2015-06-04 | use const references where appropriate | Philip Kaufmann | |
2015-06-04 | util: Add ParseInt64 and ParseDouble functions | Wladimir J. van der Laan | |
Strict parsing functions for other numeric types. - ParseInt64 analogous to ParseInt32, but for 64-bit values. - ParseDouble for doubles. - Make all three Parse* functions more strict (e.g. reject whitespace on the inside) Also add tests. | |||
2014-12-19 | Added "Core" to copyright headers | sandakersmann | |
Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60 | |||
2014-11-17 | Update comments in util to be doxygen compatible | Michael Ford | |
2014-08-26 | Split up util.cpp/h | Wladimir J. van der Laan | |
Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util. |