结果第一步就报错啦( J7 ]9 ], V$ j/ Y$ n- ~( G
这是
genesis.json:8 e# X8 C+ }5 x, Z; ~* P
- {
- "coinbase" : "0x0000000000000000000000000000000000000000",
- "difficulty" : "0x400",! E0 ~- D8 `! w7 z9 \4 C
- "extraData" : "0x0",. q" R2 y9 v5 k2 g2 }1 W# y; N
- "gasLimit" : "0x2fefd8",7 `# X7 {) h( F9 G
- "nonce" : "0xdeadbeefdeadbeef",
- "mixhash" : "0x0000000000000000000000000000000000000000000000000000000000000000",% z/ V0 ~% d, U T( p. o
- "parentHash" : "0x0000000000000000000000000000000000000000000000000000000000000000",
- "timestamp" : "0x00",6 z: U- F A1 f9 L$ f3 P/ |8 T
- "alloc" : {}3 n7 _: e- Q" h4 o8 [1 W9 Z
- }
% O6 b+ ^7 s+ h! Y& w+ ]
然而启动的时候:
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.Bytes9 i6 F. @$ w! f2 w
wangyideMacBook-Pro:eth vincent$
哪位大神能帮帮我?