aboutsummaryrefslogtreecommitdiffstats
path: root/pow/pow.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-06-12 13:45:23 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-10-07 19:19:30 +0800
commitec6a548ee3555813d83f86f82bd25694bfd9c303 (patch)
tree9d0ec5022dc952f7b1053b85382df07347bc48f0 /pow/pow.go
parent8b865fa9bf75e728d5d76f5a1460e0c37d8b5f9e (diff)
downloadgo-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.gz
go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.tar.zst
go-tangerine-ec6a548ee3555813d83f86f82bd25694bfd9c303.zip
all: Add GPU mining, disabled by default
Diffstat (limited to 'pow/pow.go')
-rw-r--r--pow/pow.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pow/pow.go b/pow/pow.go
index 22daf35e4..592d96475 100644
--- a/pow/pow.go
+++ b/pow/pow.go
@@ -17,7 +17,7 @@
package pow
type PoW interface {
- Search(block Block, stop <-chan struct{}) (uint64, []byte)
+ Search(block Block, stop <-chan struct{}, index int) (uint64, []byte)
Verify(block Block) bool
GetHashrate() int64
Turbo(bool)