2014-11-18 18:06:32 +01:00
|
|
|
// Copyright (c) 2015 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 "zmqabstractnotifier.h"
|
|
|
|
#include "util.h"
|
|
|
|
|
|
|
|
|
|
|
|
CZMQAbstractNotifier::~CZMQAbstractNotifier()
|
|
|
|
{
|
|
|
|
assert(!psocket);
|
|
|
|
}
|
|
|
|
|
2015-09-16 16:42:23 +02:00
|
|
|
bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/)
|
2014-11-18 18:06:32 +01:00
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CZMQAbstractNotifier::NotifyTransaction(const CTransaction &/*transaction*/)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
2016-07-15 08:38:33 +02:00
|
|
|
|
|
|
|
bool CZMQAbstractNotifier::NotifyTransactionLock(const CTransaction &/*transaction*/)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
2018-07-12 11:06:30 +02:00
|
|
|
|
|
|
|
bool CZMQAbstractNotifier::NotifyGovernanceVote(const CGovernanceVote& /*vote*/)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CZMQAbstractNotifier::NotifyGovernanceObject(const CGovernanceObject& /*object*/)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|
2018-09-12 13:12:44 +02:00
|
|
|
|
|
|
|
bool CZMQAbstractNotifier::NotifyInstantSendDoubleSpendAttempt(const CTransaction& /*currentTx*/, const CTransaction& /*previousTx*/)
|
|
|
|
{
|
|
|
|
return true;
|
|
|
|
}
|