bitcoin/ci/test
glozow 821f5c824f
Merge bitcoin/bitcoin#25487: [kernel 3b/n] Decouple {Dump,Load}Mempool from ArgsManager
cb3e9a1e3f Move {Load,Dump}Mempool to kernel namespace (Carl Dong)
aa30676541 Move DEFAULT_PERSIST_MEMPOOL out of libbitcoinkernel (Carl Dong)
06b88ffb8a LoadMempool: Pass in load_path, stop using gArgs (Carl Dong)
b857ac60d9 test/fuzz: Invoke LoadMempool via CChainState (Carl Dong)
b3267258b0 Move FopenFn to fsbridge namespace (Carl Dong)
ae1e8e3756 mempool: Use NodeClock+friends for LoadMempool (Carl Dong)
f9e8e5719f mempool: Improve comments for [GS]etLoadTried (Carl Dong)
813962da0b scripted-diff: Rename m_is_loaded -> m_load_tried (Carl Dong)
413f4bb52b DumpMempool: Pass in dump_path, stop using gArgs (Carl Dong)
bd4407817e DumpMempool: Use std::chrono instead of weird int64_t arthmetics (Carl Dong)
c84390b741 test/mempool_persist: Test manual savemempool when -persistmempool=0 (Carl Dong)

Pull request description:

  This is part of the `libbitcoinkernel` project: #24303, https://github.com/bitcoin/bitcoin/projects/18

  -----

  This PR moves `{Dump,Load}Mempool` into its own `kernel/mempool_persist` module and introduces `ArgsManager` `node::` helpers in `node/mempool_persist_args`to remove the scattered calls to `GetBoolArg("-persistmempool", DEFAULT_PERSIST_MEMPOOL)`.

  More context can be gleaned from the commit messages.

  -----

  One thing I was reflecting on as I wrote this was that in the long run, I think we should probably invert the validation <-> mempool relationship. Instead of mempool not depending on validation, it might make more sense to have validation not depend on mempool. Not super urgent since `libbitcoinkernel` will include both validation and mempool, but perhaps something for the future.

ACKs for top commit:
  glozow:
    re ACK cb3e9a1e3f via `git range-diff 7ae032e...cb3e9a1`
  MarcoFalke:
    ACK cb3e9a1e3f 🔒
  ryanofsky:
    Code review ACK cb3e9a1e3f

Tree-SHA512: 979d7237c3abb5a1dd9b5ad3dbf3b954f906a6d8320ed7b923557f41a4472deccae3e8a6bca0018c8e7a3c4a93afecc502acd1e26756f2054f157f1c0edd939d
2022-07-18 16:09:27 +01:00
..
00_setup_env.sh ci: Add clang-tidy task 2022-04-04 11:57:06 +02:00
00_setup_env_android.sh ci, android: Update NDK up to r23c 2022-05-31 18:45:13 +02:00
00_setup_env_arm.sh scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
00_setup_env_i686_centos.sh ci: Bump CentOS 8 image 2022-02-01 10:13:25 +01:00
00_setup_env_i686_multiprocess.sh test: remove lief install from multiprocess job 2022-03-28 10:35:37 +01:00
00_setup_env_mac.sh build: use macOS 11 SDK (Xcode 12.2) 2022-01-26 17:28:16 +08:00
00_setup_env_mac_native_x86_64.sh ci: Improve naming related to "macOS 12 native x86_64" task 2022-06-22 10:15:16 +02:00
00_setup_env_native_asan.sh build: Add --enable-c++20 option 2022-03-24 11:37:42 +01:00
00_setup_env_native_fuzz.sh Merge bitcoin/bitcoin#24292: Revert "ci: Run fuzzer task for the master branch only" 2022-02-21 13:12:36 +00:00
00_setup_env_native_fuzz_with_msan.sh ci: Use clang-12 and libcxx-12 for msan 2022-03-30 11:56:06 +02:00
00_setup_env_native_fuzz_with_valgrind.sh ci: use DWARF-4 for Valgrind CI job 2022-04-04 10:39:55 +01:00
00_setup_env_native_msan.sh ci: Use clang-12 and libcxx-12 for msan 2022-03-30 11:56:06 +02:00
00_setup_env_native_nowallet_libbitcoinkernel.sh ci: Build libbitcoinkernel 2022-04-27 17:36:39 -04:00
00_setup_env_native_qt5.sh test: previous releases: add v23.0 2022-05-06 10:00:47 +02:00
00_setup_env_native_tidy.sh tidy: Add include-what-you-use 2022-04-20 14:14:52 +01:00
00_setup_env_native_tsan.sh ci: add DEBUG_LOCKCONTENTION to CI task containing DEBUG_LOCKORDER 2022-05-20 12:48:17 +02:00
00_setup_env_native_valgrind.sh ci: use DWARF-4 for Valgrind CI job 2022-04-04 10:39:55 +01:00
00_setup_env_s390x.sh test: Exclude broken feature_init for now 2022-02-04 16:33:36 +01:00
00_setup_env_win64.sh ci: Install documented packages for "Win64" CI task 2022-05-28 11:34:11 +02:00
04_install.sh ci: Clone iwyu only if missing 2022-04-30 09:23:56 +02:00
05_before_script.sh ci, android: Update Command-line Tools from 2.1 up to 7.0 2022-05-31 18:43:11 +02:00
06_script_a.sh [ci] apply cache size limit and print ccache statistics in "ARM64 Android APK" 2022-07-04 22:18:41 +09:00
06_script_b.sh Move {Load,Dump}Mempool to kernel namespace 2022-07-15 12:26:20 -04:00
wrap-qemu.sh refactor: integrate no_nul into univalue unitester 2022-07-18 09:15:18 +01:00
wrap-valgrind.sh scripted-diff: Bump copyright headers 2021-12-30 19:36:57 +02:00
wrap-wine.sh refactor: integrate no_nul into univalue unitester 2022-07-18 09:15:18 +01:00
wrapped-cl.bat ci: Integrate ccache into MSVC build 2022-03-12 03:20:33 +01:00