diff options
author | obscuren <geffobscura@gmail.com> | 2014-10-11 04:44:20 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-10-11 04:44:20 +0800 |
commit | cb845b9bc84dada9d03eb9d9cb9ccfa96c7ce06c (patch) | |
tree | 30c988dce0ecc9e31725fedaba8ed1dab2636004 /pow/ar/block.go | |
parent | 56843ca0fca1886213be4ee1e25995a537afda57 (diff) | |
download | dexon-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.go | 11 |
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 +} |