aboutsummaryrefslogtreecommitdiffstats
path: root/pow/block.go
diff options
context:
space:
mode:
Diffstat (limited to 'pow/block.go')
-rw-r--r--pow/block.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pow/block.go b/pow/block.go
index 4759e19fb..31e194d8d 100644
--- a/pow/block.go
+++ b/pow/block.go
@@ -3,7 +3,8 @@ package pow
import "math/big"
type Block interface {
- Diff() *big.Int
+ Difficulty() *big.Int
HashNoNonce() []byte
N() []byte
+ Number() *big.Int
}