mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-01-08 22:28:12 -05:00
darkfid: remove second miners p2p
The usage of a second p2p network for miners was a premature optimization for faster block propagation between block producers, but in reality we don't know if its required yet, therefore we eliminate the extra complexity it introduces
This commit is contained in:
@@ -37,8 +37,8 @@ recipient = "9vw6WznKk7xEFQwwXhJWMMdjUPi3cXL8NrFKQpKifG1U"
|
||||
# Skip syncing process and start node right away
|
||||
skip_sync = false
|
||||
|
||||
## Localnet sync P2P network settings
|
||||
[network_config."localnet".sync_net]
|
||||
## Localnet P2P network settings
|
||||
[network_config."localnet".net]
|
||||
# P2P accept addresses the instance listens on for inbound connections
|
||||
inbound = ["tcp+tls://0.0.0.0:48542"]
|
||||
|
||||
@@ -50,17 +50,3 @@ peers = ["tcp+tls://0.0.0.0:48242", "tcp+tls://0.0.0.0:48342", "tcp+tls://0.0.0.
|
||||
|
||||
# Allow localnet hosts
|
||||
localnet = true
|
||||
|
||||
## Localnet miners P2P network settings
|
||||
[network_config."localnet".miners_net]
|
||||
# P2P accept addresses the instance listens on for inbound connections
|
||||
inbound = ["tcp+tls://0.0.0.0:48541"]
|
||||
|
||||
# Whitelisted network transports for outbound connections
|
||||
allowed_transports = ["tcp+tls"]
|
||||
|
||||
# Peer nodes to manually connect to
|
||||
peers = ["tcp+tls://0.0.0.0:48241", "tcp+tls://0.0.0.0:48341", "tcp+tls://0.0.0.0:48441"]
|
||||
|
||||
# Allow localnet hosts
|
||||
localnet = true
|
||||
|
||||
Reference in New Issue
Block a user