497 Commits (819078fe18d45abff09d033926e3659cddce7e1c)

Author SHA1 Message Date
Rusty Russell 819078fe18 param: make command_fail/command_success WARN_UNUSED_RESULT. 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_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 31a375af53 lightningd: add runtime checking for all system-provided libs. 6 years ago
Rusty Russell d7e233e47d Move json and param core functionality into common, for plugins. 6 years ago
Rusty Russell 8015e7dcfb jsonrpc: add the obj token to the callback. 6 years ago
Rusty Russell dffe2f516a signature: wrap almost all signatures in struct bitcoin_signature. 6 years ago
Rusty Russell 55306fc3eb onchaind: wire up dev_memleak. 6 years ago
Rusty Russell d3ea9bf8bf channeld: wire up dev_memleak. 6 years ago
Jon Griffiths 087ef43a0d Call wally_init(0) on startup to enabled assembly-optimised SHA-256 6 years ago
Conor Scott 795bc1b3a7 [test] update test mocks for getinfo rpc update 6 years ago
Rusty Russell e17f69ce2d json_stream: disentangle JSON handling from command. 6 years ago
arowser d5aaa11373 update match network log 6 years ago
Rusty Russell 8600ba403c wireaddr: remove handling for addr->type == ADDR_TYPE_PADDING 6 years ago
Rusty Russell 171006d17c lightnignd: peer addr is never NULL, adjust new_peer. 6 years ago
Rusty Russell c919551109 onchaind: include htlc id in htlc_stub so we agree on what HTLC we're closing. 6 years ago
Rusty Russell 0dcd66880c Rename `struct json_result` to `struct json_stream` (RENAMEONLY) 6 years ago
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Rusty Russell 604638712b jsonrpc: Only show total fees collected in getinfo. 6 years ago
Christian Decker 6d333f16cc wallet: Correctly handle forwards when channels or htlcs are deleted 6 years ago
Christian Decker facd7d16aa json-rpc: Add `listforwardings` command 6 years ago
Christian Decker 5b924a7eb7 wallet: Add primitives to add forwarded payments to the DB 6 years ago
Christian Decker 07ebc525e9 wallet: Add new `forwards` table to keep track of forwarded payments 6 years ago
Rusty Russell 3991425111 gossipd: don't accept forwarding short_channel_ids we don't own. 6 years ago
Christian Decker 81f5b89fe3 wallet: Actually load wallet stats when asked to 6 years ago
lisa neigut b9331e5ac8 gossipd: parse and respect optional `htlc_maximum_msat` 6 years ago
Rusty Russell 0226ef0572 htlc: rename local flag to am_origin, add FIXME. 6 years ago
Rusty Russell 4146950496 lightningd: don't access htlc_in's failoutchannel on db restore. 6 years ago
Rusty Russell 79ebb8a92e db: save the failcode / failuremsg into db. 6 years ago
Rusty Russell 2293f4ce9e db: restore failuremsg/failcode from db. 6 years ago
Rusty Russell d85251ac6c db: fix up HTLCs which are missing failure information. 6 years ago
Rusty Russell 4040c53258 lightningd: handle case where incoming HTLC vanished before fulfilled outgoing. 6 years ago
Rusty Russell c8c3294a23 json-invoice: add routeboost, warnings. 6 years ago
Rusty Russell 9fa7f5e30e listpeers: include current htlc information. 6 years ago
Rusty Russell 96f05549b2 common/utils.h: add tal_arr_expand helper. 6 years ago
Mark Beckwith 30b67c0334 param: call param() all the time 6 years ago
Rusty Russell 0855422110 gossip_control: when searching for a txout, make sure it's not spent! 6 years ago
Rusty Russell e012e94ab2 hsmd: rename hsm_client_wire_csv to hsm_wire.csv 6 years ago
Rusty Russell c2e56fbb1b wallet: fix Makefile to include correct dependencies. 6 years ago
Rusty Russell cefb6925b2 db: save and restore last_sent_commit correctly. 6 years ago
Rusty Russell 168bec0974 lightningd: move channel/peer/htlc load into own function. 6 years ago
Rusty Russell 3e53a63cf2 wallet: do wallet_invoice init during preparation. 6 years ago
Rusty Russell db3c387264 feerate: allow names 'urgent' 'normal' and 'slow'. 6 years ago
Rusty Russell e0952ceff2 feerate: use suffix, not separate argument. 6 years ago
Rusty Russell 14dc1c37ab fundchannel / withdraw: allow explicit feerate setting. 6 years ago
Rusty Russell 175db926c2 chaintopology: expose when we don't actually know feerate. 6 years ago
Rusty Russell a5ecc95c42 db: store claimed per_commitment_point from option_data_loss_protect. 6 years ago