diff --git a/docs/_interface/mining.md b/docs/_interface/mining.md index d4f53c4b5a..b4ec9700b9 100644 --- a/docs/_interface/mining.md +++ b/docs/_interface/mining.md @@ -47,6 +47,29 @@ Now start geth and wait for it to sync the blockchain. This will take quite a wh geth --http --miner.etherbase 0xC95767AC46EA2A9162F0734651d6cF17e5BfcF10 +To monitor the syncing, in another terminal you can `attach` the geth JavaScript console to the running node like so: + + geth attach https://127.0.0.1:8545 + +and then at the > prompt type + + eth.syncing + +You'll see something like the example output below -- it's a two stage process as described in much more detail in our [FAQ](../FAQ). +In the first stage, the difference between the "currentBlock" and the "highestBlock" will decrease until they are almost equal. It will then look stuck and appear as never becoming equal. But you should see "pulledStates" rising to equal "knownStates." When both are equal, you are synced. + +Example output of first stage of block downloading: + + { + currentBlock: 10707814, + highestBlock: 13252182, + knownStates: 0, + pulledStates: 0, + startingBlock: 3809258 +} + +A response from `eth.syncing` of `false` means you are synced up. + Now we're ready to start mining. In a new terminal session, run ethminer and connect it to geth: OpenCL