295 Commits (82c49db841c838648a31bb71f1a66f550b06c34d)

Author SHA1 Message Date
Christian Decker 909913c265 htlc: Replay unprocessed HTLCs loaded from the DB 6 years ago
Christian Decker adb984dd45 hooks: Add the raw payload to the htlc_accepted call 6 years ago
Christian Decker 1561ffaea0 hooks: Add cltv_expiry_delta to the htlc_accepted hook 6 years ago
Christian Decker 2b81e02a2e plugin: Parse response for htlc_accepted hook 6 years ago
Christian Decker bf53821f1a plugin: Populate the request for the htlc_accepted hook 6 years ago
Christian Decker 7499f7ddd4 plugin: Add the htlc_accepted hook 6 years ago
darosior 323adb467a jsonrpc: Add a category field to commands. 6 years ago
Rusty Russell 401bd9f8ef json: rename json_add_amount_sat to json_add_amount_sat_compat. 6 years ago
trueptolemy 3445abb553 json-rpc: Add failcode info in listforwards 6 years ago
trueptolemy 11e9ad0ee0 lightningd: store failcode in FORWARD_LOCAL_FAILED case 6 years ago
Rusty Russell 6630b99cf7 lightningd: move local invoice resolution into invoice.c function. 6 years ago
Christian Decker 27afc804d5 json-rpc: Include received and resolved time to listforward result 6 years ago
Rusty Russell a2fa699e0e Use node_id everywhere for nodes. 6 years ago
Rusty Russell 6765423393 Documentation: Update to BOLT v1.0. 6 years ago
Michael Schmoock 8594f6e369 htlc: forward channel specific fee settings 6 years ago
Rusty Russell bac9a594b8 wallet: use amount_sat/amount_msat. 6 years ago
Rusty Russell 3ac0e814d0 daemons: use amount_msat/amount_sat in all internal wire transfers. 6 years ago
Rusty Russell b8e484b508 struct channel_config: use amount_sat / amount_msat. 6 years ago
Rusty Russell 7e3928359a listpeers: add all the alternate "msat" and "sat" fields for channels. 6 years ago
Rusty Russell ea7e13b5a7 lightningd: fix leak when next peer is unknown. 6 years ago
Rusty Russell 26dda57cc0 utils: make tal_arr_expand safer. 6 years ago
Rusty Russell c3e96e058e bolt: Updated the BOLT specification to unify UNKNOWN_PAYMENT_HASH & INCORRECT_PAYMENT_AMOUNT 6 years ago
Rusty Russell 554c3ec7e5 channeld: process onion packet ourselves. 6 years ago
Rusty Russell 59febcb968 sphinx: explain why parse_onionpacket fails. 6 years ago
Rusty Russell 7e01efbd1f lightningd: clean up htlc_in->shared_secret to be optional. 6 years ago
Rusty Russell 3006844f92 lightningd: don't allow zero cltv HTLCs. (#2214) 6 years ago
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct 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 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 40943c9867 Update for latest bolt version: bca814e270dcbee2fea51c0a26ca99efef261f2b 6 years ago
Rusty Russell c236361efd wireaddr: update bolt version, remove 'padding' from addresses. 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 7eec2253e9 lightningd: fix up compile errors from bad merge. 6 years ago
Rusty Russell 305795b01e common/json: move JSON creation routines into lightningd/ 6 years ago
Christian Decker 6b7546b94d json-rpc: Rename `getroutestats` and move stats to 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 4b4c549c9d htlcs: Wire up the forward statistics on HTLC updates 6 years ago
Rusty Russell 3991425111 gossipd: don't accept forwarding short_channel_ids we don't own. 6 years ago
Rusty Russell 1e467bb986 lightningd: fail HTLCs which are in-transit as we shut down. 6 years ago
Rusty Russell 0226ef0572 htlc: rename local flag to am_origin, add FIXME. 6 years ago
Rusty Russell 6c96bcacd7 lightningd: fix inconsistency without COMPAT enabled. 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 d85251ac6c db: fix up HTLCs which are missing failure information. 6 years ago
Rusty Russell ec74aadce2 lightningd: save outgoing HTLC's preimage to db. 6 years ago
Rusty Russell 65f6813706 lightningd: handle the case where the db contains a resolved HTLC without a preimage. 6 years ago
Rusty Russell 9ef67e50ff lightningd: don't leave htlc_out's in pointer dangling when htlc_in freed. 6 years ago