40 Commits (7635b24a29e274a9e85cf9a8c963d364fa3fadec)

Author SHA1 Message Date
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 7 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell 1119dd5577 channeld: always receive and maintain short_channel_id of failing channel. 7 years ago
Rusty Russell dd2773dfc0 common/keyset: use struct basepoints rather than open-coding fields. 7 years ago
Rusty Russell 68a8eeea21 htlc_wire: rename malformed to failcode in struct failed_htlc. 7 years ago
Rusty Russell 5a184c24e8 channeld: add extra check to channel_force_htlcs. 7 years ago
Rusty Russell efee948d3a channeld: handle HTLCs failed by failcode uniformly. 7 years ago
Rusty Russell 8155bfcf18 channeld: make channel_fulfill_htlc return the HTLC it fulfulled. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Rusty Russell b40b6240ce channeld: fix up BOLT references. 7 years ago
nicolas.dorier 620e199cb3 Make dump_htlcs SUPERVERBOSE 7 years ago
Rusty Russell 0a6e3d1e13 utils: remove tal_tmpctx altogether, use global. 7 years ago
Rusty Russell ccc9414356 status: remove trc context now we have tmpctx. 7 years ago
Rusty Russell 8640a5c329 channeld: keep billboard uptodate. 7 years ago
Rusty Russell e17b0ebcb4 channeld: map htlc add/remove errors to names. 7 years ago
Rusty Russell fcffbd0f20 channeld: rename new_channel to new_full_channel. 7 years ago
Rusty Russell 526d3a232e tools/generate_wire.py: generate varlen arrays properly. 7 years ago
Rusty Russell 0237e0b28c bitcoin: create new wrapper type bitcoin_txid, log backward endianness. 7 years ago
practicalswift 307e8c0180 Avoid NULL pointer dereference when new_initial_channel(...) fails 7 years ago
practicalswift 61c47c09d0 Fix typos 7 years ago
Rusty Russell db372211c0 channeld: save shared secret for incoming htlc when it comes in. 7 years ago
Rusty Russell fc4a7cf103 channeld: return htlc from channel_add_htlc and channel_fail_htlc. 7 years ago
Rusty Russell 02411b04e4 channel: remove awaiting_revoke_and_ack flag. 7 years ago
Rusty Russell 2329820460 channeld: make sure we wait for revoke_and_ack after rexmit of commitment_signed 7 years ago
Rusty Russell c3cb7f1c85 channeld: don't assert that we're expecting revoke_and_ack. 7 years ago
Rusty Russell 6fac3438dd channeld: track feerates. 7 years ago
Rusty Russell 8999e2293a channeld: implement approx_max_feerate. 7 years ago
Rusty Russell f45d962a14 channeld: implement and refine fee-related functions. 7 years ago
Rusty Russell b836b452dc feerate: keep feerates separately for each side. 7 years ago
Rusty Russell f1e4cad9d4 feerate: use u32 everywhere. 7 years ago
Rusty Russell 0a131c6389 channel: use flag to indicate we're awaiting revoke_and_ack. 7 years ago
Rusty Russell c328a76438 channeld: use flags to track whether changes are pending. 7 years ago
Rusty Russell 5fb4577890 channeld/full_channel: fix incorrect reutrn from channel_rcvd_revoke_and_ack. 7 years ago
Rusty Russell 4db460903a htlc_tx: wire up the htlc points. 7 years ago
Rusty Russell fe5614a489 basepoints/secrets: add htlc entry 7 years ago
Rusty Russell 2a28173891 Typo fix: CTLV -> CLTV. 7 years ago
Rusty Russell e137e2527f Update BOLT references with typo fixes. 7 years ago
Rusty Russell 7e13e9e457 channeld: don't allow NULL htlcmap for full_channel 7 years ago
Rusty Russell 1cf33eefe2 lightningd: handle case where channeld fails locally-generated HTLC. 7 years ago
Rusty Russell bbed5e3411 Rename subdaemons, move them into top level. 7 years ago
Rusty Russell a37c165cb9 common: move some files out of lightningd/ 7 years ago
Rusty Russell 8375857116 common: absorb remaining files from daemon/ 7 years ago
Rusty Russell 85ff95e829 common: new directory for any shared objects. 7 years ago
Rusty Russell 04db39558d htlc_tx: use keyset abstraction. 7 years ago
Rusty Russell 4bfaaef408 keyset: abstraction over what keys we need for a specific commitment. 7 years ago
Rusty Russell 6fa90c926a channeld: exit after shutdown when no more HTLCs. 8 years ago
Rusty Russell b600e6118c lightningd/channel: hand commit_index in when creating txs only. 8 years ago
Rusty Russell 3f65f0f000 lightningd: fix up malformed onion handling. 8 years ago
Rusty Russell dc160110a6 lightningd/channel: support forcing HTLCs to restore channel state. 8 years ago
Rusty Russell 4151135be2 channel: change initialization to have explicit local amount, and commot indices. 8 years ago