554 Commits (e5564173e7d18d2d8fc1c2320cc6be7045a31b5c)

Author SHA1 Message Date
Rusty Russell b5dcb93e5f wallet: use amount_msat / amount_sat. 6 years ago
Rusty Russell 2632cc3f34 lightningd/json: make wallet_tx functions take amount_sat. 6 years ago
Rusty Russell 3ba544bfde common/bolt11: use struct amount_msat 6 years ago
Rusty Russell 177cfd9edc common: json_to_msat and json_to_sat helpers. 6 years ago
Rusty Russell a25e22737c common/json_tok: add param_msat / param_sat. 6 years ago
Rusty Russell 023923e6a8 amount: minor comment and text improvements and remove unused function. 6 years ago
Rusty Russell 7fad7bccba common/amount: new types struct amount_msat and struct amount_sat. 6 years ago
Rusty Russell 19d13f1781 type_to_string: return const char *. 6 years ago
Rusty Russell b99293fbb6 short_channel_id: don't accept :-separated in JSON if --allow-deprecated-apis=false 6 years ago
Rusty Russell 6a26b0c18d gossipd: increase randomness in route selection. 6 years ago
Rusty Russell c9a907cd71 common: handle peer input before gossipd input (for closingd, openingd) 6 years ago
Simon Vrouwe 10057c8335 openingd/json_fund_channel: 6 years ago
Rusty Russell ba8a9d1fde libplugin: quick fix for bad JSON produced by plugins on bad paramters. 6 years ago
lisa neigut 28699f0eca option_data_loss_protect: reenable by default 6 years ago
Rusty Russell 82ff580a66 json: add more efficient iterators for objects and arrays. 6 years ago
Rusty Russell 7b59e26dd7 jsmn: upgrade so JSMN_OBJECT's size parameter is usable. 6 years ago
Rusty Russell be8006a4fc common/test/run-param: fix parsing test. 6 years ago
Rusty Russell 774973263c common/test/run-json: check tok->size is as expected. 6 years ago
Rusty Russell c83823a525 pytest: fix spurious valgrind output. 6 years ago
Rusty Russell de4043a32a plugin/libplugin: API for C plugins. 6 years ago
Christian Decker ed356dae62 json: Add a helper to decode a hex-encoded value from JSON 6 years ago
Rusty Russell 9f1f79587e short_channel_id_dir: new primitive for one direction of short_channel_id 6 years ago
Rusty Russell 0bcad1289e bolt11: fix encoding of routes of length > 1. 6 years ago
Rusty Russell e65b680807 json: move bitcoin/lightning specific helpers into common/json_helpers. 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Christian Decker 94eb2620dc bolt: Updated the BOLT specification to the latest version 6 years ago
Christian Decker 65054ae72e bolt: Updated the BOLT specification to a07dc3df3b4611989e3359f28f96c574f7822850 6 years ago
Rusty Russell 7e8dbc1c37 sphinx: use struct pubkey. 6 years ago
Rusty Russell 59febcb968 sphinx: explain why parse_onionpacket fails. 6 years ago
Rusty Russell 7b7a1b7040 test/run-param: fix malformed JSON. 6 years ago
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 1ede7bc55b wallet_tx: make wtx_select_utxos return command_result. 6 years ago
Rusty Russell bc41ab2cb9 param: make json_tok_ handlers all return command_result, rename to param_ 6 years ago
Rusty Russell 93bf7c4839 param: make command sinks (fail/success) return a special type. 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 72b68845ca commit_tx: make fee msat vs sat explicit. 6 years ago
Mark Beckwith 1ae4cb1e20 param: add NULL sentinel attr 6 years ago
Mark Beckwith a6ca57c79a doc: speling typo 6 years ago
Mark Beckwith 33359e4a82 doc: discourage use of json_tok_tok 6 years ago
Rusty Russell 6aa511fa7a channeld: only enable option_data_loss_protect if EXPERIMENTAL_FEATURES. 6 years ago
Rusty Russell 692d8e9685 json: simplify json_tok_copy. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 3f16c9a665 param: abstract 'struct command' so param doesn't need to access it. 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
Rusty Russell 6323cc1898 plugins: allow --dev-debugger=<pluginname>. 6 years ago