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

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