[net processing] PeerManager holds a FastRandomContext

This commit is contained in:
dergoegge
2023-10-02 14:11:55 +01:00
parent dcf6230f92
commit 87c706713e
2 changed files with 7 additions and 1 deletions

View File

@@ -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,