221 Commits (08573fbc4b60a1c4d6e9ed0fbe11b3fc9bd25366)

Author SHA1 Message Date
Rusty Russell 049529542a lightningd: delay reprocessing of incoming htlcs at startup until plugins ready. 5 years ago
Rusty Russell 189b2f1313 BOLT: update CSV to latest bolt version. 5 years ago
Rusty Russell 2600a6ed2e channeld: get current block height when an HTLC fails. 5 years ago
Rusty Russell 6349222ea2 Spec: Update to latest BOLT, include our first global feature definition. 5 years ago
trueptolemy 4929034a40 json: Make payment_hash use `json_add_sha256` 5 years ago
Rusty Russell f18b911032 lightningd: listforwards shouldn't put in zero fields for fields we don't know. 5 years ago
lisa neigut 802ebe768c rpc: fix crash 'listforwards' when payment_hash is empty 5 years ago
lisa neigut 58fb1528dd add_htlc hook: fix crash when failing UPDATE failcode 5 years ago
Rusty Russell c3a35416da lightningd: don't allow channeld to accept HTLCs if we're not synced. 5 years ago
Rusty Russell 6195a878f7 lightningd: don't allow sending of HTLCs while still syncing. 5 years ago
Rusty Russell b73a85a75e lightningd: don't say 'killing channel' when HTLC times out. 5 years ago
Rusty Russell 02609773c0 lightningd: suppress gcc-7.4.0 error 5 years ago
trueptolemy a449a91ae2 JSON: Warp the process of forward payment json object 5 years ago
trueptolemy bcec6bb6cc API: 'listforwards' now include 'payment_hash' field 5 years ago
Christian Decker 5dff67900e tx: Add chainparams when deserializing transactions from wire msgs 5 years ago
Christian Decker b83d15ea4a sphinx: Remove standalone v0 payload in favor of the unionized one 6 years ago
lisa neigut 5c07afac7d bolt: update to BOLT spec changes (extract format + type specifications) 5 years ago
lisa neigut 254ee8a5d3 bolt-spec: bring up to date at 309e86d471faf90c1f6c531701c16887684badb9 5 years ago
Rusty Russell d5bd1682f5 lightningd: free timers on shutdown. 5 years ago
Rusty Russell a450962b49 channeld/lightningd/hsmd: strengthen our checks against 0-output txs. 5 years ago
Rusty Russell bb7bbd03c5 lightningd: have json_stream_success start the "result" object. 5 years ago
Rusty Russell 220449e1cd ccan: import ccan/json_out and ccan/json_escape. 5 years ago
Christian Decker 9e511cbf3e plugin: Use the json_add_secret wrapper to add the shared_secret 5 years ago
Christian Decker 4c57d44252 channel: Along with the last_tx also remember its type 5 years ago
Christian Decker 2db4f190b3 plugin: Cleanup the htlc_accepted_hook_deserialize interface 5 years ago
Christian Decker 6db1e76156 startup: Tell peer_accepted_htlc whether we are replaying 5 years ago
Christian Decker 909913c265 htlc: Replay unprocessed HTLCs loaded from the DB 5 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. 5 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