Dash Core  0.12.2.1
P2P Digital Currency
zmqpublishnotifier.cpp File Reference
#include "chainparams.h"
#include "streams.h"
#include "zmqpublishnotifier.h"
#include "validation.h"
#include "util.h"

Go to the source code of this file.

Functions

static int zmq_send_multipart (void *sock, const void *data, size_t size,...)
 

Variables

static std::multimap< std::string, CZMQAbstractPublishNotifier * > mapPublishNotifiers
 
static const char * MSG_HASHBLOCK = "hashblock"
 
static const char * MSG_HASHTX = "hashtx"
 
static const char * MSG_HASHTXLOCK = "hashtxlock"
 
static const char * MSG_RAWBLOCK = "rawblock"
 
static const char * MSG_RAWTX = "rawtx"
 
static const char * MSG_RAWTXLOCK = "rawtxlock"
 

Function Documentation

◆ zmq_send_multipart()

static int zmq_send_multipart ( void *  sock,
const void *  data,
size_t  size,
  ... 
)
static

Definition at line 21 of file zmqpublishnotifier.cpp.

Referenced by CZMQAbstractPublishNotifier::SendMessage().

Variable Documentation

◆ mapPublishNotifiers

std::multimap<std::string, CZMQAbstractPublishNotifier*> mapPublishNotifiers
static

◆ MSG_HASHBLOCK

const char* MSG_HASHBLOCK = "hashblock"
static

Definition at line 13 of file zmqpublishnotifier.cpp.

Referenced by CZMQPublishHashBlockNotifier::NotifyBlock().

◆ MSG_HASHTX

const char* MSG_HASHTX = "hashtx"
static

◆ MSG_HASHTXLOCK

const char* MSG_HASHTXLOCK = "hashtxlock"
static

◆ MSG_RAWBLOCK

const char* MSG_RAWBLOCK = "rawblock"
static

Definition at line 16 of file zmqpublishnotifier.cpp.

Referenced by CZMQPublishRawBlockNotifier::NotifyBlock().

◆ MSG_RAWTX

const char* MSG_RAWTX = "rawtx"
static

◆ MSG_RAWTXLOCK

const char* MSG_RAWTXLOCK = "rawtxlock"
static