I'm trying to start an ethereum test net on windows 7, but I'm having trouble pointing geth at the genesis block.
This is the command I'm trying:
geth --identity "Anon" --genesis CustomGenesis.json --rpc --rpcport "8080" --rpccorsdomain "*" --datadir "G:\EthTest" --port "30303" --nodiscover --rpcapi "db,eth,net,web3" --networkid 1999 console
The genesis file I'm using is:
{ "alloc": { }, "nonce": "0x000000000000002a", "difficulty": "0x020000", "mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000", "coinbase": "0x0000000000000000000000000000000000000000",
"timestamp": "0x00", "parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000", "extraData": "0x", "gasLimit": "0x2fefd8" }
And it is in the folder I'm trying to launch geth from - it tab completes.
When I run geth with all the above commands except the genesis flag it appears to start and
{"jsonrpc":"2.0","error":{"code":-32600,"message":"EOF"}}
is visible at localhost:8080 but it doesn't appear to be mining any test ether
initinstead of--genesisand mention the path for genesis file. – galahad Jul 19 '16 at 18:03