Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1// Copyright (c) 2009-2010 Satoshi Nakamoto2// Copyright (c) 2009-present The Bitcoin Core developers3// Distributed under the MIT software license, see the accompanying4// file COPYING or http://www.opensource.org/licenses/mit-license.php.6#ifndef BITCOIN_RANDOMENV_H7#define BITCOIN_RANDOMENV_H9#include <crypto/sha512.h>11/** Gather non-cryptographic environment data that changes over time. */12void RandAddDynamicEnv(CSHA512& hasher);14/** Gather non-cryptographic environment data that does not change over time. */15void RandAddStaticEnv(CSHA512& hasher);17#endif // BITCOIN_RANDOMENV_H