diff options
author | dergoegge <n.goeggi@gmail.com> | 2023-10-02 14:11:55 +0100 |
---|---|---|
committer | dergoegge <n.goeggi@gmail.com> | 2023-10-03 11:23:24 +0100 |
commit | 87c706713e5d1c78bad943a42bf7c69047d28ea5 (patch) | |
tree | 855870afd3f95ed1444923ac8b8a589389397173 /src/net_processing.h | |
parent | dcf6230f92d491f46d2bf6cfc096ab5874e385c9 (diff) | |
download | bitcoin-87c706713e5d1c78bad943a42bf7c69047d28ea5.tar.xz |
[net processing] PeerManager holds a FastRandomContext
Diffstat (limited to 'src/net_processing.h')
-rw-r--r-- | src/net_processing.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net_processing.h b/src/net_processing.h index 837e308617..80d07648a4 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -58,6 +58,9 @@ public: uint32_t max_extra_txs{DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN}; //! Whether all P2P messages are captured to disk bool capture_messages{false}; + //! Whether or not the internal RNG behaves deterministically (this is + //! a test-only option). + bool deterministic_rng{false}; }; static std::unique_ptr<PeerManager> make(CConnman& connman, AddrMan& addrman, |