Skip to content

Commit b2c1398

Browse files
authored
Clarify bootnode start command
1 parent de2594f commit b2c1398

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/running.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@ Optionally you can set up a bootnode that all the other nodes will first connect
110110

111111
1- To generate the key for the first time:
112112

113-
`bootnode –genkey tmp_file.txt //this will generate a key inside a “tmp_file.txt” file`
113+
`bootnode –genkey tmp_file.txt //this will start a bootnode with an enode address and generate a key inside a “tmp_file.txt” file`
114114

115-
2- To start using the key and start your bootnode:
115+
2- To later restart the bootnode using the same key (and hence use the same enode url):
116116

117-
`bootnode –nodekey tmp_file.txt // start the bootnode and output the enode url`
117+
`bootnode –nodekey tmp_file.txt`
118118

119119
or
120120

121-
`bootnode –nodekeyhex 77bd02ffa26e3fb8f324bda24ae588066f1873d95680104de5bc2db9e7b2e510 // This should be read from tmp_file.txt`
121+
`bootnode –nodekeyhex 77bd02ffa26e3fb8f324bda24ae588066f1873d95680104de5bc2db9e7b2e510 // Key from tmp_file.txt`
122122

123123

124124
### Start node

0 commit comments

Comments
 (0)