Skip to content

Commit

Permalink
Clarify bootnode start command
Browse files Browse the repository at this point in the history
  • Loading branch information
tylobban authored Feb 10, 2017
1 parent de2594f commit b2c1398
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/running.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ Optionally you can set up a bootnode that all the other nodes will first connect

1- To generate the key for the first time:

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

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

`bootnode –nodekey tmp_file.txt // start the bootnode and output the enode url`
`bootnode –nodekey tmp_file.txt`

or

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


### Start node
Expand Down

0 comments on commit b2c1398

Please sign in to comment.