302 Commits (52917ff6c9922d636ab3ff6f9f68e41c4a5503bf)

Author SHA1 Message Date
Rusty Russell 52917ff6c9 More flexible address wildcards, only add wildcard if nothing else. 7 years ago
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
Christian Decker b028a363d8 gossip: Make sure we never add a channel twice 7 years ago
practicalswift 8cc02f63bc gossipd: Handle failed lseek(...) 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 8a16963f22 channeld: get told when announce depth already reached. 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
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