diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-08 08:02:39 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-08 08:02:39 +0800 |
commit | 8ea0444655be19a9b3bb574b8e1282b361e0fcd5 (patch) | |
tree | a7e99f9c719be91626b0c4007dc16ddf4349d363 /Godeps | |
parent | 69920c735a0bf9fb5b2a3f48569cd61f5141f047 (diff) | |
download | go-tangerine-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.tar.gz go-tangerine-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.tar.zst go-tangerine-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.zip |
updated ethash
Diffstat (limited to 'Godeps')
-rw-r--r-- | Godeps/Godeps.json | 4 | ||||
-rw-r--r-- | Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index a01e989c2..8118b4509 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -22,8 +22,8 @@ }, { "ImportPath": "github.com/ethereum/ethash", - "Comment": "v17-63-gbca024b", - "Rev": "bca024b0b30d83ec6798a5d4fa8c5fc6f937009a" + "Comment": "v17-64-ga323708", + "Rev": "a323708b8c4d253b8567bf6c72727d1aec302225" }, { "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 e50a3a834..bf184020a 100644 --- a/Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go +++ b/Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go @@ -11,7 +11,6 @@ import "C" import ( "bytes" "encoding/binary" - "fmt" "io/ioutil" "log" "math/big" @@ -293,7 +292,6 @@ func (pow *Ethash) Verify(block pow.Block) bool { } func (pow *Ethash) verify(hash []byte, mixDigest []byte, difficulty *big.Int, blockNum uint64, nonce uint64) bool { - fmt.Printf("%x\n%d\n%x\n%x\n", hash, nonce, mixDigest, difficulty.Bytes()) // First check: make sure header, mixDigest, nonce are correct without hitting the DAG // This is to prevent DOS attacks chash := (*C.uint8_t)(unsafe.Pointer(&hash[0])) |