322 Commits (063b319da11701c70d13b1caedc2d3779dc2db2b)

Author SHA1 Message Date
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
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
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
Rusty Russell bc4809aa85 gossipd: make sure master only ever sees one active connection. 7 years ago
Rusty Russell b68fb24758 read_peer_msg: handle incoming gossip from gossipd. 7 years ago
Rusty Russell ab9d9ef3b8 gossipd: drain fd instead of passing around gossip index. 7 years ago
Rusty Russell bee795ed68 channeld: don't do explicit state update. 7 years ago
Rusty Russell 1773b03380 channeld: accept SHUTDOWN before channel is locked. 7 years ago
Rusty Russell 1a4a59d221 common/daemon: common routines for all daemons. 7 years ago
Rusty Russell 8975fc2ceb libwally: use their secp context for all our daemons. 7 years ago
Rusty Russell 20bbd92564 utils: add subdaemon_shutdown() to consolidate subdaemon cleanup. 7 years ago
practicalswift e25297dd0a Remove unused functions not covered by unit tests 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago