mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
377e9ccda4scripted-diff: net: rename permissionFlags to permission_flags (Anthony Towns)0a7fc42897net: make CNode::m_prefer_evict const (Anthony Towns)d394156b99net: make CNode::m_permissionFlags const (Anthony Towns)9dccc3328enet: add CNodeOptions for optional CNode constructor params (Anthony Towns) Pull request description: Adds CNodeOptions to make it easier to add optional parameters to the CNode constructor, and makes prefer_evict and m_permissionFlags actually const. ACKs for top commit: naumenkogs: ACK377e9ccda4jonatack: ACK377e9ccda4per `git range-diff52dcb1d2f3602b 377e9cc` vasild: ACK377e9ccda4ryanofsky: Code review ACK377e9ccda4. Looks good and feel free to ignore suggestions! Tree-SHA512: 06fd6748770bad75ec8c966fdb73b7534c10bd61838f6f1b36b3f3d6a438e58f6a7d0edb011977e5c118ed7ea85325fac35e10dde520fef249f7a780cf500a85
Test library
This contains files for the test library, which is used by the test binaries (unit tests, benchmarks, fuzzers, gui tests).
Generally, the files in this folder should be well-separated modules. New code should be added to existing modules or (when in doubt) a new module should be created.
The utilities in here are compiled into a library, which does not hold any state. However, the main file setup_common
defines the common test setup for all test binaries. The test binaries will handle the global state when they
instantiate the BasicTestingSetup (or one of its derived classes).