BSHA3
0.17.99
P2P Blockchain, based on Bitcoin
src
zmq
zmqabstractnotifier.cpp
Go to the documentation of this file.
1
// Copyright (c) 2015-2018 The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#include <
zmq/zmqabstractnotifier.h
>
6
#include <util.h>
7
8
9
CZMQAbstractNotifier::~CZMQAbstractNotifier
()
10
{
11
assert(!
psocket
);
12
}
13
14
bool
CZMQAbstractNotifier::NotifyBlock
(
const
CBlockIndex
*
/*CBlockIndex*/
)
15
{
16
return
true
;
17
}
18
19
bool
CZMQAbstractNotifier::NotifyTransaction
(
const
CTransaction
&
/*transaction*/
)
20
{
21
return
true
;
22
}
CZMQAbstractNotifier::NotifyBlock
virtual bool NotifyBlock(const CBlockIndex *pindex)
Definition:
zmqabstractnotifier.cpp:14
zmqabstractnotifier.h
CZMQAbstractNotifier::~CZMQAbstractNotifier
virtual ~CZMQAbstractNotifier()
Definition:
zmqabstractnotifier.cpp:9
CZMQAbstractNotifier::NotifyTransaction
virtual bool NotifyTransaction(const CTransaction &transaction)
Definition:
zmqabstractnotifier.cpp:19
CBlockIndex
The block chain is a tree shaped structure starting with the genesis block at the root...
Definition:
chain.h:170
CZMQAbstractNotifier::psocket
void * psocket
Definition:
zmqabstractnotifier.h:39
CTransaction
The basic transaction that is broadcasted on the network and contained in blocks. ...
Definition:
transaction.h:264
Generated on Wed Nov 28 2018 15:30:30 for BSHA3 by
1.8.14