diff options
Diffstat (limited to 'pow/pow.go')
-rw-r--r-- | pow/pow.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pow/pow.go b/pow/pow.go new file mode 100644 index 000000000..c94ee40ba --- /dev/null +++ b/pow/pow.go @@ -0,0 +1,8 @@ +package pow + +type PoW interface { + Search(block Block, stop <-chan struct{}) []byte + Verify(block Block) bool + GetHashrate() int64 + Turbo(bool) +} |