diff options
author | TheCharlatan <seb.kung@gmail.com> | 2024-01-24 14:12:33 +0100 |
---|---|---|
committer | TheCharlatan <seb.kung@gmail.com> | 2024-02-15 14:45:51 +0100 |
commit | 06069b3913dda048f5d640a662b0852f86346ace (patch) | |
tree | e27a51702495364ef686f3e9b1d9b83d269196b3 /src/kernel | |
parent | 0d6d2b650d1017691f48c9109a6cd020ab46aa73 (diff) | |
download | bitcoin-06069b3913dda048f5d640a662b0852f86346ace.tar.xz |
scripted-diff: Rename MainSignals to ValidationSignals
-BEGIN VERIFY SCRIPT-
s() { git grep -l "$1" src | xargs sed -i "s/$1/$2/g"; }
s 'CMainSignals' 'ValidationSignals'
s 'MainSignalsImpl' 'ValidationSignalsImpl'
-END VERIFY SCRIPT-
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/chainstatemanager_opts.h | 4 | ||||
-rw-r--r-- | src/kernel/mempool_options.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/chainstatemanager_opts.h b/src/kernel/chainstatemanager_opts.h index 766a812d91..de5f78494a 100644 --- a/src/kernel/chainstatemanager_opts.h +++ b/src/kernel/chainstatemanager_opts.h @@ -18,7 +18,7 @@ #include <optional> class CChainParams; -class CMainSignals; +class ValidationSignals; static constexpr bool DEFAULT_CHECKPOINTS_ENABLED{true}; static constexpr auto DEFAULT_MAX_TIP_AGE{24h}; @@ -45,7 +45,7 @@ struct ChainstateManagerOpts { DBOptions coins_db{}; CoinsViewOptions coins_view{}; Notifications& notifications; - CMainSignals* signals{nullptr}; + ValidationSignals* signals{nullptr}; //! Number of script check worker threads. Zero means no parallel verification. int worker_threads_num{0}; }; diff --git a/src/kernel/mempool_options.h b/src/kernel/mempool_options.h index 1f69df95ff..0850b2e60e 100644 --- a/src/kernel/mempool_options.h +++ b/src/kernel/mempool_options.h @@ -13,7 +13,7 @@ #include <cstdint> #include <optional> -class CMainSignals; +class ValidationSignals; /** Default for -maxmempool, maximum megabytes of mempool memory usage */ static constexpr unsigned int DEFAULT_MAX_MEMPOOL_SIZE_MB{300}; @@ -59,7 +59,7 @@ struct MemPoolOptions { bool persist_v1_dat{DEFAULT_PERSIST_V1_DAT}; MemPoolLimits limits{}; - CMainSignals* signals{nullptr}; + ValidationSignals* signals{nullptr}; }; } // namespace kernel |