aboutsummaryrefslogtreecommitdiffstats
path: root/pow/ar/block.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-10-11 04:44:20 +0800
committerobscuren <geffobscura@gmail.com>2014-10-11 04:44:20 +0800
commitcb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c (patch)
tree30c988dce0ecc9e31725fedaba8ed1dab2636004 /pow/ar/block.go
parent56843ca0fca1886213be4ee1e25995a537afda57 (diff)
downloaddexon-cb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c.tar
dexon-cb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c.tar.gz
dexon-cb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c.tar.bz2
dexon-cb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c.tar.lz
dexon-cb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c.tar.xz
dexon-cb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c.tar.zst
dexon-cb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c.zip
Implemented AR PoW
Diffstat (limited to 'pow/ar/block.go')
-rw-r--r--pow/ar/block.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/pow/ar/block.go b/pow/ar/block.go
new file mode 100644
index 000000000..cc02028cd
--- /dev/null
+++ b/pow/ar/block.go
@@ -0,0 +1,11 @@
+package ar
+
+import (
+ "math/big"
+ "github.com/ethereum/eth-go/ethtrie"
+)
+
+type Block interface {
+ Trie() *ethtrie.Trie
+ Diff() *big.Int
+}