Skip to content

Commit f569ba5

Browse files
authored
Merge pull request #92 from King31T/develop
Fix: comment of `node.discovery`
2 parents ecea025 + 31dca11 commit f569ba5

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

conf/main_net_config.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ node {
180180
inactiveThreshold = 600 //seconds
181181

182182
p2p {
183-
version = 11111 # 11111: mainnet; 20180622: testnet
183+
version = 11111 # mainnet:11111; nile testnet:201910292
184184
}
185185

186186
active = [

conf/private_net_config_others.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ storage {
5151

5252
# this part of config is used to node discovery.
5353
node.discovery = {
54-
enable = true # you should set this entry value with true if you want your node can be discovered by other node.
54+
enable = true # you should set this entry value with true if you want to discover other nodes or be discovered by other nodes.
5555
persist = true # this entry is used to determined to whether storing the peers in the database or not.
5656
}
5757

@@ -96,7 +96,7 @@ node {
9696
isOpenFullTcpDisconnect = true
9797

9898
p2p {
99-
version = 1 # 11111: Mainnet; 20180622: Nile testnet; you can set other number when you deploy one private net, but the node must have the same number in some private net.
99+
version = 1 # mainnet:11111; nile testnet:201910292; other net: customized, should not be equal to 11111 or 201910292.
100100
}
101101

102102
active = [

conf/private_net_config_witness1.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ storage {
5151

5252
# this part of config is used to node discovery.
5353
node.discovery = {
54-
enable = true # you should set this entry value with true if you want your node can be discovered by other node.
54+
enable = true # you should set this entry value with true if you want to discover other nodes or be discovered by other nodes.
5555
persist = true # this entry is used to determined to whether storing the peers in the database or not.
5656
}
5757

@@ -96,7 +96,7 @@ node {
9696
isOpenFullTcpDisconnect = true
9797

9898
p2p {
99-
version = 1 # 11111: Mainnet; 20180622: Nile testnet; you can set other number when you deploy one private net, but the node must have the same number in some private net.
99+
version = 1 # mainnet:11111; nile testnet:201910292; other net: customized, should not be equal to 11111 or 201910292.
100100
}
101101

102102
active = [

conf/private_net_config_witness2.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ storage {
5151

5252
# this part of config is used to node discovery.
5353
node.discovery = {
54-
enable = true # you should set this entry value with true if you want your node can be discovered by other node.
54+
enable = true # you should set this entry value with true if you want to discover other nodes or be discovered by other nodes.
5555
persist = true # this entry is used to determined to whether storing the peers in the database or not.
5656
}
5757

@@ -96,7 +96,7 @@ node {
9696
isOpenFullTcpDisconnect = true
9797

9898
p2p {
99-
version = 1 # 11111: Mainnet; 20180622: Nile testnet; you can set other number when you deploy one private net, but the node must have the same number in some private net.
99+
version = 1 # mainnet:11111; nile testnet:201910292; other net: customized, should not be equal to 11111 or 201910292.
100100
}
101101

102102
active = [

0 commit comments

Comments
 (0)