aboutsummaryrefslogtreecommitdiffstats
path: root/pow/block.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-22 01:18:19 +0800
committerobscuren <geffobscura@gmail.com>2015-03-22 01:18:19 +0800
commit7f85608f30a2e34005c8d15566849229c758c2f1 (patch)
tree7aeb9d8bdfda7ec10ea38688a96ed245028764ad /pow/block.go
parent09766d1729f7530093aec7e9acd3e5339b2c2028 (diff)
parentfcacfabe1959c4aff6a63cb4e275f65328660601 (diff)
downloaddexon-7f85608f30a2e34005c8d15566849229c758c2f1.tar.gz
dexon-7f85608f30a2e34005c8d15566849229c758c2f1.tar.zst
dexon-7f85608f30a2e34005c8d15566849229c758c2f1.zip
Merge branch 'conversion' into develop
Diffstat (limited to 'pow/block.go')
-rw-r--r--pow/block.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/pow/block.go b/pow/block.go
index 136e4bf8d..9ae25bd4d 100644
--- a/pow/block.go
+++ b/pow/block.go
@@ -3,14 +3,15 @@ package pow
import (
"math/big"
+ "github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core/types"
)
type Block interface {
Difficulty() *big.Int
- HashNoNonce() []byte
+ HashNoNonce() common.Hash
Nonce() uint64
- MixDigest() []byte
+ MixDigest() common.Hash
NumberU64() uint64
}