all: Add GPU mining, disabled by default

This commit is contained in:
Gustav Simonsson
2015-06-12 07:45:23 +02:00
parent 8b865fa9bf
commit ec6a548ee3
42 changed files with 6764 additions and 42 deletions

View File

@ -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)