20 Commits (ccece764f23eb65a7cd82c04b8a001033d422ca0)

Author SHA1 Message Date
Christian Decker 7283efa5b5 elements: Add amount_asset to support more than just plain satoshis 5 years ago
Christian Decker c38afc5512 tx: Switch to amount_sat for fee computations 5 years ago
Rusty Russell f1b57063f7 bitcoin/tx: use fromwire_fail in pull_bitcoin_tx. 6 years ago
Rusty Russell b4455d517c common/node_id: new type. 6 years ago
Rusty Russell 177cfd9edc common: json_to_msat and json_to_sat helpers. 6 years ago
Rusty Russell 7b59e26dd7 jsmn: upgrade so JSMN_OBJECT's size parameter is usable. 6 years ago
Rusty Russell 774973263c common/test/run-json: check tok->size is as expected. 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 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 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Christian Decker c3f433ec66 json: Support streaming JSON messages 6 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Christian Decker 723b64036f jsonrpc: Pretty-print the json results 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 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
Rusty Russell 7f03e15e03 json_add_string_escape: for escaping internally-generated strings. 7 years ago
Björge Dijkstra 648e4feee2 Extend json unit test with tests for json_tok_bitcoin_amount() 7 years ago
Rusty Russell 112ae0d0f5 common/test/run-json: test JSON escaping. 7 years ago