HomePhabricator

refactor: Move ScheduleBatchPriority to its own file

Description

refactor: Move ScheduleBatchPriority to its own file

Summary:
With the previous move of AlertNotify out of the validation file, and
thus out of the kernel library, ScheduleBatchPriority is the last
remaining function used by the kernel library from util/system. Move it
to its own file, such that util/system can be moved out of the util
library in the following few commits.

Moving util/system out of the kernel library removes further networking
as well as shell related code from it.

This is a partial backport of core#27636
https://github.com/bitcoin/bitcoin/pull/27636/commits/9ec5da36b62276ae22e348f26f88aaf646357d6d

Depends on D16207

Test Plan:
With bitcoin-chainstate
ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D16208

Details

Provenance
TheCharlatan <seb.kung@gmail.com>Authored on May 6 2023, 20:14
PiRKCommitted on May 23 2024, 19:11
PiRKPushed on May 23 2024, 19:11
Reviewer
Restricted Project
Differential Revision
D16208: refactor: Move ScheduleBatchPriority to its own file
Parents
rABCfa9a010420d1: kernel: Add warning method to notifications
Branches
Unknown
Tags
Unknown