diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-04 17:28:02 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-04 17:28:02 +0800 |
commit | 9008b155d3c8d2a32c4c8945f1174243d48d4e90 (patch) | |
tree | a55140b7d4802a0db14cbc265b8ca21d44d6f10a /chain/dagger_test.go | |
parent | b6cb5272de96185b424d5c6c4a817d99f536d29b (diff) | |
download | dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.tar dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.tar.gz dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.tar.bz2 dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.tar.lz dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.tar.xz dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.tar.zst dexon-9008b155d3c8d2a32c4c8945f1174243d48d4e90.zip |
Renamed `chain` => `core`
Diffstat (limited to 'chain/dagger_test.go')
-rw-r--r-- | chain/dagger_test.go | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/chain/dagger_test.go b/chain/dagger_test.go deleted file mode 100644 index b40cd9742..000000000 --- a/chain/dagger_test.go +++ /dev/null @@ -1,19 +0,0 @@ -package chain - -import ( - "math/big" - "testing" - - "github.com/ethereum/go-ethereum/ethutil" -) - -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) -} |