mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
17 lines
435 B
C++
17 lines
435 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.
|
||
|
|
|
||
|
|
#include <node/kernel_notifications.h>
|
||
|
|
|
||
|
|
#include <node/interface_ui.h>
|
||
|
|
|
||
|
|
namespace node {
|
||
|
|
|
||
|
|
void KernelNotifications::blockTip(SynchronizationState state, CBlockIndex& index)
|
||
|
|
{
|
||
|
|
uiInterface.NotifyBlockTip(state, &index);
|
||
|
|
}
|
||
|
|
|
||
|
|
} // namespace node
|