|
|
@ -15,7 +15,7 @@ For mainnet, Rinkeby, Ropsten, and Görli, Pantheon predefines a list of enode U |
|
|
|
|
|
|
|
|
|
|
|
### Start Bootnode |
|
|
|
### Start Bootnode |
|
|
|
|
|
|
|
|
|
|
|
To start a bootnode for a private network: |
|
|
|
To start a bootnode for a private network, complete the following steps: |
|
|
|
|
|
|
|
|
|
|
|
1. Export the public key to a file: |
|
|
|
1. Export the public key to a file: |
|
|
|
|
|
|
|
|
|
|
@ -36,7 +36,7 @@ To start a bootnode for a private network: |
|
|
|
|
|
|
|
|
|
|
|
2. Start the bootnode, specifying: |
|
|
|
2. Start the bootnode, specifying: |
|
|
|
|
|
|
|
|
|
|
|
* Genesis file and data directory as in the previous step. |
|
|
|
* Genesis file and data directory, as in the previous step. |
|
|
|
* No arguments for the [`--bootnodes` option](../../Reference/Pantheon-CLI-Syntax.md#bootnodes) because this is your bootnode. |
|
|
|
* No arguments for the [`--bootnodes` option](../../Reference/Pantheon-CLI-Syntax.md#bootnodes) because this is your bootnode. |
|
|
|
|
|
|
|
|
|
|
|
!!! example |
|
|
|
!!! example |
|
|
@ -59,4 +59,4 @@ To start a node specifying the bootnode for P2P discovery: |
|
|
|
!!! example |
|
|
|
!!! example |
|
|
|
```bash |
|
|
|
```bash |
|
|
|
pantheon --genesis-file=privateNetworkGenesis.json --data-path=nodeDataPath --p2p-host=127.0.0.1 --p2p-port=30301 --network-id=123 --bootnodes=enode://c35c3ec90a8a51fd5703594c6303382f3ae6b2ecb99bab2c04b3794f2bc3fc2631dabb0c08af795787a6c004d8f532230ae6e9925cbbefb0b28b79295d615f@127.0.0.1:30303 |
|
|
|
pantheon --genesis-file=privateNetworkGenesis.json --data-path=nodeDataPath --p2p-host=127.0.0.1 --p2p-port=30301 --network-id=123 --bootnodes=enode://c35c3ec90a8a51fd5703594c6303382f3ae6b2ecb99bab2c04b3794f2bc3fc2631dabb0c08af795787a6c004d8f532230ae6e9925cbbefb0b28b79295d615f@127.0.0.1:30303 |
|
|
|
``` |
|
|
|
``` |
|
|
|