仮想通貨サービス BitCapitalZ の日記

仮想通貨関連のブログです Ripple, Ethereum 仮想通貨2.0に注目しています

【ethereum】eth でマイニングをしてみた

【ethereum】 マイニングについての公式アナウンス(2014/09/06)について - 仮想通貨サービス BitCapitalZ の日記
に書いた通り、現在 ethereum のネットワークは正式版ではなくテスト用の開発版しか稼働してません。今回の記事はこのテスト用の開発版ネットワーク上で eth を用いてマイニングをした結果です。

とはいっても、./eth --force-mining と叩いて放置するだけです。

$ ./eth --force-mining
Ethereum (++) 0.6.9
  Code by Gav Wood, (c) 2013, 2014.
  Based on a design by Vitalik Buterin.

*N* [ 09:21:07 | main ] Address: 127.0.0.1  = 127.0.0.1  [LOCAL]
*N* [ 09:21:07 | main ] Address: 192.168.2.100  = 192.168.2.100  [PEER]
*N* [ 09:21:07 | main ] Id: 8724219a…
*** [ 09:21:08 | main ] Opened blockchain DB. Latest: c3438fdb3d22555735359d649df55bdf0249b2752840f2483ac96f18e81d60fb
*** [ 09:21:08 | main ] Opened state DB.
--- [ 09:21:08 | main ] startWorking for thread eth
--- [ 09:21:08 | main ] Spawning eth
Address: 
90d5782db5398eeab192a02347151cdb129115fd
*** [ 09:21:15 | main ] UPnP device: http://192.168.2.106:2869/upnphost/udhisapi.dll?content=uuid:f5c180e2-1a05-4b7b-8868-7ead8d8920ee [st: upnp:rootdevice ]
*N* [ 09:21:20 | main ] External addr: 0.0.0.0
!N! [ 09:21:25 | main ] Couldn't punch through NAT (or no NAT in place). Assuming 30303 is local & external port.
+N+ [ 09:21:30 | main ] Listening on local port 30303  (public: 0.0.0.0:30303 )
*N* [ 09:21:30 | main ] Id: 8724219a…
--- [ 09:21:30 | main ] startWorking for thread ethsync
--- [ 09:21:30 | main ] Spawning ethsync
--- [ 09:21:30 | main ] startWorking for thread p2p
--- [ 09:21:30 | main ] Spawning p2p
--- [ 09:21:30 | main ] startWorking for thread eth
--- [ 09:21:30 | main ] startWorking for thread miner-0
--- [ 09:21:30 | main ] Spawning miner-0
--- [ 09:21:30 | main ] startWorking for thread miner-1
--- [ 09:21:30 | main ] Spawning miner-1
--- [ 09:21:30 | main ] startWorking for thread miner-2
--- [ 09:21:30 | main ] Spawning miner-2
--- [ 09:21:30 | main ] startWorking for thread miner-3
--- [ 09:21:30 | main ] Spawning miner-3
*** [ 09:21:30 | miner-0 ] Committing to mine on block c3438fdb…
*** [ 09:21:30 | miner-1 ] Committing to mine on block c3438fdb…
*** [ 09:21:30 | miner-2 ] Committing to mine on block c3438fdb…
*** [ 09:21:30 | miner-3 ] Committing to mine on block c3438fdb…
*** [ 09:21:30 | miner-1 ] Post-reward stateRoot: b4a69fd7…
*** [ 09:21:30 | miner-0 ] Post-reward stateRoot: b4a69fd7…
*** [ 09:21:30 | miner-2 ] Post-reward stateRoot: b4a69fd7…
*** [ 09:21:30 | miner-3 ] Post-reward stateRoot: b4a69fd7…


開発版なせいか、5分も放置すれば少し ether が手に入ります。取得した ether は
【ethereum】eth で残高を取得する方法 - 仮想通貨サービス BitCapitalZ の日記
に書かれた方法で確認することができます。僕の場合は5分ほどで、0.75ether 取得することができました。