Bitcoin Core
22.99.0
P2P Digital Currency
src
randomenv.h
Go to the documentation of this file.
1
// Copyright (c) 2009-2010 Satoshi Nakamoto
2
// Copyright (c) 2009-2021 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
12
void
RandAddDynamicEnv
(
CSHA512
& hasher);
13
15
void
RandAddStaticEnv
(
CSHA512
& hasher);
16
17
#endif // BITCOIN_RANDOMENV_H
sha512.h
CSHA512
A hasher class for SHA-512.
Definition:
sha512.h:12
RandAddStaticEnv
void RandAddStaticEnv(CSHA512 &hasher)
Gather non-cryptographic environment data that does not change over time.
Definition:
randomenv.cpp:307
RandAddDynamicEnv
void RandAddDynamicEnv(CSHA512 &hasher)
Gather non-cryptographic environment data that changes over time.
Definition:
randomenv.cpp:226
Generated on Fri Feb 18 2022 20:03:26 for Bitcoin Core by
1.8.17