aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-18 21:14:44 +0800
committerobscuren <geffobscura@gmail.com>2015-04-18 21:14:44 +0800
commit525cefa37aafbc42de8911344c9853d950c06ded (patch)
tree00584c46831124ef29d0503165e4c84c555491ea /Godeps
parentc39a7b5c0d2002d72df7a0517ccc6edd7557ab7d (diff)
downloadgo-tangerine-525cefa37aafbc42de8911344c9853d950c06ded.tar
go-tangerine-525cefa37aafbc42de8911344c9853d950c06ded.tar.gz
go-tangerine-525cefa37aafbc42de8911344c9853d950c06ded.tar.bz2
go-tangerine-525cefa37aafbc42de8911344c9853d950c06ded.tar.lz
go-tangerine-525cefa37aafbc42de8911344c9853d950c06ded.tar.xz
go-tangerine-525cefa37aafbc42de8911344c9853d950c06ded.tar.zst
go-tangerine-525cefa37aafbc42de8911344c9853d950c06ded.zip
updated ethash
Diffstat (limited to 'Godeps')
-rw-r--r--Godeps/Godeps.json4
-rw-r--r--Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json
index c51a2312b..bc5e3144a 100644
--- a/Godeps/Godeps.json
+++ b/Godeps/Godeps.json
@@ -22,8 +22,8 @@
},
{
"ImportPath": "github.com/ethereum/ethash",
- "Comment": "v23.1-81-g4039fd0",
- "Rev": "4039fd095084679fb0bf3feae91d02506b5d67aa"
+ "Comment": "v23.1-82-g908aad3",
+ "Rev": "908aad345c9fbf3ab9bbb94031dc02d0d90df1b8"
},
{
"ImportPath": "github.com/ethereum/serpent-go",
diff --git a/Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go b/Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go
index c33bfccc4..74285a33c 100644
--- a/Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go
+++ b/Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go
@@ -91,7 +91,7 @@ func makeParamsAndCache(chainManager pow.ChainManager, blockNum uint64) (*Params
return nil, err
}
- glog.V(logger.Info).Infoln("Making cache")
+ glog.V(logger.Info).Infof("Making cache for epoch: %d (%v) (%x)\n", paramsAndCache.Epoch, blockNum, seedHash)
start := time.Now()
C.ethash_mkcache(paramsAndCache.cache, paramsAndCache.params, (*C.ethash_blockhash_t)(unsafe.Pointer(&seedHash[0])))
@@ -387,7 +387,7 @@ func (pow *Ethash) verify(hash common.Hash, mixDigest common.Hash, difficulty *b
if blockNum/epochLength < pow.paramsAndCache.Epoch {
var err error
// If we can't make the params for some reason, this block is invalid
- pAc, err = makeParamsAndCache(pow.chainManager, blockNum+1)
+ pAc, err = makeParamsAndCache(pow.chainManager, blockNum)
if err != nil {
glog.V(logger.Info).Infoln("big fucking eror", err)
return false