go-ethereum/pow/pow.go
2015-07-05 18:27:44 +02:00

8 lines
167 B
Go

package pow
type PoW interface {
Search(block Block, stop <-chan struct{}, index int) (uint64, []byte)
Verify(block Block) bool
GetHashrate() int64
Turbo(bool)
}