mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-09 15:37:00 -04:00

a4edb168b6
ZMQ: add options to configure outbound message high water mark, aka SNDHWM (mruddy)
Pull request description:
ZMQ: add options to configure outbound message high water mark, aka SNDHWM
This is my attempt at https://github.com/bitcoin/bitcoin/pull/13315
Tree-SHA512: a4cc3bcf179776899261a97c8c4f31f35d1d8950fd71a09a79c5c064879b38e600b26824c89c4091d941502ed5b0255390882f7d44baf9e6dc49d685a86e8edb
23 lines
585 B
C++
23 lines
585 B
C++
// Copyright (c) 2015-2018 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 <zmq/zmqabstractnotifier.h>
|
|
#include <util/system.h>
|
|
|
|
const int CZMQAbstractNotifier::DEFAULT_ZMQ_SNDHWM;
|
|
|
|
CZMQAbstractNotifier::~CZMQAbstractNotifier()
|
|
{
|
|
assert(!psocket);
|
|
}
|
|
|
|
bool CZMQAbstractNotifier::NotifyBlock(const CBlockIndex * /*CBlockIndex*/)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
bool CZMQAbstractNotifier::NotifyTransaction(const CTransaction &/*transaction*/)
|
|
{
|
|
return true;
|
|
}
|