377 Commits (2ee1061c166e957c8791720b1df0ef29f2984785)

Author SHA1 Message Date
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
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell be6322a2d3 features: add local_feature_negotiated / global_feature_negotiated helpers. 6 years ago
Rusty Russell 23540fe956 common: make funding_tx and withdraw_tx share UTXO code. 6 years ago
Rusty Russell a046af4416 lightningd/test: move some tests to common/ and channeld/ 6 years ago
Mark Beckwith 164c76454c test: add json_tok_remove unit tests 6 years ago
Mark Beckwith 7cd6d39276 json: add print, copy, and remove functions 6 years ago
Christian Decker 9ce3e960ec common: Add tal_arr_remove helper 6 years ago
arowser 77832c9400 enable add_steal_notifiers only support backtrace library 6 years ago
Rusty Russell 2debbb0a00 common/subdaemon: helpers for dumping memleaks in subdaemons. 6 years ago
Rusty Russell 5a81dbd783 common/daemon: enable/cleanup memleak in daemon_setup / daemon_shutdown. 6 years ago
Rusty Russell 22858f35f9 struct channel: keep a copy of configs, not just pointers. 6 years ago
Rusty Russell b5a96765d8 struct channel: remove most helpers. 6 years ago
Jon Griffiths 47743a287c Avoid a sha256/ripemd160 call for each pubkey we derive 6 years ago
Jon Griffiths 087ef43a0d Call wally_init(0) on startup to enabled assembly-optimised SHA-256 6 years ago
Rusty Russell 5c60d7ffb2 gossipd: split wire types into msgs from lightningd and msgs from per-peer daemons 6 years ago
Rusty Russell 07b16e37d0 daemon_conn: don't rely on outq_empty callback telling us to retry queue. 6 years ago
Rusty Russell debbdc0781 bolt11: accept lightning: prefix. 6 years ago
Rusty Russell c13a355cf2 subdaemon: suppress overzealous _FORTIFY_SOURCE warning. 6 years ago
Rusty Russell bc230c837e bolt11: make sure we handle uppercase invoices. 6 years ago
Rusty Russell 33c21d8a98 Revert "bolt11: better message when you try to 'lightning-cli pay' an onchain addr." 6 years ago
Rusty Russell 3d1005f83c common/bolt11: test for invoices without hrp separator. 6 years ago
Rusty Russell a1898b699d bech32: fix overflow bug. 6 years ago
Rusty Russell 22b8a88b48 common/daemon: in DEVELOPER mode, check for tal_parent() loops. 6 years ago
Rusty Russell 3e2dea221b common/msg_queue: make it a tal object. 6 years ago
Rusty Russell 3c97f3954e daemon_conn: make it a tal object, typesafe callbacks. 6 years ago
Rusty Russell 88da956531 daemon_conn: don't expose daemon_conn_write_next. 6 years ago
Rusty Russell 689d51cba5 common/daemon_conn: remove finished function. 6 years ago