lighthouse/beacon_node
Age Manning babd153352 Prevent adding and dialing bootnodes when discovery is disabled (#2247)
This is a small PR which prevents unwanted bootnodes from being added to the DHT and being dialed when the `--disable-discovery` flag is set. 

The main reason one would want to disable discovery is to connect to a fix set of peers. Currently, regardless of what the user does, Lighthouse will populate its DHT with previously known peers and also fill it with the spec's bootnodes. It will then dial the bootnodes that are capable of being dialed. This prevents testing with a fixed peer list.

This PR prevents these excess nodes from being added and dialed if the user has set `--disable-discovery`.
2021-03-08 06:27:49 +00:00
..
beacon_chain Use advanced state for block production (#2241) 2021-03-04 04:43:31 +00:00
client Use the database to persist the pubkey cache (#2234) 2021-03-04 01:25:12 +00:00
eth1 Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
eth2_libp2p Update to the latest libp2p (#2239) 2021-03-02 05:59:49 +00:00
genesis Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
http_api Use advanced state for block production (#2241) 2021-03-04 04:43:31 +00:00
http_metrics Switch back to warp with cors wildcard support (#2211) 2021-02-18 22:33:12 +00:00
network Prevent adding and dialing bootnodes when discovery is disabled (#2247) 2021-03-08 06:27:49 +00:00
operation_pool Update pool/attestations and committees endpoints (#1899) 2020-11-18 23:31:39 +00:00
src Prevent adding and dialing bootnodes when discovery is disabled (#2247) 2021-03-08 06:27:49 +00:00
store Use the database to persist the pubkey cache (#2234) 2021-03-04 01:25:12 +00:00
tests Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
timer Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
websocket_server Server sent events (#1920) 2020-12-04 00:18:58 +00:00
Cargo.toml v1.1.3 (#2217) 2021-02-22 06:21:38 +00:00