结果第一步就报错啦
这是) t% _6 Z) @, D: O
genesis.json:
- {7 c$ q- F& A5 E' t7 W2 N* ?) U1 b
- "coinbase" : "0x0000000000000000000000000000000000000000",* y, H/ i: t5 E/ `' K# o
- "difficulty" : "0x400",
- "extraData" : "0x0",0 i5 _' e& j3 i1 {# q" q
- "gasLimit" : "0x2fefd8",( e {: k9 n7 g) w: [
- "nonce" : "0xdeadbeefdeadbeef",7 \# k6 N3 B- y% Q
- "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",/ K2 g/ g1 P4 [! K T
- "timestamp" : "0x00",
- "alloc" : {}+ v( @4 G8 z/ Z. k% x' W0 s
- }
; x) H( R4 `1 }8 i
然而启动的时候:
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* Y) |, q2 ~4 n. S% g% } t Q3 a; f
wangyideMacBook-Pro:eth vincent$
哪位大神能帮帮我?