254 Commits (a3ddf9be9bb635e7b6ff14b5385f31c59812f933)

Author SHA1 Message Date
Rusty Russell 262e4c840f sphinx: use struct secret for shared secret. 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell ddce5573c7 channeld: use wirestring for failure strings. 5 years ago
Rusty Russell 9a72016640 lightningd: remove unused allocation. 5 years ago
Christian Decker 4be1868b8a pay: Invert ownership of wallet_payment 5 years ago
Vasil Dimov 2ea91f834c Add the missing space between "if" and "(" 5 years ago
Rusty Russell 72aa315b5e lightningd: save the fee_states into the database. 5 years ago
Rusty Russell 8e3234e67a lightningd: sew in htlc set. 5 years ago
Rusty Russell 8b129b439b lightningd: cleanup redundant args from handle_localpay 5 years ago
Rusty Russell 0e4a30c635 doc: update experimental bolt version quotes. 5 years ago
Rusty Russell 12985331f7 htlcs: remove origin_htlc_id from htlc_out. 5 years ago
Rusty Russell 345ca9b122 db: add partid field to htlc_out. 5 years ago
Rusty Russell 2d18c3a209 db: add partid, total_msat fields to payment entries. 5 years ago
Rusty Russell d56513362a lightningd: don't always defer commitment_signed if we're not synced. 5 years ago
Christian Decker ff5f7b194f sphinx: Return the error in parse_onionpacket 5 years ago
Rusty Russell f7ebbb2ec5 common: make sphinx code ignorant of payload format. 5 years ago
Rusty Russell bb538a1862 common: don't crash on bad sphinx payload. 5 years ago
Christian Decker 69c17d2d31 wire: Let the TLV _is_valid function actually return validity 5 years ago
Rusty Russell e5247a68b6 lightningd: check payment secret on htlc receipt. 5 years ago
Rusty Russell ebac3d2a85 spec: update to experimental BOLTs with secret/total_amount. 5 years ago
Rusty Russell 50d6941e89 lightningd: remove redundant htlc_accepted_hook_payload fields 5 years ago
Christian Decker d1df4d6959 htlc: Add a checker function tellung us whether we can continue 5 years ago
Christian Decker d7b28ac480 htlc: Consolidate validation after the htlc_accepted hook returns 5 years ago
Christian Decker fc14e5eab0 htlcs: Make necessary payload fields optional and derfer validation 5 years ago
Christian Decker d69a43780c sphinx: Use the new `fromwire_tlv_payload` function 5 years ago
darosior f075b87137 bitcoind: remove the chainparams member 5 years ago
Rusty Russell 323e4f6288 dev: add option to prevent HTLC timeouts. 5 years ago
Rusty Russell 2a2259083a lightningd: handle tlv-style payloads. 5 years ago
Rusty Russell a76518a029 common/sphinx: rename hop_data to hop_data_legacy. 5 years ago
Rusty Russell 21d2cc663b lightningd: apply feerate changes correctly. 5 years ago
Rusty Russell f019dc3d71 lightningd: fix sizeof() argument correctly. 5 years ago
Yash Bhutwala c25ce826ab take the size of 'shared_secret' itself rather than its address 5 years ago
Rusty Russell fa686c5ca7 channeld: reject wumbo payments with more style. 5 years ago
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 6 years ago
trueptolemy bcec6bb6cc API: 'listforwards' now include 'payment_hash' field 6 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) 6 years ago