mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
124 lines
18 KiB
HTML
124 lines
18 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.14"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>Dash Core: src/zmq/zmqnotificationinterface.h Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="resize.js"></script>
|
|
<script type="text/javascript" src="navtreedata.js"></script>
|
|
<script type="text/javascript" src="navtree.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(initResizable);
|
|
/* @license-end */</script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><img alt="Logo" src="bitcoin_logo_doxygen.png"/></td>
|
|
<td id="projectalign" style="padding-left: 0.5em;">
|
|
<div id="projectname">Dash Core
|
|
 <span id="projectnumber">0.12.2.1</span>
|
|
</div>
|
|
<div id="projectbrief">P2P Digital Currency</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.14 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
var searchBox = new SearchBox("searchBox", "search",false,'Search');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */</script>
|
|
<div id="main-nav"></div>
|
|
</div><!-- top -->
|
|
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
|
<div id="nav-tree">
|
|
<div id="nav-tree-contents">
|
|
<div id="nav-sync" class="sync"></div>
|
|
</div>
|
|
</div>
|
|
<div id="splitbar" style="-moz-user-select:none;"
|
|
class="ui-resizable-handle">
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
|
$(document).ready(function(){initNavTree('zmqnotificationinterface_8h_source.html','');});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<iframe src="javascript:void(0)" frameborder="0"
|
|
name="MSearchResults" id="MSearchResults">
|
|
</iframe>
|
|
</div>
|
|
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">zmqnotificationinterface.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="zmqnotificationinterface_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">// Copyright (c) 2015 The Bitcoin Core developers</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Distributed under the MIT software license, see the accompanying</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// file COPYING or http://www.opensource.org/licenses/mit-license.php.</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> </div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#ifndef BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#define BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> </div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor">#include "<a class="code" href="validationinterface_8h.html">validationinterface.h</a>"</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#include <map></span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keyword">class </span><a class="code" href="classCBlockIndex.html">CBlockIndex</a>;</div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keyword">class </span><a class="code" href="classCZMQAbstractNotifier.html">CZMQAbstractNotifier</a>;</div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="classCZMQNotificationInterface.html"> 15</a></span> <span class="keyword">class </span><a class="code" href="classCZMQNotificationInterface.html">CZMQNotificationInterface</a> : <span class="keyword">public</span> <a class="code" href="classCValidationInterface.html">CValidationInterface</a></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> {</div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">virtual</span> <a class="code" href="classCZMQNotificationInterface.html#a8ab430300f215da77779d66415cdb8e3">~CZMQNotificationInterface</a>();</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keyword">static</span> <a class="code" href="classCZMQNotificationInterface.html">CZMQNotificationInterface</a>* <a class="code" href="classCZMQNotificationInterface.html#a791ea8fd1b414482c9a811ac5ae79a26">CreateWithArguments</a>(<span class="keyword">const</span> std::map<std::string, std::string> &args);</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">protected</span>:</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">bool</span> <a class="code" href="classCZMQNotificationInterface.html#a33097d2313d722ff02dd0f2c77f66d58">Initialize</a>();</div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <span class="keywordtype">void</span> <a class="code" href="classCZMQNotificationInterface.html#a2eceddf8e9e3ac248ba922ef24eb8d3a">Shutdown</a>();</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// CValidationInterface</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">void</span> <a class="code" href="classCZMQNotificationInterface.html#a70a0919ccfbc5fb24cd16909c6d03c05">SyncTransaction</a>(<span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a> &tx, <span class="keyword">const</span> <a class="code" href="classCBlock.html">CBlock</a> *pblock);</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordtype">void</span> <a class="code" href="classCZMQNotificationInterface.html#a01b29e896bbc4c57af8aa53c48e74367">UpdatedBlockTip</a>(<span class="keyword">const</span> <a class="code" href="classCBlockIndex.html">CBlockIndex</a> *pindexNew, <span class="keyword">const</span> <a class="code" href="classCBlockIndex.html">CBlockIndex</a> *pindexFork, <span class="keywordtype">bool</span> fInitialDownload);</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  <span class="keywordtype">void</span> <a class="code" href="classCZMQNotificationInterface.html#a82c8518d4631965696b31439fca225b6">NotifyTransactionLock</a>(<span class="keyword">const</span> <a class="code" href="classCTransaction.html">CTransaction</a> &tx);</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <a class="code" href="classCZMQNotificationInterface.html#adb04a7b2bda5974385001348eeef15cd">CZMQNotificationInterface</a>();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="classCZMQNotificationInterface.html#a40f209969a22942845378e2a87171031"> 34</a></span>  <span class="keywordtype">void</span> *<a class="code" href="classCZMQNotificationInterface.html#a40f209969a22942845378e2a87171031">pcontext</a>;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classCZMQNotificationInterface.html#ae6efcc50da585512e06bbea587c7860b"> 35</a></span>  std::list<CZMQAbstractNotifier*> <a class="code" href="classCZMQNotificationInterface.html#ae6efcc50da585512e06bbea587c7860b">notifiers</a>;</div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> };</div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> </div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#endif // BITCOIN_ZMQ_ZMQNOTIFICATIONINTERFACE_H</span></div><div class="ttc" id="classCZMQNotificationInterface_html_a33097d2313d722ff02dd0f2c77f66d58"><div class="ttname"><a href="classCZMQNotificationInterface.html#a33097d2313d722ff02dd0f2c77f66d58">CZMQNotificationInterface::Initialize</a></div><div class="ttdeci">bool Initialize()</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8cpp_source.html#l00075">zmqnotificationinterface.cpp:75</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_a82c8518d4631965696b31439fca225b6"><div class="ttname"><a href="classCZMQNotificationInterface.html#a82c8518d4631965696b31439fca225b6">CZMQNotificationInterface::NotifyTransactionLock</a></div><div class="ttdeci">void NotifyTransactionLock(const CTransaction &tx)</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8cpp_source.html#l00166">zmqnotificationinterface.cpp:166</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_a70a0919ccfbc5fb24cd16909c6d03c05"><div class="ttname"><a href="classCZMQNotificationInterface.html#a70a0919ccfbc5fb24cd16909c6d03c05">CZMQNotificationInterface::SyncTransaction</a></div><div class="ttdeci">void SyncTransaction(const CTransaction &tx, const CBlock *pblock)</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8cpp_source.html#l00149">zmqnotificationinterface.cpp:149</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_a2eceddf8e9e3ac248ba922ef24eb8d3a"><div class="ttname"><a href="classCZMQNotificationInterface.html#a2eceddf8e9e3ac248ba922ef24eb8d3a">CZMQNotificationInterface::Shutdown</a></div><div class="ttdeci">void Shutdown()</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8cpp_source.html#l00112">zmqnotificationinterface.cpp:112</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html"><div class="ttname"><a href="classCZMQNotificationInterface.html">CZMQNotificationInterface</a></div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8h_source.html#l00015">zmqnotificationinterface.h:15</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_a791ea8fd1b414482c9a811ac5ae79a26"><div class="ttname"><a href="classCZMQNotificationInterface.html#a791ea8fd1b414482c9a811ac5ae79a26">CZMQNotificationInterface::CreateWithArguments</a></div><div class="ttdeci">static CZMQNotificationInterface * CreateWithArguments(const std::map< std::string, std::string > &args)</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8cpp_source.html#l00032">zmqnotificationinterface.cpp:32</a></div></div>
|
|
<div class="ttc" id="classCTransaction_html"><div class="ttname"><a href="classCTransaction.html">CTransaction</a></div><div class="ttdef"><b>Definition:</b> <a href="transaction_8h_source.html#l00210">transaction.h:210</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_a01b29e896bbc4c57af8aa53c48e74367"><div class="ttname"><a href="classCZMQNotificationInterface.html#a01b29e896bbc4c57af8aa53c48e74367">CZMQNotificationInterface::UpdatedBlockTip</a></div><div class="ttdeci">void UpdatedBlockTip(const CBlockIndex *pindexNew, const CBlockIndex *pindexFork, bool fInitialDownload)</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8cpp_source.html#l00129">zmqnotificationinterface.cpp:129</a></div></div>
|
|
<div class="ttc" id="classCZMQAbstractNotifier_html"><div class="ttname"><a href="classCZMQAbstractNotifier.html">CZMQAbstractNotifier</a></div><div class="ttdef"><b>Definition:</b> <a href="zmqabstractnotifier_8h_source.html#l00015">zmqabstractnotifier.h:15</a></div></div>
|
|
<div class="ttc" id="classCValidationInterface_html"><div class="ttname"><a href="classCValidationInterface.html">CValidationInterface</a></div><div class="ttdef"><b>Definition:</b> <a href="validationinterface_8h_source.html#l00031">validationinterface.h:31</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_a40f209969a22942845378e2a87171031"><div class="ttname"><a href="classCZMQNotificationInterface.html#a40f209969a22942845378e2a87171031">CZMQNotificationInterface::pcontext</a></div><div class="ttdeci">void * pcontext</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8h_source.html#l00034">zmqnotificationinterface.h:34</a></div></div>
|
|
<div class="ttc" id="validationinterface_8h_html"><div class="ttname"><a href="validationinterface_8h.html">validationinterface.h</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_adb04a7b2bda5974385001348eeef15cd"><div class="ttname"><a href="classCZMQNotificationInterface.html#adb04a7b2bda5974385001348eeef15cd">CZMQNotificationInterface::CZMQNotificationInterface</a></div><div class="ttdeci">CZMQNotificationInterface()</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8cpp_source.html#l00018">zmqnotificationinterface.cpp:18</a></div></div>
|
|
<div class="ttc" id="classCBlockIndex_html"><div class="ttname"><a href="classCBlockIndex.html">CBlockIndex</a></div><div class="ttdef"><b>Definition:</b> <a href="chain_8h_source.html#l00100">chain.h:100</a></div></div>
|
|
<div class="ttc" id="classCBlock_html"><div class="ttname"><a href="classCBlock.html">CBlock</a></div><div class="ttdef"><b>Definition:</b> <a href="block_8h_source.html#l00073">block.h:73</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_a8ab430300f215da77779d66415cdb8e3"><div class="ttname"><a href="classCZMQNotificationInterface.html#a8ab430300f215da77779d66415cdb8e3">CZMQNotificationInterface::~CZMQNotificationInterface</a></div><div class="ttdeci">virtual ~CZMQNotificationInterface()</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8cpp_source.html#l00022">zmqnotificationinterface.cpp:22</a></div></div>
|
|
<div class="ttc" id="classCZMQNotificationInterface_html_ae6efcc50da585512e06bbea587c7860b"><div class="ttname"><a href="classCZMQNotificationInterface.html#ae6efcc50da585512e06bbea587c7860b">CZMQNotificationInterface::notifiers</a></div><div class="ttdeci">std::list< CZMQAbstractNotifier * > notifiers</div><div class="ttdef"><b>Definition:</b> <a href="zmqnotificationinterface_8h_source.html#l00035">zmqnotificationinterface.h:35</a></div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
</div><!-- doc-content -->
|
|
<!-- start footer part -->
|
|
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_736c98770eedbf520b93d08dabc402ec.html">zmq</a></li><li class="navelem"><a class="el" href="zmqnotificationinterface_8h.html">zmqnotificationinterface.h</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:10 for Dash Core by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.14 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|