mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
119 lines
16 KiB
HTML
119 lines
16 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/clientversion.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('clientversion_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">clientversion.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="clientversion_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) 2009-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_CLIENTVERSION_H</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#define BITCOIN_CLIENTVERSION_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">#if defined(HAVE_CONFIG_H)</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include "<a class="code" href="dash-config_8h.html">config/dash-config.h</a>"</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="preprocessor">#else</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#define CLIENT_VERSION_MAJOR 0</span></div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="clientversion_8h.html#aaaf4067cdc86f257a46b57889ff3f847"> 18</a></span> <span class="preprocessor">#define CLIENT_VERSION_MINOR 12</span></div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="clientversion_8h.html#a0e7f62bdcc6c191960438fb0f75a5cba"> 19</a></span> <span class="preprocessor">#define CLIENT_VERSION_REVISION 2</span></div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="clientversion_8h.html#a8a7e28feadfc7a119b9f297be002fd64"> 20</a></span> <span class="preprocessor">#define CLIENT_VERSION_BUILD 1</span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="clientversion_8h.html#a025f9205720e2c4c155eefb01fd150ba"> 23</a></span> <span class="preprocessor">#define CLIENT_VERSION_IS_RELEASE true</span></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> </div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="clientversion_8h.html#a5a3262b73772541f8d42a66de97909ed"> 29</a></span> <span class="preprocessor">#define COPYRIGHT_YEAR 2017</span></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="preprocessor">#endif //HAVE_CONFIG_H</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> </div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="clientversion_8h.html#ad9ac3d6162a4c18e51a0852093eab9bd"> 37</a></span> <span class="preprocessor">#define STRINGIZE(X) DO_STRINGIZE(X)</span></div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="clientversion_8h.html#adc40205606ab684dafc109600d82a844"> 38</a></span> <span class="preprocessor">#define DO_STRINGIZE(X) #X</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="clientversion_8h.html#a6d4a3f810dce4e8120aab61b143868b9"> 41</a></span> <span class="preprocessor">#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers, 2014-" STRINGIZE(COPYRIGHT_YEAR) " The Dash Core Developers"</span></div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor">#if !defined(WINDRES_PREPROC)</span></div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span> </div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="preprocessor">#include <vector></span></div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="clientversion_8h.html#a9697b803a256a637d532f292442c749c"> 54</a></span> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="clientversion_8h.html#a9697b803a256a637d532f292442c749c">CLIENT_VERSION</a> =</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  1000000 * <a class="code" href="clientversion_8h.html#a92b90ffd16d51295dadb88ea95065f87">CLIENT_VERSION_MAJOR</a></div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  + 10000 * <a class="code" href="clientversion_8h.html#aaaf4067cdc86f257a46b57889ff3f847">CLIENT_VERSION_MINOR</a></div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  + 100 * <a class="code" href="clientversion_8h.html#a0e7f62bdcc6c191960438fb0f75a5cba">CLIENT_VERSION_REVISION</a></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  + 1 * <a class="code" href="clientversion_8h.html#a8a7e28feadfc7a119b9f297be002fd64">CLIENT_VERSION_BUILD</a>;</div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span> </div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword">extern</span> <span class="keyword">const</span> std::string <a class="code" href="clientversion_8h.html#ad087f1f283f087089d3d86d1a196a5cb">CLIENT_NAME</a>;</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="keyword">extern</span> <span class="keyword">const</span> std::string <a class="code" href="clientversion_8h.html#a1a5e163cdc615d789b2db896d591230b">CLIENT_BUILD</a>;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="keyword">extern</span> <span class="keyword">const</span> std::string <a class="code" href="clientversion_8h.html#a9d36ad6318ca298d6b7d38701212ce20">CLIENT_DATE</a>;</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span> </div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> std::string <a class="code" href="clientversion_8h.html#ac3e3098552063f228d9deac38a8b9848">FormatFullVersion</a>();</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span> std::string <a class="code" href="clientversion_8h.html#a7e6809cdbfc7f83b46f83caea740894d">FormatSubVersion</a>(<span class="keyword">const</span> std::string& <a class="code" href="rest_8cpp.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>, <span class="keywordtype">int</span> nClientVersion, <span class="keyword">const</span> std::vector<std::string>& comments);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="preprocessor">#endif // WINDRES_PREPROC</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span> </div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor">#endif // BITCOIN_CLIENTVERSION_H</span></div><div class="ttc" id="clientversion_8h_html_a7e6809cdbfc7f83b46f83caea740894d"><div class="ttname"><a href="clientversion_8h.html#a7e6809cdbfc7f83b46f83caea740894d">FormatSubVersion</a></div><div class="ttdeci">std::string FormatSubVersion(const std::string &name, int nClientVersion, const std::vector< std::string > &comments)</div><div class="ttdef"><b>Definition:</b> <a href="clientversion_8cpp_source.html#l00097">clientversion.cpp:97</a></div></div>
|
|
<div class="ttc" id="clientversion_8h_html_a92b90ffd16d51295dadb88ea95065f87"><div class="ttname"><a href="clientversion_8h.html#a92b90ffd16d51295dadb88ea95065f87">CLIENT_VERSION_MAJOR</a></div><div class="ttdeci">#define CLIENT_VERSION_MAJOR</div><div class="ttdoc">These need to be macros, as clientversion.cpp&#39;s and dash*-res.rc&#39;s voodoo requires it...</div><div class="ttdef"><b>Definition:</b> <a href="clientversion_8h_source.html#l00017">clientversion.h:17</a></div></div>
|
|
<div class="ttc" id="clientversion_8h_html_aaaf4067cdc86f257a46b57889ff3f847"><div class="ttname"><a href="clientversion_8h.html#aaaf4067cdc86f257a46b57889ff3f847">CLIENT_VERSION_MINOR</a></div><div class="ttdeci">#define CLIENT_VERSION_MINOR</div><div class="ttdef"><b>Definition:</b> <a href="clientversion_8h_source.html#l00018">clientversion.h:18</a></div></div>
|
|
<div class="ttc" id="rest_8cpp_html_a8f8f80d37794cde9472343e4487ba3eb"><div class="ttname"><a href="rest_8cpp.html#a8f8f80d37794cde9472343e4487ba3eb">name</a></div><div class="ttdeci">const char * name</div><div class="ttdef"><b>Definition:</b> <a href="rest_8cpp_source.html#l00037">rest.cpp:37</a></div></div>
|
|
<div class="ttc" id="clientversion_8h_html_ac3e3098552063f228d9deac38a8b9848"><div class="ttname"><a href="clientversion_8h.html#ac3e3098552063f228d9deac38a8b9848">FormatFullVersion</a></div><div class="ttdeci">std::string FormatFullVersion()</div><div class="ttdef"><b>Definition:</b> <a href="clientversion_8cpp_source.html#l00089">clientversion.cpp:89</a></div></div>
|
|
<div class="ttc" id="clientversion_8h_html_ad087f1f283f087089d3d86d1a196a5cb"><div class="ttname"><a href="clientversion_8h.html#ad087f1f283f087089d3d86d1a196a5cb">CLIENT_NAME</a></div><div class="ttdeci">const std::string CLIENT_NAME</div></div>
|
|
<div class="ttc" id="clientversion_8h_html_a8a7e28feadfc7a119b9f297be002fd64"><div class="ttname"><a href="clientversion_8h.html#a8a7e28feadfc7a119b9f297be002fd64">CLIENT_VERSION_BUILD</a></div><div class="ttdeci">#define CLIENT_VERSION_BUILD</div><div class="ttdef"><b>Definition:</b> <a href="clientversion_8h_source.html#l00020">clientversion.h:20</a></div></div>
|
|
<div class="ttc" id="clientversion_8h_html_a9d36ad6318ca298d6b7d38701212ce20"><div class="ttname"><a href="clientversion_8h.html#a9d36ad6318ca298d6b7d38701212ce20">CLIENT_DATE</a></div><div class="ttdeci">const std::string CLIENT_DATE</div></div>
|
|
<div class="ttc" id="dash-config_8h_html"><div class="ttname"><a href="dash-config_8h.html">dash-config.h</a></div></div>
|
|
<div class="ttc" id="clientversion_8h_html_a9697b803a256a637d532f292442c749c"><div class="ttname"><a href="clientversion_8h.html#a9697b803a256a637d532f292442c749c">CLIENT_VERSION</a></div><div class="ttdeci">static const int CLIENT_VERSION</div><div class="ttdef"><b>Definition:</b> <a href="clientversion_8h_source.html#l00054">clientversion.h:54</a></div></div>
|
|
<div class="ttc" id="clientversion_8h_html_a1a5e163cdc615d789b2db896d591230b"><div class="ttname"><a href="clientversion_8h.html#a1a5e163cdc615d789b2db896d591230b">CLIENT_BUILD</a></div><div class="ttdeci">const std::string CLIENT_BUILD</div></div>
|
|
<div class="ttc" id="clientversion_8h_html_a0e7f62bdcc6c191960438fb0f75a5cba"><div class="ttname"><a href="clientversion_8h.html#a0e7f62bdcc6c191960438fb0f75a5cba">CLIENT_VERSION_REVISION</a></div><div class="ttdeci">#define CLIENT_VERSION_REVISION</div><div class="ttdef"><b>Definition:</b> <a href="clientversion_8h_source.html#l00019">clientversion.h:19</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="clientversion_8h.html">clientversion.h</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:02 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>
|