go-ethereum/pow/pow.go

9 lines
164 B
Go

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