492 Commits (f4ee41a9890edd27d66273656a76014729cd978f)

Author SHA1 Message Date
Rusty Russell 692bae7873 channeld: create get_per_commitment_point helper. 6 years ago
Rusty Russell 28977435a3 channeld: fix incorrect comment on reestablish. 6 years ago
Rusty Russell 9f175deecd lightningd: update feerate upon receiving revoke_and_ack from fundee. 6 years ago
Rusty Russell 63e4ea17af channeld: don't commit until we've seen recent incoming msg, ping if required. 6 years ago
Rusty Russell 93e445daf5 channeld: send our own pings whenever we indicate we want to send a commitment. 6 years ago
Rusty Russell 86a46cb1d4 channeld: push TCP output on commitment and revocation messages. 6 years ago
Christian Decker 8a34933c1a gossip: Annotate locally added channels with their capacity 7 years ago
Rusty Russell 136f10e4a3 common/read_peer_msg: remove. 6 years ago
Rusty Russell 6b5462b637 channeld: use deconstructed read_peer_msg helpers. 6 years ago
Rusty Russell 0b08601951 sync_crypto_write/sync_crypto_read: just fail, don't return NULL. 6 years ago
Rusty Russell 74d428109a channeld: it's OK to block on writing to peer. 6 years ago
practicalswift 9d9a9523d0 Use snprintf(...) instead of sprintf(...) 7 years ago
practicalswift b5682a773b Remove dead stores 7 years ago
Christian Decker 6bbea741d1 pay: Strip the type prefix from nested channel_updates 7 years ago
Rusty Russell 480e32a236 channeld: don't resize tal_fmt() output. 7 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 7 years ago
Rusty Russell 162879d6a2 channeld: use fulfilled_htlc and failed_htlc msgs in single htlc case. 7 years ago
Rusty Russell 3c651f19a8 channeld: send correct channel_update when reporting failure. 7 years ago
Rusty Russell 1119dd5577 channeld: always receive and maintain short_channel_id of failing channel. 7 years ago
Rusty Russell 378d73cd96 channeld: fix dev_disconnect doublefree crash. 7 years ago
Rusty Russell b5fcd54ef0 channeld: don't read from gossipfd while we're reconnecting. 7 years ago
Rusty Russell a52d522525 gossipd: handle ping messages for remote peers too. 7 years ago
Rusty Russell cdc97f5114 channeld: use HSM for signatures and to get per_commitment_point, remove seed. 7 years ago
Rusty Russell 8f9408a072 channeld: store next per_commit_point. 7 years ago
Rusty Russell 909bda938b channeld: add hsm_req() helper. 7 years ago
Rusty Russell dd2773dfc0 common/keyset: use struct basepoints rather than open-coding fields. 7 years ago
Rusty Russell 9dd0415a15 channeld: don't free msg in init. 7 years ago
Rusty Russell 26deec0c82 channeld: remove duplicate call to channel_announcement_negotiate(). 7 years ago
Rusty Russell d4300e0ce8 hsm: create both channel_announcement signatures. 7 years ago
Rusty Russell b2b85100d7 common/derive_basepoints: add routines for marshal/unmarshal. 7 years ago
Rusty Russell e217bc1220 per-commit-secret is a struct secret, not a sha256. 7 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 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 e92f244b80 channeld: hoist make_failmsg above send_fail_or_fulfill. 7 years ago
Rusty Russell 2d533dc82e channeld: don't manually disable channel. 7 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 7 years ago
Rusty Russell b40b6240ce channeld: fix up BOLT references. 7 years ago
Rusty Russell 4990b6bbcc channeld: don't crash if remote asks for unnecessary retransmit. 7 years ago
Rusty Russell 6c6da45f53 wire: Update to lastest BOLT draft. 7 years ago
nicolas.dorier 620e199cb3 Make dump_htlcs SUPERVERBOSE 7 years ago
Rusty Russell fca5a9ef30 channeld: tell gossipd to generate channel_updates. 7 years ago
Rusty Russell ccbccf0388 channeld: always tell gossipd about local channels. 7 years ago
Rusty Russell f92712f22c channeld: always send either a temporary or final update if we can. 7 years ago
Rusty Russell 00d4c04208 channeld: fix conditions under which we can send a channel update. 7 years ago
Rusty Russell 177a1fc88e gossipd: handle local channel creation separately from update. 7 years ago
Rusty Russell f0231b0e6f channeld: don't send temporary announcements more than once. 7 years ago
Rusty Russell f014cbb78c channeld: clean up announcement state tests. 7 years ago