Skip to content

Commit e714152

Browse files
committed
review comments
1 parent 8b18c45 commit e714152

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

cmd/vdn-bootnode/main.go

+1-5
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,12 @@ import (
1010
"github.com/ethereum/go-ethereum/log"
1111
"github.com/ethereum/go-ethereum/vdn"
1212
"github.com/prysmaticlabs/prysm/v5/network"
13-
14-
"github.com/sirupsen/logrus"
1513
)
1614

1715
var (
1816
debug = flag.Bool("debug", false, "Enable debug logging")
1917
privateKeyPath = flag.String("private-path", "./key", "Path to private key to use for peer ID")
20-
port = flag.Int("port", 3000, "udp port to listen for discovery connections")
18+
port = flag.Int("port", 13000, "udp port to listen for discovery connections")
2119
externalIP = flag.String("external-ip", "", "External IP for the bootnode")
2220
)
2321

@@ -26,8 +24,6 @@ func main() {
2624
fmt.Printf("Starting bootnode...\n")
2725

2826
if *debug {
29-
logrus.SetLevel(logrus.DebugLevel)
30-
3127
// Geth specific logging.
3228
log.SetDefault(log.NewLogger(log.NewTerminalHandlerWithLevel(os.Stderr, log.LvlTrace, true)))
3329

node/defaults.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ var DefaultConfig = Config{
8181
VDN: vdn.Config{
8282
HostAddress: "127.0.0.1",
8383
NodeKeyPath: "", // by default, it will be auto set DataDir/geth/nodekey_vdn
84-
QUICPort: 3000,
85-
TCPPort: 3000,
84+
QUICPort: 13000,
85+
TCPPort: 13000,
8686
MaxPeers: 50,
8787
EnableQuic: true,
8888
EnableDiscovery: true,

0 commit comments

Comments
 (0)