diff options
author | Matthew Wampler-Doty <matthew.wampler.doty@gmail.com> | 2015-03-01 03:58:37 +0800 |
---|---|---|
committer | Matthew Wampler-Doty <matthew.wampler.doty@gmail.com> | 2015-03-03 11:29:34 +0800 |
commit | de9f79133faa1ff5dcd16fb4fd13d06b7799ded9 (patch) | |
tree | fcc9001d6b681ccdd1b3bbe516e3611e808341d7 /pow/dash | |
parent | 080823bdeebbab2bcffdaefad703896700ed2c30 (diff) | |
download | dexon-de9f79133faa1ff5dcd16fb4fd13d06b7799ded9.tar dexon-de9f79133faa1ff5dcd16fb4fd13d06b7799ded9.tar.gz dexon-de9f79133faa1ff5dcd16fb4fd13d06b7799ded9.tar.bz2 dexon-de9f79133faa1ff5dcd16fb4fd13d06b7799ded9.tar.lz dexon-de9f79133faa1ff5dcd16fb4fd13d06b7799ded9.tar.xz dexon-de9f79133faa1ff5dcd16fb4fd13d06b7799ded9.tar.zst dexon-de9f79133faa1ff5dcd16fb4fd13d06b7799ded9.zip |
Introducing ethash
Diffstat (limited to 'pow/dash')
-rw-r--r-- | pow/dash/crypto.c | 5 | ||||
-rw-r--r-- | pow/dash/crypto.go | 14 |
2 files changed, 0 insertions, 19 deletions
diff --git a/pow/dash/crypto.c b/pow/dash/crypto.c deleted file mode 100644 index 9c5a62d16..000000000 --- a/pow/dash/crypto.c +++ /dev/null @@ -1,5 +0,0 @@ -extern char *Sha3(char *, int); -char *sha3_cgo(char *data, int l) -{ - return Sha3(data, l); -} diff --git a/pow/dash/crypto.go b/pow/dash/crypto.go deleted file mode 100644 index 0644a54ae..000000000 --- a/pow/dash/crypto.go +++ /dev/null @@ -1,14 +0,0 @@ -package dash - -/* -char *sha3_cgo(char *, int); // Forward declaration -*/ -import "C" -import ( - "github.com/ethereum/go-ethereum/crypto" -) - -//export Sha3 -func Sha3(data []byte, l int) []byte { - return crypto.Sha3(data) -} |