fix up the readme with the working entry point commands and flags

Former-commit-id: 9311b79eb9fb9b8a0e77fe12ca1ae47a2c38e9f1 [formerly 9e6aa0cb15a9c3354785b96dcd1d1f29d56662f7]
Former-commit-id: 9be9a066bb243134860044dd2612ee394d3cf54a
This commit is contained in:
Raul Jordan
2018-01-22 10:48:22 -06:00
parent 71860e6101
commit 808d28451d
2 changed files with 3 additions and 7 deletions

View File

@@ -1 +0,0 @@
123456

View File

@@ -7,12 +7,9 @@ This repository contains the sharding implementation for the go-ethereum client.
To get started with running the project, follow the instructions to initialize your own private Ethereum blockchain and geth node:
```
$ git clone github.com/prysmaticlabs/geth-sharding
$ make geth
$ cd $GOPATH/src/github.com/prysmaticlabs/geth-sharding
$ make geth
$ ./build/bin/geth init ./sharding/genesis.json -datadir /path/to/your/datadir
$ ./build/bin/geth --nodiscover console --datadir /path/to/your/datadir
$ ./build/bin/geth --nodiscover console --datadir /path/to/your/datadir --networkid 12345
```
Then, the geth console can start up and you can start a miner as follows:
@@ -29,10 +26,10 @@ Then, once you are satisfied with mining for a few seconds, stop the miner with
> miner.stop()
```
Once you have this private geth node running on your local network, the sharding client can be started as a standalone geth command as follows in a separate terminal window:
Now, save the passphrase you used in the geth node into a text file called `password.txt`. Then, once you have this private geth node running on your local network, the sharding client can be started as a standalone geth command as follows in a separate terminal window:
```
$ geth sharding /path/to/your/datadir/geth.ipc
$ ./build/bin/geth shard --datadir=~/Desktop/datadir --password=password.txt
```
The project consists of the following parts, with each of them requiring comprehensive tests: