diff options
author | obscuren <geffobscura@gmail.com> | 2014-12-10 23:45:16 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-12-10 23:45:16 +0800 |
commit | 1b98cbbfa4f587107fa15fccde7d22102ea4b1c0 (patch) | |
tree | 367be45e14b7d1a1ff3a62e0fdb949156e9cc71d /pow/block.go | |
parent | 4082c8b61d1e9cc57d9da9b9da5c36ff84895d74 (diff) | |
download | dexon-1b98cbbfa4f587107fa15fccde7d22102ea4b1c0.tar dexon-1b98cbbfa4f587107fa15fccde7d22102ea4b1c0.tar.gz dexon-1b98cbbfa4f587107fa15fccde7d22102ea4b1c0.tar.bz2 dexon-1b98cbbfa4f587107fa15fccde7d22102ea4b1c0.tar.lz dexon-1b98cbbfa4f587107fa15fccde7d22102ea4b1c0.tar.xz dexon-1b98cbbfa4f587107fa15fccde7d22102ea4b1c0.tar.zst dexon-1b98cbbfa4f587107fa15fccde7d22102ea4b1c0.zip |
Moved pow
Diffstat (limited to 'pow/block.go')
-rw-r--r-- | pow/block.go | 9 |
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 +} |