25 Commits (c9fa9817f60d66da2f8368c469b396b9e54755d9)

Author SHA1 Message Date
Christian Decker 723b64036f jsonrpc: Pretty-print the json results 7 years ago
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
Rusty Russell 7ae013202f json: make json_add_string do partial escapes. 7 years ago
Rusty Russell ed9093fcbd json: allow strange characters through our JSON parser. 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
practicalswift 98f49c0837 Remove include in file foo.c that is already included in foo.h 7 years ago
ZmnSCPxj e1284b1df1 common/json: Add json_add_double. 7 years ago
Rusty Russell 8be1c1df32 Updates for changed external/jsmn API change. 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 7 years ago
Rusty Russell 47577e5c4e jsonrpc: check that arguments to calls are valid. 7 years ago
Rusty Russell 7f03e15e03 json_add_string_escape: for escaping internally-generated strings. 7 years ago
ZmnSCPxj 8c527f3931 common/json: Implement json_add_snum for signed numbers. 7 years ago
Björge Dijkstra 2f4ba73c77 Allocate hex buffer on heap since it can be very large. 7 years ago
Rusty Russell 6b740e78bd json: more sanity checks on JSON output. 7 years ago
Björge Dijkstra 82a2d2f0a6 Fix parsing of txout value. Force decimal base. 7 years ago
Rusty Russell 86e1a61165 json: fix json_tok_bitcoin_amount() 7 years ago
practicalswift aae991f28d Add missing call to va_end() 7 years ago
Rusty Russell ed2158c334 Revert "Functions for encoding reversed hex" 7 years ago
Andrew Chow 19116b6561 Functions for encoding reversed hex 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago
Rusty Russell 5502a19d1e json: reject incoming JSON which has any unusual characters in tokens. 7 years ago
Rusty Russell 8f17effeeb json: just blatt weird characters in string. 7 years ago
Rusty Russell 02c1d10c9f json: escape strings we output in JSON. 7 years ago
Rusty Russell 81db5896e1 common/json: remove asserts() which may trigger from user input. 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Christian Decker e972b208c7 routing: Passing back all addresses on getnodes 8 years ago
Christian Decker d87ca4121d routing: Returning channel_id to getroute requests 8 years ago
Rusty Russell a44e4fb631 daemon/json, test/test_protocol: avoid gcc -O warnings. 8 years ago
Rusty Russell a4fdaab5b3 Use global secp256k1_ctx instead of passing it around. 8 years ago
Rusty Russell 5465b61784 json: fix 32-bit build. 8 years ago
Rusty Russell f5c00deec7 Remove trailing whitespace from source. 8 years ago
Rusty Russell ca80fc0286 getroute: add a risk factor. 8 years ago
Rusty Russell a4346b56f6 json: remove unused json_get_arr parameter. 8 years ago
Rusty Russell 2610799bda pay: split into getroute and sendpay 8 years ago
Rusty Russell b9d4f7c0ab daemon: dev-output command. 9 years ago
Rusty Russell 71c02c7b4c daemon: make json_get_param() understand which args are compulsory. 9 years ago
Rusty Russell aed857a30c json: routine to create a uint64_t field. 9 years ago
Rusty Russell 725512fb03 json: parse bitcoind-style bitcoin amount. 9 years ago
Rusty Russell 06a25887da json: routine to parse a uint64_t. 9 years ago
Rusty Russell ac4491909c daemon/json: helpers for using jsmn. 9 years ago