结果第一步就报错啦
这是. _% n4 p. L0 Q$ g% W; g
genesis.json:
- {
- "coinbase" : "0x0000000000000000000000000000000000000000",
- "difficulty" : "0x400",! X! p4 X, r+ r3 d
- "extraData" : "0x0",+ a, d- g; m0 I& x1 c7 }; s
- "gasLimit" : "0x2fefd8",
- "nonce" : "0xdeadbeefdeadbeef",1 g( k* R; T7 G+ q4 q
- "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",1 c% c& c+ ?8 v4 ~
- "timestamp" : "0x00",
- "alloc" : {}
- }
然而启动的时候:0 c$ z5 l1 l- ~
wangyideMacBook-Pro:eth vincent$ geth --datadir data0 init genesis.json/ U, R& I3 b/ Z' A$ z+ ]/ f, e
Fatal: invalid genesis file: json: cannot unmarshal hex string of odd length into Go struct field Genesis.extraData of type hexutil.Bytes( D' `9 A7 O. C G# J
wangyideMacBook-Pro:eth vincent$ , C0 R0 n' `( m1 j! P
哪位大神能帮帮我?