github.com/karalabe/go-ethereum@v0.8.5/pow/pow.go (about)

     1  package pow
     2  
     3  type PoW interface {
     4  	Search(block Block, stop <-chan struct{}) []byte
     5  	Verify(block Block) bool
     6  	GetHashrate() int64
     7  	Turbo(bool)
     8  }