mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 17:56:16 +00:00
165 lines
50 KiB
HTML
165 lines
50 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/rpc/protocol.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('rpc_2protocol_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">protocol.h</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="rpc_2protocol_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) 2010 Satoshi Nakamoto</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">// Copyright (c) 2009-2015 The Bitcoin Core developers</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// Distributed under the MIT software license, see the accompanying</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// file COPYING or http://www.opensource.org/licenses/mit-license.php.</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> </div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#ifndef BITCOIN_RPCPROTOCOL_H</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#define BITCOIN_RPCPROTOCOL_H</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> </div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#include <list></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> <span class="preprocessor">#include <stdint.h></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <string></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#include <boost/filesystem.hpp></span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> </div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="preprocessor">#include <<a class="code" href="univalue_8h.html">univalue.h</a>></span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46"> 18</a></span> <span class="keyword">enum</span> <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46">HTTPStatusCode</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"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a43f8027764325bbcad2f773511156d0a"> 20</a></span>  <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a43f8027764325bbcad2f773511156d0a">HTTP_OK</a> = 200,</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a173b2a55d636fe537b9069a4fb3388f2"> 21</a></span>  <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a173b2a55d636fe537b9069a4fb3388f2">HTTP_BAD_REQUEST</a> = 400,</div><div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a74677f364201a3d068bc6b9db7359288"> 22</a></span>  <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a74677f364201a3d068bc6b9db7359288">HTTP_UNAUTHORIZED</a> = 401,</div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a7aec6e8ecb79ff84830a69e52ff01d17"> 23</a></span>  <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a7aec6e8ecb79ff84830a69e52ff01d17">HTTP_FORBIDDEN</a> = 403,</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a7a2f2a109c030ee9d2d5afe761232451"> 24</a></span>  <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a7a2f2a109c030ee9d2d5afe761232451">HTTP_NOT_FOUND</a> = 404,</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a40d47a5f8adc6d74c1ec977528a36edf"> 25</a></span>  <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a40d47a5f8adc6d74c1ec977528a36edf">HTTP_BAD_METHOD</a> = 405,</div><div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46ac7d2e49bfead01d65a890a2e80e5b3a6"> 26</a></span>  <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46ac7d2e49bfead01d65a890a2e80e5b3a6">HTTP_INTERNAL_SERVER_ERROR</a> = 500,</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a6251d4710923e5253b159943405a1a3a"> 27</a></span>  <a class="code" href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a6251d4710923e5253b159943405a1a3a">HTTP_SERVICE_UNAVAILABLE</a> = 503,</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> };</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85dead"> 31</a></span> <span class="keyword">enum</span> <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85dead">RPCErrorCode</a></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> {</div><div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaf8310a778a7a84d76adde337d695fd0d"> 34</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaf8310a778a7a84d76adde337d695fd0d">RPC_INVALID_REQUEST</a> = -32600,</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada730bd898e0c5940282c275f49470a794"> 35</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada730bd898e0c5940282c275f49470a794">RPC_METHOD_NOT_FOUND</a> = -32601,</div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada784a3cc09b65fa47ff1d70fbd3bfbaca"> 36</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada784a3cc09b65fa47ff1d70fbd3bfbaca">RPC_INVALID_PARAMS</a> = -32602,</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadad4f5ea69465f2a32fda9b9bf5e698803"> 37</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadad4f5ea69465f2a32fda9b9bf5e698803">RPC_INTERNAL_ERROR</a> = -32603,</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada3632e7ba1deeda31ff77fe80bdaf7fe6"> 38</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada3632e7ba1deeda31ff77fe80bdaf7fe6">RPC_PARSE_ERROR</a> = -32700,</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="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada5aa884a9e263e1fad4ad13ec564d33d5"> 41</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada5aa884a9e263e1fad4ad13ec564d33d5">RPC_MISC_ERROR</a> = -1, </div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada456d9eafa45bb1041024b834a063ea80"> 42</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada456d9eafa45bb1041024b834a063ea80">RPC_FORBIDDEN_BY_SAFE_MODE</a> = -2, </div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada7c63246a7c7bc5912d499fb117358506"> 43</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada7c63246a7c7bc5912d499fb117358506">RPC_TYPE_ERROR</a> = -3, </div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadafb8d27e000f4a668b66974c73256a576"> 44</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadafb8d27e000f4a668b66974c73256a576">RPC_INVALID_ADDRESS_OR_KEY</a> = -5, </div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada2b50733804d98a7d4f2252563d864a66"> 45</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada2b50733804d98a7d4f2252563d864a66">RPC_OUT_OF_MEMORY</a> = -7, </div><div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadab38a9a653209a57acfc9a551c310e4dc"> 46</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadab38a9a653209a57acfc9a551c310e4dc">RPC_INVALID_PARAMETER</a> = -8, </div><div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadcfa95f6aca9c3a474fffac8c8ab1dd1"> 47</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadcfa95f6aca9c3a474fffac8c8ab1dd1">RPC_DATABASE_ERROR</a> = -20, </div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadae41723a0e8091c7853a1e582e317b272"> 48</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadae41723a0e8091c7853a1e582e317b272">RPC_DESERIALIZATION_ERROR</a> = -22, </div><div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadac8a991699304f068eb1d77e923b5c72f"> 49</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadac8a991699304f068eb1d77e923b5c72f">RPC_VERIFY_ERROR</a> = -25, </div><div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaf85dae2af118644e7aec72ffbc97c1c6"> 50</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaf85dae2af118644e7aec72ffbc97c1c6">RPC_VERIFY_REJECTED</a> = -26, </div><div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada074c4989af08b8a44674cd1a7fd84be5"> 51</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada074c4989af08b8a44674cd1a7fd84be5">RPC_VERIFY_ALREADY_IN_CHAIN</a> = -27, </div><div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadab8aee859ef513c81f87aa298e8c0cf7c"> 52</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadab8aee859ef513c81f87aa298e8c0cf7c">RPC_IN_WARMUP</a> = -28, </div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span> </div><div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaa2bc9f33fd0ba09e486eeeeafaae968c"> 55</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaa2bc9f33fd0ba09e486eeeeafaae968c">RPC_TRANSACTION_ERROR</a> = <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadac8a991699304f068eb1d77e923b5c72f">RPC_VERIFY_ERROR</a>,</div><div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada9e05169dd202b16a07bc124bd6e451d5"> 56</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada9e05169dd202b16a07bc124bd6e451d5">RPC_TRANSACTION_REJECTED</a> = <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaf85dae2af118644e7aec72ffbc97c1c6">RPC_VERIFY_REJECTED</a>,</div><div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada7a1b53103d599a098159e4f8171c4387"> 57</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada7a1b53103d599a098159e4f8171c4387">RPC_TRANSACTION_ALREADY_IN_CHAIN</a>= <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada074c4989af08b8a44674cd1a7fd84be5">RPC_VERIFY_ALREADY_IN_CHAIN</a>,</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaab5f4888435073da8cd11d99d274c8af"> 60</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaab5f4888435073da8cd11d99d274c8af">RPC_CLIENT_NOT_CONNECTED</a> = -9, </div><div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadd3692758a03ba3dcd1accbdd656b27f"> 61</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadd3692758a03ba3dcd1accbdd656b27f">RPC_CLIENT_IN_INITIAL_DOWNLOAD</a> = -10, </div><div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada69beae07cb7520bde6d66c32ebde05c4"> 62</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada69beae07cb7520bde6d66c32ebde05c4">RPC_CLIENT_NODE_ALREADY_ADDED</a> = -23, </div><div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadd603a70e2d6eb11ef5b3aad2f83fd70"> 63</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadd603a70e2d6eb11ef5b3aad2f83fd70">RPC_CLIENT_NODE_NOT_ADDED</a> = -24, </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada02613c7ff5b899411910a3d69ab3a47a"> 64</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada02613c7ff5b899411910a3d69ab3a47a">RPC_CLIENT_NODE_NOT_CONNECTED</a> = -29, </div><div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada47dd1e11bdbe307d901c99589c584b9f"> 65</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada47dd1e11bdbe307d901c99589c584b9f">RPC_CLIENT_INVALID_IP_OR_SUBNET</a> = -30, </div><div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadafec84f7fdd91f69c7d5f89a020be9f70"> 66</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadafec84f7fdd91f69c7d5f89a020be9f70">RPC_CLIENT_P2P_DISABLED</a> = -31, </div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span> </div><div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaba6f8682002fa223d3a405b743b5a540"> 69</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaba6f8682002fa223d3a405b743b5a540">RPC_WALLET_ERROR</a> = -4, </div><div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada5e46fc2ff7c51b8423b6eaf5b33ebfb9"> 70</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada5e46fc2ff7c51b8423b6eaf5b33ebfb9">RPC_WALLET_INSUFFICIENT_FUNDS</a> = -6, </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada05642c62794bf107e9be801e76a4c89e"> 71</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada05642c62794bf107e9be801e76a4c89e">RPC_WALLET_INVALID_ACCOUNT_NAME</a> = -11, </div><div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadacb2152d14607886f90ed134c94e21d"> 72</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadacb2152d14607886f90ed134c94e21d">RPC_WALLET_KEYPOOL_RAN_OUT</a> = -12, </div><div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada0c1fbdf17d83da9f5124f2dbf0ba4765"> 73</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada0c1fbdf17d83da9f5124f2dbf0ba4765">RPC_WALLET_UNLOCK_NEEDED</a> = -13, </div><div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadae7f578c2ec4458c79250e204505dedcc"> 74</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadae7f578c2ec4458c79250e204505dedcc">RPC_WALLET_PASSPHRASE_INCORRECT</a> = -14, </div><div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada6aa5da515d4b7230dfeb65017b9fd38d"> 75</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada6aa5da515d4b7230dfeb65017b9fd38d">RPC_WALLET_WRONG_ENC_STATE</a> = -15, </div><div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada796c728d5ec3fc308609494e1d608940"> 76</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada796c728d5ec3fc308609494e1d608940">RPC_WALLET_ENCRYPTION_FAILED</a> = -16, </div><div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada13d89bf3248220d312af052959f71b0b"> 77</a></span>  <a class="code" href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada13d89bf3248220d312af052959f71b0b">RPC_WALLET_ALREADY_UNLOCKED</a> = -17, </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> };</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span> </div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> std::string <a class="code" href="rpc_2protocol_8h.html#a41bda11f4ca3d566a97c9fe65482109e">JSONRPCRequest</a>(<span class="keyword">const</span> std::string& strMethod, <span class="keyword">const</span> <a class="code" href="classUniValue.html">UniValue</a>& params, <span class="keyword">const</span> <a class="code" href="classUniValue.html">UniValue</a>& <span class="keywordtype">id</span>);</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span> <a class="code" href="classUniValue.html">UniValue</a> <a class="code" href="rpc_2protocol_8h.html#ac3b7dd20357d54461794da1213448ed8">JSONRPCReplyObj</a>(<span class="keyword">const</span> <a class="code" href="classUniValue.html">UniValue</a>& <a class="code" href="namespacerpcuser.html#a637791b4450c02d511291cd297ce12df">result</a>, <span class="keyword">const</span> <a class="code" href="classUniValue.html">UniValue</a>& <a class="code" href="util_8h.html#af8985880cf4ef26df0a5aa2ffcb76662">error</a>, <span class="keyword">const</span> <a class="code" href="classUniValue.html">UniValue</a>& <span class="keywordtype">id</span>);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span> std::string <a class="code" href="rpc_2protocol_8h.html#a2fdb4c40b8481244f300c15abe90c6bd">JSONRPCReply</a>(<span class="keyword">const</span> <a class="code" href="classUniValue.html">UniValue</a>& <a class="code" href="namespacerpcuser.html#a637791b4450c02d511291cd297ce12df">result</a>, <span class="keyword">const</span> <a class="code" href="classUniValue.html">UniValue</a>& <a class="code" href="util_8h.html#af8985880cf4ef26df0a5aa2ffcb76662">error</a>, <span class="keyword">const</span> <a class="code" href="classUniValue.html">UniValue</a>& <span class="keywordtype">id</span>);</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span> <a class="code" href="classUniValue.html">UniValue</a> <a class="code" href="rpc_2protocol_8h.html#a40b75d3d265c4a2e1d5fe3e129743884">JSONRPCError</a>(<span class="keywordtype">int</span> code, <span class="keyword">const</span> std::string& message);</div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span> </div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> boost::filesystem::path <a class="code" href="rpc_2protocol_8h.html#aae8ad79d1767e2f4b1207c1af53af7c3">GetAuthCookieFile</a>();</div><div class="line"><a name="l00088"></a><span class="lineno"> 88</span> <span class="keywordtype">bool</span> <a class="code" href="rpc_2protocol_8h.html#aba0ca0057b433bdfcb881fcd6af4b577">GenerateAuthCookie</a>(std::string *cookie_out);</div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="keywordtype">bool</span> <a class="code" href="rpc_2protocol_8h.html#a25c502e3691e714e8a130c2325d40d63">GetAuthCookie</a>(std::string *cookie_out);</div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="keywordtype">void</span> <a class="code" href="rpc_2protocol_8h.html#a9807259ee7b7c4f5445cf54fd23589cb">DeleteAuthCookie</a>();</div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> </div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="preprocessor">#endif // BITCOIN_RPCPROTOCOL_H</span></div><div class="ttc" id="rpc_2protocol_8h_html_ac3b7dd20357d54461794da1213448ed8"><div class="ttname"><a href="rpc_2protocol_8h.html#ac3b7dd20357d54461794da1213448ed8">JSONRPCReplyObj</a></div><div class="ttdeci">UniValue JSONRPCReplyObj(const UniValue &result, const UniValue &error, const UniValue &id)</div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8cpp_source.html#l00039">protocol.cpp:39</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadaa2bc9f33fd0ba09e486eeeeafaae968c"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaa2bc9f33fd0ba09e486eeeeafaae968c">RPC_TRANSACTION_ERROR</a></div><div class="ttdoc">Client still warming up. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00055">protocol.h:55</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_a2fdb4c40b8481244f300c15abe90c6bd"><div class="ttname"><a href="rpc_2protocol_8h.html#a2fdb4c40b8481244f300c15abe90c6bd">JSONRPCReply</a></div><div class="ttdeci">std::string JSONRPCReply(const UniValue &result, const UniValue &error, const UniValue &id)</div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8cpp_source.html#l00051">protocol.cpp:51</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46a7aec6e8ecb79ff84830a69e52ff01d17"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a7aec6e8ecb79ff84830a69e52ff01d17">HTTP_FORBIDDEN</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00023">protocol.h:23</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadadd603a70e2d6eb11ef5b3aad2f83fd70"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadd603a70e2d6eb11ef5b3aad2f83fd70">RPC_CLIENT_NODE_NOT_ADDED</a></div><div class="ttdoc">Node is already added. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00063">protocol.h:63</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadadacb2152d14607886f90ed134c94e21d"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadacb2152d14607886f90ed134c94e21d">RPC_WALLET_KEYPOOL_RAN_OUT</a></div><div class="ttdoc">Invalid account name. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00072">protocol.h:72</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada2b50733804d98a7d4f2252563d864a66"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada2b50733804d98a7d4f2252563d864a66">RPC_OUT_OF_MEMORY</a></div><div class="ttdoc">Invalid address or key. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00045">protocol.h:45</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada0c1fbdf17d83da9f5124f2dbf0ba4765"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada0c1fbdf17d83da9f5124f2dbf0ba4765">RPC_WALLET_UNLOCK_NEEDED</a></div><div class="ttdoc">Keypool ran out, call keypoolrefill first. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00073">protocol.h:73</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46a43f8027764325bbcad2f773511156d0a"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a43f8027764325bbcad2f773511156d0a">HTTP_OK</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00020">protocol.h:20</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46a173b2a55d636fe537b9069a4fb3388f2"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a173b2a55d636fe537b9069a4fb3388f2">HTTP_BAD_REQUEST</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00021">protocol.h:21</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46a7a2f2a109c030ee9d2d5afe761232451"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a7a2f2a109c030ee9d2d5afe761232451">HTTP_NOT_FOUND</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00024">protocol.h:24</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_aba0ca0057b433bdfcb881fcd6af4b577"><div class="ttname"><a href="rpc_2protocol_8h.html#aba0ca0057b433bdfcb881fcd6af4b577">GenerateAuthCookie</a></div><div class="ttdeci">bool GenerateAuthCookie(std::string *cookie_out)</div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8cpp_source.html#l00079">protocol.cpp:79</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada13d89bf3248220d312af052959f71b0b"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada13d89bf3248220d312af052959f71b0b">RPC_WALLET_ALREADY_UNLOCKED</a></div><div class="ttdoc">Failed to encrypt the wallet. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00077">protocol.h:77</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadad4f5ea69465f2a32fda9b9bf5e698803"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadad4f5ea69465f2a32fda9b9bf5e698803">RPC_INTERNAL_ERROR</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00037">protocol.h:37</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadaf85dae2af118644e7aec72ffbc97c1c6"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaf85dae2af118644e7aec72ffbc97c1c6">RPC_VERIFY_REJECTED</a></div><div class="ttdoc">General error during transaction or block submission. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00050">protocol.h:50</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46">HTTPStatusCode</a></div><div class="ttdeci">HTTPStatusCode</div><div class="ttdoc">HTTP status codes. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00018">protocol.h:18</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada9e05169dd202b16a07bc124bd6e451d5"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada9e05169dd202b16a07bc124bd6e451d5">RPC_TRANSACTION_REJECTED</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00056">protocol.h:56</a></div></div>
|
|
<div class="ttc" id="classUniValue_html"><div class="ttname"><a href="classUniValue.html">UniValue</a></div><div class="ttdef"><b>Definition:</b> <a href="univalue_8h_source.html#l00019">univalue.h:19</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_a25c502e3691e714e8a130c2325d40d63"><div class="ttname"><a href="rpc_2protocol_8h.html#a25c502e3691e714e8a130c2325d40d63">GetAuthCookie</a></div><div class="ttdeci">bool GetAuthCookie(std::string *cookie_out)</div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8cpp_source.html#l00106">protocol.cpp:106</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadab8aee859ef513c81f87aa298e8c0cf7c"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadab8aee859ef513c81f87aa298e8c0cf7c">RPC_IN_WARMUP</a></div><div class="ttdoc">Transaction already in chain. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00052">protocol.h:52</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadab38a9a653209a57acfc9a551c310e4dc"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadab38a9a653209a57acfc9a551c310e4dc">RPC_INVALID_PARAMETER</a></div><div class="ttdoc">Ran out of memory during operation. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00046">protocol.h:46</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadac8a991699304f068eb1d77e923b5c72f"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadac8a991699304f068eb1d77e923b5c72f">RPC_VERIFY_ERROR</a></div><div class="ttdoc">Error parsing or validating structure in raw format. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00049">protocol.h:49</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadae7f578c2ec4458c79250e204505dedcc"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadae7f578c2ec4458c79250e204505dedcc">RPC_WALLET_PASSPHRASE_INCORRECT</a></div><div class="ttdoc">Enter the wallet passphrase with walletpassphrase first. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00074">protocol.h:74</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada074c4989af08b8a44674cd1a7fd84be5"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada074c4989af08b8a44674cd1a7fd84be5">RPC_VERIFY_ALREADY_IN_CHAIN</a></div><div class="ttdoc">Transaction or block was rejected by network rules. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00051">protocol.h:51</a></div></div>
|
|
<div class="ttc" id="univalue_8h_html"><div class="ttname"><a href="univalue_8h.html">univalue.h</a></div></div>
|
|
<div class="ttc" id="util_8h_html_af8985880cf4ef26df0a5aa2ffcb76662"><div class="ttname"><a href="util_8h.html#af8985880cf4ef26df0a5aa2ffcb76662">error</a></div><div class="ttdeci">static bool error(const char *format)</div><div class="ttdef"><b>Definition:</b> <a href="util_8h_source.html#l00131">util.h:131</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada7c63246a7c7bc5912d499fb117358506"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada7c63246a7c7bc5912d499fb117358506">RPC_TYPE_ERROR</a></div><div class="ttdoc">Server is in safe mode, and command is not allowed in safe mode. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00043">protocol.h:43</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada6aa5da515d4b7230dfeb65017b9fd38d"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada6aa5da515d4b7230dfeb65017b9fd38d">RPC_WALLET_WRONG_ENC_STATE</a></div><div class="ttdoc">The wallet passphrase entered was incorrect. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00075">protocol.h:75</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada5aa884a9e263e1fad4ad13ec564d33d5"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada5aa884a9e263e1fad4ad13ec564d33d5">RPC_MISC_ERROR</a></div><div class="ttdoc">General application defined errors. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00041">protocol.h:41</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadafb8d27e000f4a668b66974c73256a576"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadafb8d27e000f4a668b66974c73256a576">RPC_INVALID_ADDRESS_OR_KEY</a></div><div class="ttdoc">Unexpected type was passed as parameter. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00044">protocol.h:44</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada47dd1e11bdbe307d901c99589c584b9f"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada47dd1e11bdbe307d901c99589c584b9f">RPC_CLIENT_INVALID_IP_OR_SUBNET</a></div><div class="ttdoc">Node to disconnect not found in connected nodes. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00065">protocol.h:65</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46a74677f364201a3d068bc6b9db7359288"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a74677f364201a3d068bc6b9db7359288">HTTP_UNAUTHORIZED</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00022">protocol.h:22</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada05642c62794bf107e9be801e76a4c89e"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada05642c62794bf107e9be801e76a4c89e">RPC_WALLET_INVALID_ACCOUNT_NAME</a></div><div class="ttdoc">Not enough funds in wallet or account. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00071">protocol.h:71</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_a9807259ee7b7c4f5445cf54fd23589cb"><div class="ttname"><a href="rpc_2protocol_8h.html#a9807259ee7b7c4f5445cf54fd23589cb">DeleteAuthCookie</a></div><div class="ttdeci">void DeleteAuthCookie()</div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8cpp_source.html#l00122">protocol.cpp:122</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadadcfa95f6aca9c3a474fffac8c8ab1dd1"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadcfa95f6aca9c3a474fffac8c8ab1dd1">RPC_DATABASE_ERROR</a></div><div class="ttdoc">Invalid, missing or duplicate parameter. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00047">protocol.h:47</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46ac7d2e49bfead01d65a890a2e80e5b3a6"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46ac7d2e49bfead01d65a890a2e80e5b3a6">HTTP_INTERNAL_SERVER_ERROR</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00026">protocol.h:26</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46a40d47a5f8adc6d74c1ec977528a36edf"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a40d47a5f8adc6d74c1ec977528a36edf">HTTP_BAD_METHOD</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00025">protocol.h:25</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada796c728d5ec3fc308609494e1d608940"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada796c728d5ec3fc308609494e1d608940">RPC_WALLET_ENCRYPTION_FAILED</a></div><div class="ttdoc">Command given in wrong wallet encryption state (encrypting an encrypted wallet etc.) </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00076">protocol.h:76</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada3632e7ba1deeda31ff77fe80bdaf7fe6"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada3632e7ba1deeda31ff77fe80bdaf7fe6">RPC_PARSE_ERROR</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00038">protocol.h:38</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada5e46fc2ff7c51b8423b6eaf5b33ebfb9"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada5e46fc2ff7c51b8423b6eaf5b33ebfb9">RPC_WALLET_INSUFFICIENT_FUNDS</a></div><div class="ttdoc">Unspecified problem with wallet (key not found etc.) </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00070">protocol.h:70</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_ab0a9668b7d736b4d4d621ec010928a46a6251d4710923e5253b159943405a1a3a"><div class="ttname"><a href="rpc_2protocol_8h.html#ab0a9668b7d736b4d4d621ec010928a46a6251d4710923e5253b159943405a1a3a">HTTP_SERVICE_UNAVAILABLE</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00027">protocol.h:27</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada02613c7ff5b899411910a3d69ab3a47a"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada02613c7ff5b899411910a3d69ab3a47a">RPC_CLIENT_NODE_NOT_CONNECTED</a></div><div class="ttdoc">Node has not been added before. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00064">protocol.h:64</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada730bd898e0c5940282c275f49470a794"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada730bd898e0c5940282c275f49470a794">RPC_METHOD_NOT_FOUND</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00035">protocol.h:35</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada69beae07cb7520bde6d66c32ebde05c4"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada69beae07cb7520bde6d66c32ebde05c4">RPC_CLIENT_NODE_ALREADY_ADDED</a></div><div class="ttdoc">Still downloading initial blocks. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00062">protocol.h:62</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada456d9eafa45bb1041024b834a063ea80"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada456d9eafa45bb1041024b834a063ea80">RPC_FORBIDDEN_BY_SAFE_MODE</a></div><div class="ttdoc">std::exception thrown in command handling </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00042">protocol.h:42</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_a40b75d3d265c4a2e1d5fe3e129743884"><div class="ttname"><a href="rpc_2protocol_8h.html#a40b75d3d265c4a2e1d5fe3e129743884">JSONRPCError</a></div><div class="ttdeci">UniValue JSONRPCError(int code, const std::string &message)</div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_a41bda11f4ca3d566a97c9fe65482109e"><div class="ttname"><a href="rpc_2protocol_8h.html#a41bda11f4ca3d566a97c9fe65482109e">JSONRPCRequest</a></div><div class="ttdeci">std::string JSONRPCRequest(const std::string &strMethod, const UniValue &params, const UniValue &id)</div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_aae8ad79d1767e2f4b1207c1af53af7c3"><div class="ttname"><a href="rpc_2protocol_8h.html#aae8ad79d1767e2f4b1207c1af53af7c3">GetAuthCookieFile</a></div><div class="ttdeci">boost::filesystem::path GetAuthCookieFile()</div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8cpp_source.html#l00072">protocol.cpp:72</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadaf8310a778a7a84d76adde337d695fd0d"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaf8310a778a7a84d76adde337d695fd0d">RPC_INVALID_REQUEST</a></div><div class="ttdoc">Standard JSON-RPC 2.0 errors. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00034">protocol.h:34</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadaba6f8682002fa223d3a405b743b5a540"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaba6f8682002fa223d3a405b743b5a540">RPC_WALLET_ERROR</a></div><div class="ttdoc">Wallet errors. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00069">protocol.h:69</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada7a1b53103d599a098159e4f8171c4387"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada7a1b53103d599a098159e4f8171c4387">RPC_TRANSACTION_ALREADY_IN_CHAIN</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00057">protocol.h:57</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadafec84f7fdd91f69c7d5f89a020be9f70"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadafec84f7fdd91f69c7d5f89a020be9f70">RPC_CLIENT_P2P_DISABLED</a></div><div class="ttdoc">Invalid IP/Subnet. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00066">protocol.h:66</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85dead"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85dead">RPCErrorCode</a></div><div class="ttdeci">RPCErrorCode</div><div class="ttdoc">Dash Core RPC error codes. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00031">protocol.h:31</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadadd3692758a03ba3dcd1accbdd656b27f"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadadd3692758a03ba3dcd1accbdd656b27f">RPC_CLIENT_IN_INITIAL_DOWNLOAD</a></div><div class="ttdoc">Dash Core is not connected. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00061">protocol.h:61</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadaab5f4888435073da8cd11d99d274c8af"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadaab5f4888435073da8cd11d99d274c8af">RPC_CLIENT_NOT_CONNECTED</a></div><div class="ttdoc">P2P client errors. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00060">protocol.h:60</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deada784a3cc09b65fa47ff1d70fbd3bfbaca"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deada784a3cc09b65fa47ff1d70fbd3bfbaca">RPC_INVALID_PARAMS</a></div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00036">protocol.h:36</a></div></div>
|
|
<div class="ttc" id="rpc_2protocol_8h_html_af867221d51315471f28ed8cdac85deadae41723a0e8091c7853a1e582e317b272"><div class="ttname"><a href="rpc_2protocol_8h.html#af867221d51315471f28ed8cdac85deadae41723a0e8091c7853a1e582e317b272">RPC_DESERIALIZATION_ERROR</a></div><div class="ttdoc">Database error. </div><div class="ttdef"><b>Definition:</b> <a href="rpc_2protocol_8h_source.html#l00048">protocol.h:48</a></div></div>
|
|
<div class="ttc" id="namespacerpcuser_html_a637791b4450c02d511291cd297ce12df"><div class="ttname"><a href="namespacerpcuser.html#a637791b4450c02d511291cd297ce12df">rpcuser.result</a></div><div class="ttdeci">result</div><div class="ttdef"><b>Definition:</b> <a href="rpcuser_8py_source.html#l00037">rpcuser.py:37</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_1d8fd1f10602b1b3ec6e7b702d4ec182.html">rpc</a></li><li class="navelem"><a class="el" href="rpc_2protocol_8h.html">protocol.h</a></li>
|
|
<li class="footer">Generated on Thu Dec 14 2017 13:15:04 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>
|