xiaoyu@xiaoyu-VirtualBox:~$ uname -a
Linux xiaoyu-VirtualBox 4.10.0-19-generic #21-Ubuntu SMP Thu Apr 6 17:04:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
找到Get our command line tools
建立一個檔案夾,确定将eth的相關都放在這個檔案夾内
建立檔案<code>CustomGenesis.json</code>
根據文檔給的例子發現報錯,然後檢視另一個出處的文檔,給的例子如下所示
由于我們沒有定義初始的賬戶,是以經過考慮,最終做了如下修改。
隻是去掉了<code>extraData</code>的内容。
然後可以發現在目前目錄生成了對應的檔案夾
<a href="https://github.com/ethereum/go-ethereum/wiki/Private-network" target="_blank">https://github.com/ethereum/go-ethereum/wiki/Private-network</a>
<a href="http://www.ethdocs.org/en/latest/" target="_blank">http://www.ethdocs.org/en/latest/</a>