结果第一步就报错啦
这是
genesis.json:
- {9 ~0 Z: E/ k [8 D1 o
- "coinbase" : "0x0000000000000000000000000000000000000000",& W5 B/ U7 {1 K& t7 l0 F
- "difficulty" : "0x400",' f* K2 f+ o( @) S2 }
- "extraData" : "0x0",; {& ~6 r, \9 ` ]- p: X/ I: U
- "gasLimit" : "0x2fefd8",
- "nonce" : "0xdeadbeefdeadbeef",
- "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "timestamp" : "0x00",7 c+ ^7 ~/ t0 r
- "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 ~* W. a! W- T1 [
wangyideMacBook-Pro:eth vincent$ 0 j- `8 o0 H- \+ e- Z" L" X
哪位大神能帮帮我?