diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-17 06:17:28 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-17 06:17:28 +0800 |
commit | 94505146a21cc0aee16d79aebc17c8fcb1f91324 (patch) | |
tree | cc28e02c74c0f8e2d7185a9f79028b82a5a8bb52 /pow | |
parent | 843db4978e876674ca111706880a58c84202880d (diff) | |
download | dexon-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar dexon-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.gz dexon-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.bz2 dexon-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.lz dexon-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.xz dexon-94505146a21cc0aee16d79aebc17c8fcb1f91324.tar.zst dexon-94505146a21cc0aee16d79aebc17c8fcb1f91324.zip |
updated vm env
Diffstat (limited to 'pow')
-rw-r--r-- | pow/block.go | 5 |
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 } |