aboutsummaryrefslogtreecommitdiffstats
path: root/pow/block.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2014-12-22 02:06:24 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2014-12-22 02:06:24 +0800
commitbab78bbeb691d95bdd0222435af0c11cb3485a79 (patch)
tree804c9689546ce362a2862b00bb4e76160052f5d6 /pow/block.go
parent7a79428278412ab1f73708af51bce063b000b7a7 (diff)
parent1360f027d9e365242466ca346b2b56f421729d91 (diff)
downloadgo-tangerine-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar
go-tangerine-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.gz
go-tangerine-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.bz2
go-tangerine-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.lz
go-tangerine-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.xz
go-tangerine-bab78bbeb691d95bdd0222435af0c11cb3485a79.tar.zst
go-tangerine-bab78bbeb691d95bdd0222435af0c11cb3485a79.zip
Merge branch 'tests' of github.com:ethereum/go-ethereum into tests
Diffstat (limited to 'pow/block.go')
-rw-r--r--pow/block.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/pow/block.go b/pow/block.go
new file mode 100644
index 000000000..4759e19fb
--- /dev/null
+++ b/pow/block.go
@@ -0,0 +1,9 @@
+package pow
+
+import "math/big"
+
+type Block interface {
+ Diff() *big.Int
+ HashNoNonce() []byte
+ N() []byte
+}