You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #6923: refactor: delete extra ctors from managers, restore memory-only db for EvoDb and LLMQContext
3c85563 fix: keep databases in memory if running unit tests (Kittywhiskers Van Gogh)
8763104 refactor: clean up {c,d}tor for `TestingSetup`s (Kittywhiskers Van Gogh)
5b2e54a refactor: introduce `util::DbWrapperParams` and helper to pull out args (Kittywhiskers Van Gogh)
a7bec54 refactor: move EvoDb cache size to constructor, use `std::unique_ptr` (Kittywhiskers Van Gogh)
556d0b8 refactor: move dtor to source file, delete extra ctors for notif int. (Kittywhiskers Van Gogh)
5dd2e99 refactor: delete extra ctors for netfulfilled, spork (Kittywhiskers Van Gogh)
5163e85 refactor: move ctor/dtor to source file, delete extra ctors for mn (Kittywhiskers Van Gogh)
52f7160 refactor: move ctor/dtor to source file, delete extra ctors for evo (Kittywhiskers Van Gogh)
adb5117 refactor: delete extra ctors for chainlock, instantsend, governance (Kittywhiskers Van Gogh)
301bc70 refactor: move ctor/dtor to source file, delete extra ctors for CoinJoin (Kittywhiskers Van Gogh)
88a2375 refactor: move ctor/dtor to source file, delete extra ctors for LLMQ (Kittywhiskers Van Gogh)
Pull request description:
## Additional Information
* Dependency for #6933
* There is a mild performance improvement when restoring memory-only databases in unit tests
**Build arguments:**
```bash
CC=clang CXX=clang++ ./configure --prefix=$(pwd)/depends/arm64-apple-darwin25 --enable-werror --enable-debug --enable-crash-hooks --enable-stacktraces --enable-zmq --enable-suppress-external-warnings --disable-ccache --disable-hardening
```
**develop (b82450a):**
```
$ ttime ./src/test/test_dash
Running 676 test cases...
*** No errors detected
real: 100.50s
user: 61.92s
system: 12.90s
memory: 399920KB
```
**This PR (969e2c45932437e9d5da21dc833cc33ea103d295):**
```
$ ttime ./src/test/test_dash # PR
Running 676 test cases...
*** No errors detected
real: 75.06s
user: 58.18s
system: 10.03s
memory: 394896KB
```
## Breaking Changes
None expected.
## Checklist
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas **(note: N/A)**
- [x] I have added or updated relevant unit/integration/functional/e2e tests
- [x] I have made corresponding changes to the documentation **(note: N/A)**
- [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
ACKs for top commit:
UdjinM6:
utACK 3c85563
Tree-SHA512: 75d6059acb808edd122b492e3fa29e7202c4de4cf02dddbce047e720cf29a92ff20719e6489e2d286ead13a1762a13a67c9631da41dc6de41b7f316933685ed7
0 commit comments