Bitcoin ABC 0.30.5
P2P Digital Currency
randomenv.h
Go to the documentation of this file.
1// Copyright (c) 2009-2010 Satoshi Nakamoto
2// Copyright (c) 2009-2019 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
12void RandAddDynamicEnv(CSHA512 &hasher);
13
15void RandAddStaticEnv(CSHA512 &hasher);
16
17#endif // BITCOIN_RANDOMENV_H
A hasher class for SHA-512.
Definition: sha512.h:12
void RandAddStaticEnv(CSHA512 &hasher)
Gather non-cryptographic environment data that does not change over time.
Definition: randomenv.cpp:341
void RandAddDynamicEnv(CSHA512 &hasher)
Gather non-cryptographic environment data that changes over time.
Definition: randomenv.cpp:257