结果第一步就报错啦
这是
genesis.json:
- {( C" X G% J5 w! W$ n: ^) Q1 C
- "coinbase" : "0x0000000000000000000000000000000000000000",
- "difficulty" : "0x400",& N# ]/ i' i, G* M1 P& w! V; `# q
- "extraData" : "0x0",
- "gasLimit" : "0x2fefd8",- [( E8 V8 y: b5 U2 u9 G6 H& ^' N
- "nonce" : "0xdeadbeefdeadbeef",8 O3 { \4 ~/ o) B% f0 J
- "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",; }, W$ a+ k+ e- u
- "timestamp" : "0x00",) ~& B i0 ~: S+ X4 F+ I
- "alloc" : {}2 ~) j8 m7 F& j8 j2 Q5 F5 ?
- }
% _3 {2 K# u9 m& q" ]
然而启动的时候:
wangyideMacBook-Pro:eth vincent$ geth --datadir data0 init genesis.json$ ^; m4 `" T, C4 l
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$
哪位大神能帮帮我?