aboutsummaryrefslogtreecommitdiffstats
path: root/pow/pow.go
blob: c94ee40ba454dada44fa9b017a3fcf4dafb3e1cf (plain) (blame)
1
2
3
4
5
6
7
8
package pow

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