aboutsummaryrefslogtreecommitdiffstats
path: root/pow/block.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-04 04:04:31 +0800
committerobscuren <geffobscura@gmail.com>2015-03-04 04:04:31 +0800
commit26de12d9bf23bce7de26b3b6629601ec2e58ad5b (patch)
tree0d4b76fcb717049d988b7f283967f43dc5517a5e /pow/block.go
parente9f1e868e2bc0205d0b7655cd07fcaba9b2bc97d (diff)
downloaddexon-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.tar.gz
dexon-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.tar.zst
dexon-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.zip
Changed nonce to a uint64
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 eb07bc86e..3bc63978b 100644
--- a/pow/block.go
+++ b/pow/block.go
@@ -1,14 +1,15 @@
package pow
import (
- "github.com/ethereum/go-ethereum/core/types"
"math/big"
+
+ "github.com/ethereum/go-ethereum/core/types"
)
type Block interface {
Difficulty() *big.Int
HashNoNonce() []byte
- Nonce() []byte
+ Nonce() uint64
MixDigest() []byte
SeedHash() []byte
NumberU64() uint64