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

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