diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-19 17:25:27 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-19 17:25:27 +0800 |
commit | bd48690f63d07d9a0568f0d8092006ebaa12af5f (patch) | |
tree | 34fea6da378b5e101c51bde0bd811752caa532c0 /ethchain/dagger.go | |
parent | 8730dfdcc2e2b40410a57385e4864d15f2f0336b (diff) | |
download | go-tangerine-bd48690f63d07d9a0568f0d8092006ebaa12af5f.tar go-tangerine-bd48690f63d07d9a0568f0d8092006ebaa12af5f.tar.gz go-tangerine-bd48690f63d07d9a0568f0d8092006ebaa12af5f.tar.bz2 go-tangerine-bd48690f63d07d9a0568f0d8092006ebaa12af5f.tar.lz go-tangerine-bd48690f63d07d9a0568f0d8092006ebaa12af5f.tar.xz go-tangerine-bd48690f63d07d9a0568f0d8092006ebaa12af5f.tar.zst go-tangerine-bd48690f63d07d9a0568f0d8092006ebaa12af5f.zip |
Testing different mining state
Diffstat (limited to 'ethchain/dagger.go')
-rw-r--r-- | ethchain/dagger.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ethchain/dagger.go b/ethchain/dagger.go index 9d2df4069..18e53d3a8 100644 --- a/ethchain/dagger.go +++ b/ethchain/dagger.go @@ -29,14 +29,14 @@ func (pow *EasyPow) Search(block *Block, reactChan chan ethutil.React) []byte { for { select { case <-reactChan: - log.Println("[POW] Received reactor event; breaking out.") + ethutil.Config.Log.Infoln("[POW] Received reactor event; breaking out.") return nil default: i++ if i%1234567 == 0 { elapsed := time.Now().UnixNano() - start hashes := ((float64(1e9) / float64(elapsed)) * float64(i)) / 1000 - log.Println("[POW] Hashing @", int64(hashes), "khash") + ethutil.Config.Log.Infoln("[POW] Hashing @", int64(hashes), "khash") } sha := ethutil.Sha3Bin(big.NewInt(r.Int63()).Bytes()) |