/ src / randomenv.h
randomenv.h
 1  // Copyright (c) 2009-2010 Satoshi Nakamoto
 2  // Copyright (c) 2009-present The Bitcoin Core developers
 3  // Distributed under the MIT software license, see the accompanying
 4  // file COPYING or http://www.opensource.org/licenses/mit-license.php.
 5  
 6  #ifndef BITCOIN_RANDOMENV_H
 7  #define BITCOIN_RANDOMENV_H
 8  
 9  #include <crypto/sha512.h>
10  
11  /** Gather non-cryptographic environment data that changes over time. */
12  void RandAddDynamicEnv(CSHA512& hasher);
13  
14  /** Gather non-cryptographic environment data that does not change over time. */
15  void RandAddStaticEnv(CSHA512& hasher);
16  
17  #endif // BITCOIN_RANDOMENV_H