aboutsummaryrefslogblamecommitdiffstats
path: root/pow/pow.go
blob: 73984a4aeed3726a0b9baea51ddaa912dc9b88d0 (plain) (tree)
1
2
3
4
5
6
7
8


                    
                                                                  



                                
package pow

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