结果第一步就报错啦
这是
genesis.json:
- {
- "coinbase" : "0x0000000000000000000000000000000000000000",
- "difficulty" : "0x400",
- "extraData" : "0x0",
- "gasLimit" : "0x2fefd8",
- "nonce" : "0xdeadbeefdeadbeef",
- "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "timestamp" : "0x00",
- "alloc" : {}
- }
然而启动的时候:
wangyideMacBook-Pro:eth vincent$ geth --datadir data0 init genesis.json
Fatal: invalid genesis file: json: cannot unmarshal hex string of odd length into Go struct field Genesis.extraData of type hexutil.Bytes
wangyideMacBook-Pro:eth vincent$
哪位大神能帮帮我?