153 Commits (93e445daf5966bde966ac605077106a44acb9e7d)

Author SHA1 Message Date
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 6 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
Christian Decker 6bbea741d1 pay: Strip the type prefix from nested channel_updates 6 years ago
Rusty Russell 480e32a236 channeld: don't resize tal_fmt() output. 6 years ago
Rusty Russell 5cf34d6618 Remove tal_len, use tal_count() or tal_bytelen(). 6 years ago
Rusty Russell 162879d6a2 channeld: use fulfilled_htlc and failed_htlc msgs in single htlc case. 6 years ago
Rusty Russell 3c651f19a8 channeld: send correct channel_update when reporting failure. 6 years ago
Rusty Russell 1119dd5577 channeld: always receive and maintain short_channel_id of failing channel. 6 years ago
Rusty Russell 378d73cd96 channeld: fix dev_disconnect doublefree crash. 6 years ago
Rusty Russell b5fcd54ef0 channeld: don't read from gossipfd while we're reconnecting. 6 years ago
Rusty Russell a52d522525 gossipd: handle ping messages for remote peers too. 6 years ago
Rusty Russell cdc97f5114 channeld: use HSM for signatures and to get per_commitment_point, remove seed. 6 years ago
Rusty Russell 8f9408a072 channeld: store next per_commit_point. 6 years ago
Rusty Russell 909bda938b channeld: add hsm_req() helper. 6 years ago
Rusty Russell 9dd0415a15 channeld: don't free msg in init. 6 years ago
Rusty Russell 26deec0c82 channeld: remove duplicate call to channel_announcement_negotiate(). 6 years ago
Rusty Russell d4300e0ce8 hsm: create both channel_announcement signatures. 6 years ago
Rusty Russell b2b85100d7 common/derive_basepoints: add routines for marshal/unmarshal. 6 years ago
Rusty Russell e217bc1220 per-commit-secret is a struct secret, not a sha256. 6 years ago
Rusty Russell 6c98457ef2 per-peer seed is a 'struct secret' not a 'struct privkey'. 6 years ago
Rusty Russell 68a8eeea21 htlc_wire: rename malformed to failcode in struct failed_htlc. 6 years ago
Rusty Russell efee948d3a channeld: handle HTLCs failed by failcode uniformly. 6 years ago
Rusty Russell 8155bfcf18 channeld: make channel_fulfill_htlc return the HTLC it fulfulled. 6 years ago
Rusty Russell e92f244b80 channeld: hoist make_failmsg above send_fail_or_fulfill. 6 years ago
Rusty Russell 2d533dc82e channeld: don't manually disable channel. 6 years ago
Rusty Russell fed5a117e7 Update ccan/structeq. 6 years ago
Rusty Russell b40b6240ce channeld: fix up BOLT references. 6 years ago
Rusty Russell 4990b6bbcc channeld: don't crash if remote asks for unnecessary retransmit. 6 years ago
Rusty Russell 6c6da45f53 wire: Update to lastest BOLT draft. 6 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
Rusty Russell 323472225c channeld: simplify announce/locked-in callback, 7 years ago
Rusty Russell 981ffb83f7 channeld: don't send updates for 0:0:0. 7 years ago
Rusty Russell 540c68d7ca gossipd/gossip_constants.h: Single place for BOLT constants. 7 years ago
Rusty Russell 9d1e496b11 gossipd: use a real update in local_add_channel. 7 years ago
Rusty Russell e93682e3bf status: make status_io a more generic mechanism. 7 years ago
Rusty Russell 99bba2a23c channeld: don't send ANNOUNCEMENT_SIGNATURES if we've send shutdown. 7 years ago
Christian Decker 7aa13cc949 channel: Queue a channel_update to the peer upon funding_locked 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
Rusty Russell 8a16963f22 channeld: get told when announce depth already reached. 7 years ago