29 Commits (7d27501c944c2acac998252f0ffacebc58bd93a6)

Author SHA1 Message Date
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
Rusty Russell 4a161b710d channeld: pass htlcs to master daemon in batches. 8 years ago
Rusty Russell b07b1c1690 channeld: dump htlc transitions. 8 years ago
Rusty Russell 7105085801 lightningd/channel: hand back changed htlcs, not callbacks. 8 years ago
Rusty Russell 6f181e0dc1 BOLT update for 8-byte satoshi values, and other updates. 8 years ago
Rusty Russell 7389aae26a Massive BOLT text underscore and formatting updates. 8 years ago
Christian Decker f24aab1916 sphinx: Updating daemon to new sphinx implementation 8 years ago
Rusty Russell 2d635a381b lightningd/channel: pass owner, not sender to channel_fulfill_htlc / channel_fail_htlc 8 years ago
Rusty Russell be4af38d0c channel: unwrap and send incoming HTLCs to master. 8 years ago
Rusty Russell 8f2c4348a9 lightningd/channel.c: tell if we're still awaiting revoke_and_ack. 8 years ago
Rusty Russell 3041cd5915 lightningd/channel.c: clearer functions names, better return values. 8 years ago
Rusty Russell f83c04fdbe lightningd/channel.c: make callbacks clearly generic 8 years ago