Browse Source

fixup! options: Add `--offline` to disable listening and auto-reconnection

ppa-0.6.1
Christian Decker 7 years ago
committed by Rusty Russell
parent
commit
d499c34db2
  1. 5
      gossipd/gossip.c

5
gossipd/gossip.c

@ -1502,10 +1502,7 @@ static struct io_plan *gossip_init(struct daemon_conn *master,
}
daemon->rstate = new_routing_state(daemon, &chain_hash, &daemon->id);
if (port)
setup_listeners(daemon, port);
else
status_trace("Not listeing for incoming connections due to --no-listen");
setup_listeners(daemon, port);
new_reltimer(&daemon->timers, daemon,
time_from_sec(daemon->update_channel_interval/2),

Loading…
Cancel
Save