go-ethereum/pow/pow.go
2015-03-03 21:04:31 +01:00

9 lines
164 B
Go

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