どこだったっけ?ってなるのでメモ
引用
$ geth –dev
This does the following things to make development easy (source):Sets –vmdebug (Virtual Machine debug output)
Sets –maxpeers 0 (Networking disabled)
Sets –gasprice 0 (Make your contracts affordable)
Sets –port 0 (Listen on a random port)
Sets –shh (Whisper protocol enabled)
Sets –datadir to a temporary directory on your hard drive
Enables “dev mode”, which causes geth to automatically generate a new genesis block the first time you run it.
testnets – How do I set up a private ethereum network? – Ethereum Stack Exchange
上記以外にも、DAGが一瞬でできる。
–devすると、genesis.json作っても上書きされちゃうようなので、–devなし、genesis.jsonでやるしかない