According to optimism spec, disc v5 is used as a default protocol for peer discovery.
This PR makes --v5disc flag enabled by default.
For backwards compatibility, v4 is still always enabled unless explicitly set with --nodiscover flag. Also, setting --nodiscover won't disable v5disc. To completely disable p2p in op-erigon, set both --nodiscover and --v5disc=false.
This is useful when using execution-layer syncing which will soon be available on op-erigon through p2p staged sync.
According to optimism spec, disc v5 is used as a default protocol for peer discovery.
This PR makes
--v5disc
flag enabled by default.For backwards compatibility, v4 is still always enabled unless explicitly set with
--nodiscover
flag. Also, setting--nodiscover
won't disable v5disc. To completely disable p2p in op-erigon, set both--nodiscover
and--v5disc=false
.This is useful when using execution-layer syncing which will soon be available on op-erigon through p2p staged sync.