2019-10-26 16:20:12 -03:00
|
|
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
2021-12-30 14:36:57 -03:00
|
|
|
// Copyright (c) 2009-2021 The Bitcoin Core developers
|
2019-10-26 16:20:12 -03:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
|
|
|
|
#ifndef BITCOIN_RANDOMENV_H
|
|
|
|
#define BITCOIN_RANDOMENV_H
|
|
|
|
|
|
|
|
#include <crypto/sha512.h>
|
|
|
|
|
|
|
|
/** Gather non-cryptographic environment data that changes over time. */
|
|
|
|
void RandAddDynamicEnv(CSHA512& hasher);
|
|
|
|
|
|
|
|
/** Gather non-cryptographic environment data that does not change over time. */
|
|
|
|
void RandAddStaticEnv(CSHA512& hasher);
|
|
|
|
|
2021-11-12 07:19:44 -03:00
|
|
|
#endif // BITCOIN_RANDOMENV_H
|