Simplified instructions

Yuriy Glukhov 2018-09-26 16:22:03 +03:00
parent 0aa5d03f9b
commit e32d6c5469
1 changed files with 2 additions and 6 deletions

@ -4,12 +4,8 @@ geth --gcmode archive
```
2. Note the enode url printed in the logs, e.g.:
`enode://a52e914fa5aa46409e526a342a1e68b4e572c720e6eb1e61ad4a4201937679e7ebd26915bdabb2fdab6add7d85ba537078dbdccca89816a40ffc375572b6f73d@100.67.97.7:30303`
3. Setup `ETH_DEBUG_ENODE` env variable to the enode URL, make sure to replace the ip address with `127.0.0.1`:
3. Launch nimbus with discovery disabled and use the enode from above **(make sure to replace the ip address with `127.0.0.1`!)** as bootnode:
```
export ETH_DEBUG_ENODE=enode://a52e914fa5aa46409e526a342a1e68b4e572c720e6eb1e61ad4a4201937679e7ebd26915bdabb2fdab6add7d85ba537078dbdccca89816a40ffc375572b6f73d@127.0.0.1:30303
```
4. Launch nimbus
```
nim c -r ./nimbus/nimbus.nim --port=30304 --discport=30304
nim c -r ./nimbus/nimbus.nim --port=30304 --nodiscover --bootnodes=enode://a52e914fa5aa46409e526a342a1e68b4e572c720e6eb1e61ad4a4201937679e7ebd26915bdabb2fdab6add7d85ba537078dbdccca89816a40ffc375572b6f73d@127.0.0.1:30303
```
Nimbus will start syncing with the local eth node.