Skip to content

Commit 5891ba2

Browse files
authored
Merge pull request #2571 from CortexFoundation/dev
Dev
2 parents 9b6f6c4 + b06e0b0 commit 5891ba2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

cmd/devp2p/dnscmd.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ var (
102102
)
103103

104104
const (
105-
rootTTL = 30 * 60 // 30 min
106-
treeNodeTTL = 4 * 7 * 24 * 60 * 60 // 4 weeks
107-
treeNodeTTLCloudflare = 24 * 60 * 60 // 1 day
105+
rootTTL = 30 * 60 // 30 min
106+
treeNodeTTL = 7 * 24 * 60 * 60 // 1 weeks
107+
treeNodeTTLCloudflare = 24 * 60 * 60 // 1 day
108108
)
109109

110110
// dnsSync performs dnsSyncCommand.

p2p/discover/v4wire/v4wire.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737

3838
// RPC packet types
3939
const (
40-
PingPacket = iota + 1 // zero is 'reserved'
40+
PingPacket = iota + 100 // zero is 'reserved'
4141
PongPacket
4242
FindnodePacket
4343
NeighborsPacket

0 commit comments

Comments
 (0)