aboutsummaryrefslogtreecommitdiff
path: root/src/univalue
Commit message (Collapse)AuthorAgeFilesLines
* Update univalue subtreeMarcoFalke2018-09-076-104/+27
|
* univalue: Bump subtreeMarcoFalke2018-02-102-1/+17
|
* univalue: Bump subtreeMarcoFalke2017-12-192-2/+2
|
* Bump univalue and fix json formatting in testsMarcoFalke2017-09-2923-228/+782
| | | | | This merge commit bumps the univalue subtree and also updates the whitespace for some failing tests.
* Declare single-argument (non-converting) constructors "explicit"practicalswift2017-08-161-1/+1
| | | | In order to avoid unintended implicit conversions.
* Merge commit '2ca7faab4205822b06dc2ab2bbda0a9a70fce7e0' into HEADMarcoFalke2016-09-303-7/+7
|
* Merge commit '3650668cdbbf369dd8f30c8e8eb5bb883325942d' into HEADMarcoFalke2016-09-252-27/+24
|
* Merge commit '60ab9b200654ef0914459711cf2b22be16be3dc2'Wladimir J. van der Laan2016-06-1011-37/+181
|
* Merge commit '982709199f1b4e9e35211c419a81938f9f1dd4ed' into bitcoinMarcoFalke2015-12-0216-83/+205
|
* Merge commit '313e7f5c89d6e72e06efe9255089765b4c5815fe' into HEADMarcoFalke2015-10-096-19/+15
|
* Merge commit '2f9f082b5ef3c495c70598ef23383effef675f9a' as 'src/univalue'Jonas Schnelli2015-10-0157-0/+1994
|
* remove univalue, prepare for subtreeJonas Schnelli2015-10-016-1406/+0
|
* Stop parsing JSON after first finished construct.Daniel Kraft2015-08-201-6/+8
| | | | | | Fix https://github.com/bitcoin/bitcoin/issues/6558. In particular, stop parsing JSON after the first object or array is finished. Check that no other garbage follows, and fail the parser if it does.
* univalue: Avoid unnecessary roundtrip through double for numbersWladimir J. van der Laan2015-07-183-12/+3
| | | | | | | | | | 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: don't escape solidus, keep espacing of reverse solidusJonas Schnelli2015-06-252-2/+1
|
* Fix univalue handling of \u0000 characters.Daniel Kraft2015-06-111-9/+6
| | | | | | Univalue's parsing of \u escape sequences did not handle NUL characters correctly. They were, effectively, dropped. The extended test-case fails with the old code, and is fixed with this patch.
* use const references where appropriatePhilip Kaufmann2015-06-041-2/+1
|
* univalue: add strict type checkingWladimir J. van der Laan2015-06-042-20/+91
|
* Remove JSON Spirit wrapper, remove JSON Spirit leftoversJonas Schnelli2015-06-042-0/+16
| | | | | | - implement find_value() function for UniValue - replace all Array/Value/Object types with UniValues, remove JSON Spirit to UniValue wrapper - remove JSON Spirit sources
* univalue: correct bool supportJonas Schnelli2015-06-041-0/+10
|
* univalue: add support for real, fix percision and make it json_spirit compatibleJonas Schnelli2015-06-043-3/+17
| | | | - avoid breaking the API because of different number/percision handling
* Convert tree to using univalue. Eliminate all json_spirit uses.Jeff Garzik2015-06-041-0/+84
|
* UniValue: export NullUniValue global constantJeff Garzik2015-06-042-5/+7
|
* UniValue: prefer .size() to .count(), to harmonize w/ existing treeJeff Garzik2015-06-041-1/+1
|
* Remove references to X11 licenceMichael Ford2014-12-165-5/+5
|
* Fix all header definesPavel Janík2014-11-033-9/+9
|
* 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: use correct setNumStr() input val, when setting number valuesJeff Garzik2014-08-201-1/+1
|
* Univalue: Do not build JSON escape list at runtimeJeff Garzik2014-08-183-20/+341
| | | | | | | | | | | | 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.
* univalue: remove unused methods getArray, getObjectJeff Garzik2014-07-302-24/+0
|
* Add "bitcoin-tx" command line utility and supporting modules.Jeff Garzik2014-07-294-0/+925
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.