170 Commits (73cd009a4c0c36d9ccd13de8b0c398c0fc14e607)

Author SHA1 Message Date
Rusty Russell 73cd009a4c gossipd/lightningd: use wireaddr_internal. 7 years ago
Rusty Russell e6c678e5df gossipd: take over address determination, from master. 7 years ago
Rusty Russell 356e5dcea8 wireaddr: helpers to convert to/from IPv4/v6 addresses. 7 years ago
Rusty Russell fe96fe10c7 Clean up network options. 7 years ago
Rusty Russell ed466a8523 lightningd: make explicit listen and reconnect flags. 7 years ago
Christian Decker 9cfd09dc4a gossip: HalfChans are public if we have an update and the Chan is 7 years ago
practicalswift 5db73c6e27 Avoid static analyzer warnings about potentially uninitialized values 7 years ago
Rusty Russell f083a699e2 gossipd: separate init and activate. 7 years ago
practicalswift abf510740d Force the use of the POSIX C locale for all commands and their subprocesses 7 years ago
ZmnSCPxj 69cdfba3c8 gossip: Use gossiped node_announcement to locate nodes. 7 years ago
Rusty Russell 83e847575c gossipd: don't handle multiple connect requests, combine them in lightningd. 7 years ago
Rusty Russell 3b29d2b75a gossipd: don't create a new chain of timers on every connect command. 7 years ago
Rusty Russell c6483a57d0 gossipd: give more distinct errors. 7 years ago
Rusty Russell a134ca9659 gossipd: use exponential backoff on reconnect for important peers. 7 years ago
Rusty Russell bc4809aa85 gossipd: make sure master only ever sees one active connection. 7 years ago
Rusty Russell be1f33b265 gossipd: have master explicitly tell us when peer is disconnected. 7 years ago
Rusty Russell ab9d9ef3b8 gossipd: drain fd instead of passing around gossip index. 7 years ago
Rusty Russell 72c459dd6c gossipd: keep reaching struct only when we're actively connecting, and don't retry 7 years ago
Rusty Russell 20e3a18af5 gossipd: maintain a separate structure to track important peers. 7 years ago
Rusty Russell 8c2c1fe1c2 openingd: tell gossipd that the peer is important once funding tx in place. 7 years ago
Rusty Russell c9fa9817f6 gossipd: explicitly track which peers are important. 7 years ago
Rusty Russell b1498f07c5 gossipd: exponential backoff for reconnect (5 minute ceiling). 7 years ago
Christian Decker b84804009a gossip: Use the DNS seeds to look up nodes if we don't have an addr 7 years ago
Rusty Russell 5551c161ca gossipd: finish startup before master prints that it's ready. 7 years ago
Christian Decker 64fbea1528 gossip_store: Save local_add_channel messages and replay them 7 years ago
Christian Decker 7497f972f1 moveonly: Move handle_local_add_channel to routing.h 7 years ago
Christian Decker ddbf016152 gossip: Pass rstate to handle_local_add_channel directly 7 years ago
Rusty Russell b0c2e3cd5c gossipd: use a separate CSV file for the gossip_store types. 7 years ago
Rusty Russell 7d0a76c533 goossipd: make store load truncate on errors. 7 years ago
ZmnSCPxj 86290b54d4 routing: Use 64-bit msatoshi for messages to and from routing. 7 years ago
Christian Decker a121b7dbc3 gossip: Make gossipd less noisy when receiving requests 7 years ago
Christian Decker 2de7f622cb gossip: Add an explicit debug message when handing back a peer 7 years ago
practicalswift 693d6fddab Adjust loglevel for error message "Failed to get peername for incoming conn" 7 years ago
Rusty Russell 1a4a59d221 common/daemon: common routines for all daemons. 7 years ago
Rusty Russell 20bbd92564 utils: add subdaemon_shutdown() to consolidate subdaemon cleanup. 7 years ago
Christian Decker 63f22d70b5 gossip: Store channel deletions so we don't re-add them on restart 7 years ago
Christian Decker 9132a097b5 gossip: Free the channel when notified of its funding being spent 7 years ago
Christian Decker 5571f2143e gossip: Added message to notify gossipd of outpoint spends 7 years ago
Christian Decker 44e23b3773 gossip: Replay the entire store on init instead of when idle 7 years ago
Christian Decker c4ea79cc5c Revert gossip: Track whether we read a message from store or peer 7 years ago
Christian Decker 6e01f38d7d gossip: Use the custom gossip wire msg to wrap channel_announcements 7 years ago
Christian Decker 0a5ea76d77 gossip: Add message types to store gossip msgs and associate data 7 years ago
Christian Decker a571bf9d3a gossip: Track whether we read a message from store or peer 7 years ago
Christian Decker 1a5a4f5853 gossip: Replay gossip messages from the gossip_store 7 years ago
Christian Decker e750d3cda1 gossip: Move error return into peer handler 7 years ago
Christian Decker 49b0c375ce gossip: Added gossip store primitives 7 years ago
practicalswift 0bf1b01425 Fix typos 7 years ago
Rusty Russell e63b7bb539 take: allocate temporary variables off NULL. 7 years ago
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