HomePhabricator

kernel: Add fatalError method to notifications

Description

kernel: Add fatalError method to notifications

Summary:
FatalError replaces what previously was the AbortNode function in
shutdown.cpp.

This commit is part of the libbitcoinkernel project and further removes
the shutdown's and, more generally, the kernel library's dependency on
interface_ui with a kernel notification method. By removing interface_ui
from the kernel library, its dependency on boost is reduced to just
boost::multi_index. At the same time it also takes a step towards
de-globalising the interrupt infrastructure.

Co-authored-by: Russell Yanofsky <russ@yanofsky.org>
Co-authored-by: TheCharlatan <seb.kung@gmail.com>

This concludes backport of core#27861
https://github.com/bitcoin/bitcoin/pull/27861/commits/6eb33bd0c21b3e075fbab596351cacafdc947472
Depends on D18967

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
TheCharlatan <seb.kung@gmail.com>Authored on May 9 2023, 09:15
PiRKCommitted on Thu, Nov 20, 14:00
PiRKPushed on Thu, Nov 20, 14:00
Reviewer
Restricted Project
Differential Revision
D18969: kernel: Add fatalError method to notifications
Parents
rABC60bc1a5bd8e4: kernel: Add flushError method to notifications
Branches
Unknown
Tags
Unknown