50 Commits (95d3d65c62f926761663a25d013a2912b1ae4bf6)

Author SHA1 Message Date
Christian Decker 957a3a01b9 json: Add helper to decode sha256 hashes 5 years ago
Rusty Russell f77d70d546 common/json: move rest of bitcoin/lightning-specific json functions to json_helpers. 5 years ago
Rusty Russell 73ad9b5c0a common: avoid locale dependent strtod(3) 5 years ago
Vasil Dimov 6b7db1ea7c common: remove unused json_add_double() 5 years ago
Rusty Russell f376a9c24c common: use tabs everywhere. 5 years ago
darosior e6f56765ca common/json: add a json helper for the new errcode type 5 years ago
darosior 3510c29e5d common: move json_stream helpers to common/json 5 years ago
Vasil Dimov 55173a56b7 Use dedicated type for error codes 5 years ago
ZmnSCPxj jxPCSnmZ 44e8256338 common/json.c: Implement `json_to_u32`. 5 years ago
Christian Decker 43fb2a6ed0 json: Add helper to extract a secret from JSON 5 years ago
darosior 16f5af00c7 common/json: add a helper for json to u16 5 years ago
Rusty Russell b03369ea2d common: generalize json_tok_remove. 6 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Christian Decker ed356dae62 json: Add a helper to decode a hex-encoded value from JSON 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 6 years ago
Rusty Russell 12731c4a60 json_tok_len, json_tok_contents: rename to json_tok_full_len and json_tok_full 6 years ago
Rusty Russell 465d5d5649 json: add json_to_bool() helper. 6 years ago
Rusty Russell 024b1a8d54 json: json_to_int helper. 6 years ago
Rusty Russell 22ca896b54 json: add and use a json_strdup() helper. 6 years ago
Rusty Russell adf08f8914 common/json: restore json_delve() for simple plugin parsing. 6 years ago
Rusty Russell 061938068f json: rename json_tok_bitcoin_amount. 6 years ago
Rusty Russell 86c517ac9b common/json: add context arg to json_parse_input. 6 years ago
Mark Beckwith 7cd6d39276 json: add print, copy, and remove functions 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Mark Beckwith c32f7910cc param: upgraded json_tok_label 6 years ago
Mark Beckwith 6254d15efd param: upgraded json_tok_sha256 6 years ago
Mark Beckwith 947752b9cc param: upgraded json_tok_percent 6 years ago
Mark Beckwith 8ebc95b7b0 param: upgraded json_tok_bool 6 years ago
Mark Beckwith e5918f4e5a param: upgraded json_tok_double 6 years ago
Mark Beckwith bab8ff991a param: upgraded json_tok_u64 6 years ago
Mark Beckwith 294dc06de9 param: upgraded json_tok_number 6 years ago
Mark Beckwith 8f17191099 param: upgraded json_tok_tok to advanced callback 6 years ago
Mark Beckwith 1fca7ab562 Added json_tok_sha256 (#1779) 7 years ago
Rusty Russell eae9b81099 json: json_add_hex_talarr for common case of dumping a tal object in hex. 7 years ago
Mark Beckwith f850849486 Modern param style for all remaining files 7 years ago
Mark Beckwith 4d1d0438e1 Typesafe callback system for parsing json 7 years ago
practicalswift 6269a4c55d Remove unused functions not covered by unit tests 7 years ago
Rusty Russell dfce8b5efd common/json: move declaration into correct header. 7 years ago
Rusty Russell 7ae013202f json: make json_add_string do partial escapes. 7 years ago
Rusty Russell d92579f627 common/json_escaped: new type which explicitly notes a string is already JSON. 7 years ago
ZmnSCPxj e1284b1df1 common/json: Add json_add_double. 7 years ago
Rusty Russell 91a22dc496 jsonprc: make json_get_params() fail the command, for better error reporting. 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
Rusty Russell ed2158c334 Revert "Functions for encoding reversed hex" 7 years ago
Andrew Chow 19116b6561 Functions for encoding reversed hex 7 years ago
Rusty Russell 78cd25d620 ipaddr: rename to wireaddr. 7 years ago
Rusty Russell f42f34b82d external: new subdirectory for all external libraries and submodules. 7 years ago
Rusty Russell 8c22bd9ee1 headers: fix up header idempotent lines. 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago