aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-08 08:02:39 +0800
committerobscuren <geffobscura@gmail.com>2015-03-08 08:02:39 +0800
commit8ea0444655be19a9b3bb574b8e1282b361e0fcd5 (patch)
treea7e99f9c719be91626b0c4007dc16ddf4349d363 /Godeps/_workspace/src
parent69920c735a0bf9fb5b2a3f48569cd61f5141f047 (diff)
downloaddexon-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.tar
dexon-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.tar.gz
dexon-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.tar.bz2
dexon-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.tar.lz
dexon-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.tar.xz
dexon-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.tar.zst
dexon-8ea0444655be19a9b3bb574b8e1282b361e0fcd5.zip
updated ethash
Diffstat (limited to 'Godeps/_workspace/src')
-rw-r--r--Godeps/_workspace/src/github.com/ethereum/ethash/ethash.go2
1 files changed, 0 insertions, 2 deletions
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]))