335 Commits (21c8eaf1059465b82d71028c7ff84182fa194f72)

Author SHA1 Message Date
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(...) 6 years ago
practicalswift b5682a773b Remove dead stores 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 dd2773dfc0 common/keyset: use struct basepoints rather than open-coding fields. 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 5a184c24e8 channeld: add extra check to channel_force_htlcs. 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
nicolas.dorier 620e199cb3 Make dump_htlcs SUPERVERBOSE 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
Saibato 877f63e99e Initial TOR v2/v3 support. 7 years ago
Rusty Russell 99bba2a23c channeld: don't send ANNOUNCEMENT_SIGNATURES if we've send shutdown. 7 years ago