Inside Bitcoin
Opening the selected file…
Inside Bitcoin
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1// Copyright (c) 2015-present The Bitcoin Core developers2// Distributed under the MIT software license, see the accompanying3// file COPYING or http://www.opensource.org/licenses/mit-license.php.5#include <zmq/zmqabstractnotifier.h>7#include <cassert>9CZMQAbstractNotifier::~CZMQAbstractNotifier()10{11assert(!psocket);12}14bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/)15{16return true;17}19bool CZMQAbstractNotifier::NotifyTransaction(const CTransaction &/*transaction*/)20{21return true;22}24bool CZMQAbstractNotifier::NotifyBlockConnect(const CBlockIndex * /*CBlockIndex*/)25{26return true;27}29bool CZMQAbstractNotifier::NotifyBlockDisconnect(const CBlockIndex * /*CBlockIndex*/)30{31return true;32}34bool CZMQAbstractNotifier::NotifyTransactionAcceptance(const CTransaction &/*transaction*/, uint64_t mempool_sequence)35{36return true;37}39bool CZMQAbstractNotifier::NotifyTransactionRemoval(const CTransaction &/*transaction*/, uint64_t mempool_sequence)40{41return true;42}