mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
22 lines
607 B
C
22 lines
607 B
C
|
|
// Copyright (c) 2023 The Bitcoin Core developers
|
||
|
|
// Distributed under the MIT software license, see the accompanying
|
||
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||
|
|
|
||
|
|
#ifndef BITCOIN_NODE_KERNEL_NOTIFICATIONS_H
|
||
|
|
#define BITCOIN_NODE_KERNEL_NOTIFICATIONS_H
|
||
|
|
|
||
|
|
#include <kernel/notifications_interface.h>
|
||
|
|
|
||
|
|
class CBlockIndex;
|
||
|
|
enum class SynchronizationState;
|
||
|
|
|
||
|
|
namespace node {
|
||
|
|
class KernelNotifications : public kernel::Notifications
|
||
|
|
{
|
||
|
|
public:
|
||
|
|
void blockTip(SynchronizationState state, CBlockIndex& index) override;
|
||
|
|
};
|
||
|
|
} // namespace node
|
||
|
|
|
||
|
|
#endif // BITCOIN_NODE_KERNEL_NOTIFICATIONS_H
|