Files
bitcoin/src/validationinterface.h
sedited d6f680b427 validation: Move block into BlockDisconnected signal
This makes existing behaviour of the block's destructor triggering on
the scheduler thread more explicit by moving it to the thread. The
scheduler thread doing so is useful, since it does not block the thread
doing validation while releasing a block's memory.

DisconnectTip already creates and destroys the block itself, so moving
it into the validation signals is well scoped.
2026-03-18 13:34:26 +01:00

10 KiB