diff options
author | obscuren <geffobscura@gmail.com> | 2014-01-24 03:16:52 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-01-24 03:16:52 +0800 |
commit | 477e8a7a73820ece05bbb990607a1919d3788960 (patch) | |
tree | c13d1d7f709f0934b54ef10377e671446d165db7 /dagger_test.go | |
parent | 3616080db46931202003157bacf10748008bebc0 (diff) | |
download | dexon-477e8a7a73820ece05bbb990607a1919d3788960.tar dexon-477e8a7a73820ece05bbb990607a1919d3788960.tar.gz dexon-477e8a7a73820ece05bbb990607a1919d3788960.tar.bz2 dexon-477e8a7a73820ece05bbb990607a1919d3788960.tar.lz dexon-477e8a7a73820ece05bbb990607a1919d3788960.tar.xz dexon-477e8a7a73820ece05bbb990607a1919d3788960.tar.zst dexon-477e8a7a73820ece05bbb990607a1919d3788960.zip |
Rearrange packages
Diffstat (limited to 'dagger_test.go')
-rw-r--r-- | dagger_test.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/dagger_test.go b/dagger_test.go deleted file mode 100644 index 616577a39..000000000 --- a/dagger_test.go +++ /dev/null @@ -1,18 +0,0 @@ -package main - -import ( - "github.com/ethereum/ethutil-go" - "math/big" - "testing" -) - -func BenchmarkDaggerSearch(b *testing.B) { - hash := big.NewInt(0) - diff := ethutil.BigPow(2, 36) - o := big.NewInt(0) // nonce doesn't matter. We're only testing against speed, not validity - - // Reset timer so the big generation isn't included in the benchmark - b.ResetTimer() - // Validate - DaggerVerify(hash, diff, o) -} |