结果第一步就报错啦$ w: q" L. W5 O& a# W, `( Y
这是
genesis.json:
- {
- "coinbase" : "0x0000000000000000000000000000000000000000",
- "difficulty" : "0x400",
- "extraData" : "0x0",
- "gasLimit" : "0x2fefd8",3 n/ n8 Q9 G- f' ?
- "nonce" : "0xdeadbeefdeadbeef",
- "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "timestamp" : "0x00",9 g7 ]8 G v, C* j* W, A) Q$ Z; @
- "alloc" : {}5 L* c, H5 x+ D3 B8 s0 J* u( U
- }
# N; |9 l9 ]5 n% K7 d- a
然而启动的时候:
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.Bytes8 {, N. w. o! ^
wangyideMacBook-Pro:eth vincent$
哪位大神能帮帮我?