diff options
| author | Philip Kaufmann <[email protected]> | 2014-06-26 14:41:53 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2014-07-09 09:42:19 +0200 |
| commit | 6354935c485d116e1965567561c197ab3fbc0e11 (patch) | |
| tree | 9dc218c1ed2fad513df1cf309f5ecd271069067a /src/script.cpp | |
| parent | add GetRandBytes() as wrapper for RAND_bytes() (diff) | |
| download | discoin-6354935c485d116e1965567561c197ab3fbc0e11.tar.xz discoin-6354935c485d116e1965567561c197ab3fbc0e11.zip | |
move rand functions from util to new random.h/.cpp
Diffstat (limited to 'src/script.cpp')
| -rw-r--r-- | src/script.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/script.cpp b/src/script.cpp index 238a25e72..39ae001db 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -5,13 +5,14 @@ #include "script.h" +#include "crypto/ripemd160.h" +#include "crypto/sha1.h" +#include "crypto/sha2.h" #include "core.h" #include "hash.h" #include "key.h" #include "keystore.h" -#include "crypto/sha1.h" -#include "crypto/sha2.h" -#include "crypto/ripemd160.h" +#include "random.h" #include "sync.h" #include "uint256.h" #include "util.h" @@ -1097,7 +1098,6 @@ uint256 SignatureHash(const CScript &scriptCode, const CTransaction& txTo, unsig // Valid signature cache, to avoid doing expensive ECDSA signature checking // twice for every transaction (once when accepted into memory pool, and // again when accepted into the block chain) - class CSignatureCache { private: |