forked from cerc-io/plugeth
9 lines
146 B
Go
9 lines
146 B
Go
package pow
|
|
|
|
type PoW interface {
|
|
Search(block Block, stop <-chan struct{}) []byte
|
|
Verify(block Block) bool
|
|
GetHashrate() int64
|
|
Turbo(bool)
|
|
}
|