aboutsummaryrefslogtreecommitdiff
path: root/src/univalue/univalue_write.cpp
Commit message (Collapse)AuthorAgeFilesLines
* remove univalue, prepare for subtreeJonas Schnelli2015-10-011-127/+0
|
* univalue: Avoid unnecessary roundtrip through double for numbersWladimir J. van der Laan2015-07-181-7/+0
| | | | | | | | | | JSON makes no distinction between numbers and reals, and our code doesn't need to do so either. This removes VREAL, as well as its specific post-processing in `UniValue::write`. Non-monetary amounts do not need to be forcibly formatted with 8 decimals, so the extra roundtrip was unnecessary (and potentially loses precision).
* univalue: add support for real, fix percision and make it json_spirit compatibleJonas Schnelli2015-06-041-0/+9
| | | | - avoid breaking the API because of different number/percision handling
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* univalue: make spaceStr thread-safeWladimir J. van der Laan2014-09-051-12/+6
| | | | | | | Simply add spaces to the existing string instead of using a temporary. Fixes #4756.
* UniValue: compact (!pretty) output should not include extra whitespaceJeff Garzik2014-08-201-3/+8
|
* Univalue: Do not build JSON escape list at runtimeJeff Garzik2014-08-181-20/+1
| | | | | | | | | | | | No need to waste startup time building something that can be done at compile time. This also resolves a clang++ warning originally reported in #4714, univalue/univalue_write.cpp:33:12: warning: array subscript is of type 'char escapes['"'] = "\\""; ^~~~ etc.
* Add "bitcoin-tx" command line utility and supporting modules.Jeff Garzik2014-07-291-0/+145
This is a simple utility that provides command line manipulation of a hex-encoded TX. The utility takes a hex string on the command line as input, performs zero or more mutations, and outputs a hex string to standard output. This utility is also an intentional exercise of the "bitcoin library" concept. It is designed to require minimal libraries, and works entirely without need for any RPC or P2P communication. See "bitcoin-tx --help" for command and options summary.