434 Commits (d3edfc802888b2df49a1db8b24a32ccc6ca81237)

Author SHA1 Message Date
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
Christian Decker c635396766 common: Moving some bech32 related utilities to bech32_util 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
conanoc 7170521895 change spaces to tabs, align function parameters 7 years ago
conanoc 0733770559 Adjust indents 7 years ago
Rusty Russell b0c2e3cd5c gossipd: use a separate CSV file for the gossip_store types. 7 years ago
Rusty Russell 57b38cac71 gossip_store: empty, don't truncate, on error. 7 years ago
Rusty Russell d5767fb3bb gossipd: print stats even if we truncate store. 7 years ago
Rusty Russell 2b8293c9f6 gossipd: don't use pwrite, better error messaging on init. 7 years ago
Rusty Russell 7d0a76c533 goossipd: make store load truncate on errors. 7 years ago
Rusty Russell 3e1b584e73 gossipd: always add message internally before store. 7 years ago
Rusty Russell abbbfac8e2 gossipd: return bool from message announce routines. 7 years ago
Rusty Russell e8a052eb6d routing: add more debugging to announcement replaced fail. 7 years ago
Rusty Russell 30c1ab424f gossipd: reorder handle_node_announcement 7 years ago
Rusty Russell 4aca909acb routing: don't store node_announce unannounced nodes. 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 0e0ad1aa4d gossip: Check that we have a node before applying changes 7 years ago
practicalswift 7e9750ffee Reduce variable scopes 7 years ago
Rusty Russell 439dc0f991 gossipd/gossip_store.h: fix check-source for new source file header guards 7 years ago
Christian Decker 82e1f5ade1 gossip: Make gossip_store_append private 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 3826518bd6 gossip: Wrap node_announcements in gossip_store messages 7 years ago
Christian Decker db13c7e851 gossip: Wrap channel_updates in the gossip_store as well 7 years ago
Christian Decker 6e01f38d7d gossip: Use the custom gossip wire msg to wrap channel_announcements 7 years ago
Christian Decker 6894f20927 gossip: Change gossip_store message length to u32 7 years ago
Christian Decker b5602a0973 gossip: Add version byte to the gossip_store 7 years ago
Christian Decker 0a5ea76d77 gossip: Add message types to store gossip msgs and associate data 7 years ago
Christian Decker 1b6db5fd52 gossip: Remove redundant replaysize 7 years ago
Christian Decker 96ad0e7044 gossip: Extract network changes into their own functions 7 years ago
Christian Decker a571bf9d3a gossip: Track whether we read a message from store or peer 7 years ago