This commit is contained in:
bthomee
2025-01-21 19:58:08 +00:00
parent 8b38c076f5
commit e61ca37029
15549 changed files with 1163583 additions and 908656 deletions

View File

@@ -1,9 +1,9 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<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.17"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: Fees.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
@@ -19,8 +19,8 @@
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
@@ -29,21 +29,22 @@
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<!-- Generated by Doxygen 1.9.5 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @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&amp;dn=gpl-2.0.txt GPL-v2 */
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
@@ -54,115 +55,108 @@ $(function() {
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_df9c78dcf3f59a33b12284f95992a64b.html">ripple</a></li><li class="navelem"><a class="el" href="dir_a49d03dbe37362975c505cb11669e4db.html">resource</a></li> </ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_0103a8ad82dcc2c51f5cde661b4b5cb7.html">xrpl</a></li><li class="navelem"><a class="el" href="dir_68f79f171b7159941f300783854c1b48.html">resource</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">resource/Fees.h</div> </div>
<div class="headertitle"><div class="title">resource/Fees.h</div></div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160;<span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span>&#160;<span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>&#160;<span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>&#160;<span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>&#160;<span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>&#160;<span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>&#160;<span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>&#160;<span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>&#160;<span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>&#160;<span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160;<span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>&#160;<span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>&#160;<span class="comment">*/</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>&#160;<span class="comment">//==============================================================================</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef RIPPLE_RESOURCE_FEES_H_INCLUDED</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define RIPPLE_RESOURCE_FEES_H_INCLUDED</span></div>
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;ripple/resource/Charge.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160; </div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="keyword">namespace </span>Resource {</div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span></div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; <a class="code" href="namespaceripple_1_1Resource.html#ae8affe62398aaca63fca0f78f22b8171">feeInvalidRequest</a>; <span class="comment">// A request that we can immediately tell is invalid</span></div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a412e34f8f551f06bdbc94d5c8ec4c147">feeRequestNoReply</a>; <span class="comment">// A request that we cannot satisfy</span></div>
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a12715003f294a76f23b8ebb88fce02ed">feeInvalidSignature</a>; <span class="comment">// An object whose signature we had to</span></div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>&#160; <span class="comment">// check and it failed</span></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#ae7e4c5bca8d571cc88e6e63636d9559d">feeUnwantedData</a>; <span class="comment">// Data we have no use for</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a0051d327f5a6419ffb9b4a2dac7a81ed">feeBadData</a>; <span class="comment">// Data we have to verify before rejecting</span></div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160;<span class="comment">// RPC loads</span></div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span></div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160; <a class="code" href="namespaceripple_1_1Resource.html#a084c003a60a658ed6b402f1348ad7780">feeInvalidRPC</a>; <span class="comment">// An RPC request that we can immediately tell is invalid.</span></div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a723772727ed9d9881f1d09ae537ec4b4">feeReferenceRPC</a>; <span class="comment">// A default &quot;reference&quot; unspecified load</span></div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a0ddfb6b30673de8f8e5ec49dc3a98068">feeExceptionRPC</a>; <span class="comment">// An RPC load that causes an exception</span></div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a581850faae146f87e2e5a62a18685a80">feeLightRPC</a>; <span class="comment">// A normal RPC command</span></div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a9d60f78d488f82da7f9b4f322f3747f7">feeLowBurdenRPC</a>; <span class="comment">// A slightly burdensome RPC load</span></div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#abde9c8db0d3084fcdbedd459001f7463">feeMediumBurdenRPC</a>; <span class="comment">// A somewhat burdensome RPC load</span></div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#ab71147798ec4f74a56d306fe061f161b">feeHighBurdenRPC</a>; <span class="comment">// A very burdensome RPC load</span></div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a24ab4c14097479e06c1c5136085ad2f3">feePathFindUpdate</a>; <span class="comment">// An update to an existing PF request</span></div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160;<span class="comment">// Peer loads</span></div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#ac014f20018c01cddd26ff8de69e1fcb9">feeLightPeer</a>; <span class="comment">// Requires no reply</span></div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#ac712431c5cbe7e142c1e82839dd85b92">feeLowBurdenPeer</a>; <span class="comment">// Quick/cheap, slight reply</span></div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a1259e253b4a725a48fdc2e9ccc3b2375">feeMediumBurdenPeer</a>; <span class="comment">// Requires some work</span></div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a5e279a0d9cd9953d33fddc007650e42d">feeHighBurdenPeer</a>; <span class="comment">// Extensive work</span></div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160;<span class="comment">// Good things</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="namespaceripple_1_1Resource.html#aec1bb9285f3af43136e9338c7c53eca8">feeNewTrustedNote</a>; <span class="comment">// A new transaction/validation/proposal we trust</span></div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#ae991099c25243563b2fff890a0b51582">feeNewValidTx</a>; <span class="comment">// A new, valid transaction</span></div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#a1671e374c12b408aa69f37f70210367f">feeSatisfiedRequest</a>; <span class="comment">// Data we requested</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160;<span class="comment">// Administrative</span></div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#ac8c0e880877b307221674b02cf83bdab">feeWarning</a>; <span class="comment">// The cost of receiving a warning</span></div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160;<span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code" href="namespaceripple_1_1Resource.html#ae25aa26a8408a08fe2edb4d1b48ead62">feeDrop</a>; <span class="comment">// The cost of being dropped for excess load</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160;<span class="comment"></span>} <span class="comment">// namespace Resource</span></div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">//------------------------------------------------------------------------------</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment">/*</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> This file is part of rippled: https://github.com/ripple/rippled</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> Copyright (c) 2012, 2013 Ripple Labs Inc.</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"></span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> Permission to use, copy, modify, and/or distribute this software for any</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="comment"> purpose with or without fee is hereby granted, provided that the above</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="comment"> copyright notice and this permission notice appear in all copies.</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="comment"></span> </div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="comment"> THE SOFTWARE IS PROVIDED &quot;AS IS&quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="comment"> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment"> ANY SPECIAL , DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span><span class="comment"> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment"> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment"> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">*/</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment">//==============================================================================</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="preprocessor">#ifndef RIPPLE_RESOURCE_FEES_H_INCLUDED</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="preprocessor">#define RIPPLE_RESOURCE_FEES_H_INCLUDED</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="preprocessor">#include &lt;xrpl/resource/Charge.h&gt;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="keyword">namespace </span>Resource {</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment">// clang-format off</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span><span class="comment"></span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a261bec897e7b0c7c198bad1e37d87458">feeInvalidRequest</a>; <span class="comment">// A request that we can immediately</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// tell is invalid</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a79b0f414dccfcd34031b08b68b671d9e">feeRequestNoReply</a>; <span class="comment">// A request that we cannot satisfy</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#aed12bc7465724835d5aa68703328d5ea">feeInvalidSignature</a>; <span class="comment">// An object whose signature we had</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// to check and it failed</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a2fea8fe51d3db71dc22f97c5f88154ac">feeUnwantedData</a>; <span class="comment">// Data we have no use for</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#abc6c0ef712d658627689ff62dd74207a">feeBadData</a>; <span class="comment">// Data we have to verify before</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// rejecting</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment">// RPC loads</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a0d29ddb4ee9391a1e9307d5160e685f7">feeInvalidRPC</a>; <span class="comment">// An RPC request that we can</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <span class="comment">// immediately tell is invalid.</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a433ff63c2b87f2f6e3947dc4d3b822fa">feeReferenceRPC</a>; <span class="comment">// A default &quot;reference&quot; unspecified</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span> <span class="comment">// load</span></div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a6b65785faa4fa20847aa0d93efca9d79">feeExceptionRPC</a>; <span class="comment">// RPC load that causes an exception</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a38c76186a94f70d37812084660e723bf">feeMediumBurdenRPC</a>; <span class="comment">// A somewhat burdensome RPC load</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a8e4b12afe16a408e9c145c6d61e4760f">feeHighBurdenRPC</a>; <span class="comment">// A very burdensome RPC load</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span><span class="comment">// Peer loads</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a7a1fe61bc3c33d0b5b64744f249f03bc">feeLightPeer</a>; <span class="comment">// Requires no reply</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a9ca173d42466358d30354cfa4396f1bb">feeMediumBurdenPeer</a>; <span class="comment">// Requires some work</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#ae642dce439efbb52a739cf8bd3b5d852">feeHighBurdenPeer</a>; <span class="comment">// Extensive work</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span><span class="comment">// Administrative</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#a9f35cd0b29f9a0412fca30a567829b27">feeWarning</a>; <span class="comment">// The cost of receiving a warning</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span><span class="keyword">extern</span> Charge <span class="keyword">const</span> <a class="code hl_variable" href="namespaceripple_1_1Resource.html#af57ba0fa129024d68446b5f0a4329f31">feeDrop</a>; <span class="comment">// The cost of being dropped for</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="comment">// excess load</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span><span class="comment"></span><span class="comment">// clang-format on</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span>} <span class="comment">// namespace Resource</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>} <span class="comment">// namespace ripple</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="preprocessor">#endif</span></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0d29ddb4ee9391a1e9307d5160e685f7"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0d29ddb4ee9391a1e9307d5160e685f7">ripple::Resource::feeInvalidRPC</a></div><div class="ttdeci">Charge const feeInvalidRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a261bec897e7b0c7c198bad1e37d87458"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a261bec897e7b0c7c198bad1e37d87458">ripple::Resource::feeInvalidRequest</a></div><div class="ttdeci">Charge const feeInvalidRequest</div><div class="ttdoc">Schedule of fees charged for imposing load on the server.</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a2fea8fe51d3db71dc22f97c5f88154ac"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a2fea8fe51d3db71dc22f97c5f88154ac">ripple::Resource::feeUnwantedData</a></div><div class="ttdeci">Charge const feeUnwantedData</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a38c76186a94f70d37812084660e723bf"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a38c76186a94f70d37812084660e723bf">ripple::Resource::feeMediumBurdenRPC</a></div><div class="ttdeci">Charge const feeMediumBurdenRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a433ff63c2b87f2f6e3947dc4d3b822fa"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a433ff63c2b87f2f6e3947dc4d3b822fa">ripple::Resource::feeReferenceRPC</a></div><div class="ttdeci">Charge const feeReferenceRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a6b65785faa4fa20847aa0d93efca9d79"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a6b65785faa4fa20847aa0d93efca9d79">ripple::Resource::feeExceptionRPC</a></div><div class="ttdeci">Charge const feeExceptionRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a79b0f414dccfcd34031b08b68b671d9e"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a79b0f414dccfcd34031b08b68b671d9e">ripple::Resource::feeRequestNoReply</a></div><div class="ttdeci">Charge const feeRequestNoReply</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a7a1fe61bc3c33d0b5b64744f249f03bc"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a7a1fe61bc3c33d0b5b64744f249f03bc">ripple::Resource::feeLightPeer</a></div><div class="ttdeci">Charge const feeLightPeer</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a8e4b12afe16a408e9c145c6d61e4760f"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a8e4b12afe16a408e9c145c6d61e4760f">ripple::Resource::feeHighBurdenRPC</a></div><div class="ttdeci">Charge const feeHighBurdenRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a9ca173d42466358d30354cfa4396f1bb"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a9ca173d42466358d30354cfa4396f1bb">ripple::Resource::feeMediumBurdenPeer</a></div><div class="ttdeci">Charge const feeMediumBurdenPeer</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a9f35cd0b29f9a0412fca30a567829b27"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a9f35cd0b29f9a0412fca30a567829b27">ripple::Resource::feeWarning</a></div><div class="ttdeci">Charge const feeWarning</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_abc6c0ef712d658627689ff62dd74207a"><div class="ttname"><a href="namespaceripple_1_1Resource.html#abc6c0ef712d658627689ff62dd74207a">ripple::Resource::feeBadData</a></div><div class="ttdeci">Charge const feeBadData</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_ae642dce439efbb52a739cf8bd3b5d852"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ae642dce439efbb52a739cf8bd3b5d852">ripple::Resource::feeHighBurdenPeer</a></div><div class="ttdeci">Charge const feeHighBurdenPeer</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_aed12bc7465724835d5aa68703328d5ea"><div class="ttname"><a href="namespaceripple_1_1Resource.html#aed12bc7465724835d5aa68703328d5ea">ripple::Resource::feeInvalidSignature</a></div><div class="ttdeci">Charge const feeInvalidSignature</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_af57ba0fa129024d68446b5f0a4329f31"><div class="ttname"><a href="namespaceripple_1_1Resource.html#af57ba0fa129024d68446b5f0a4329f31">ripple::Resource::feeDrop</a></div><div class="ttdeci">Charge const feeDrop</div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="algorithm_8h_source.html#l00026">algorithm.h:26</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespaceripple_1_1Resource_html_ae8affe62398aaca63fca0f78f22b8171"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ae8affe62398aaca63fca0f78f22b8171">ripple::Resource::feeInvalidRequest</a></div><div class="ttdeci">const Charge feeInvalidRequest</div><div class="ttdoc">Schedule of fees charged for imposing load on the server.</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a1259e253b4a725a48fdc2e9ccc3b2375"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a1259e253b4a725a48fdc2e9ccc3b2375">ripple::Resource::feeMediumBurdenPeer</a></div><div class="ttdeci">const Charge feeMediumBurdenPeer</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_abde9c8db0d3084fcdbedd459001f7463"><div class="ttname"><a href="namespaceripple_1_1Resource.html#abde9c8db0d3084fcdbedd459001f7463">ripple::Resource::feeMediumBurdenRPC</a></div><div class="ttdeci">const Charge feeMediumBurdenRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a723772727ed9d9881f1d09ae537ec4b4"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a723772727ed9d9881f1d09ae537ec4b4">ripple::Resource::feeReferenceRPC</a></div><div class="ttdeci">const Charge feeReferenceRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_aec1bb9285f3af43136e9338c7c53eca8"><div class="ttname"><a href="namespaceripple_1_1Resource.html#aec1bb9285f3af43136e9338c7c53eca8">ripple::Resource::feeNewTrustedNote</a></div><div class="ttdeci">const Charge feeNewTrustedNote</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a412e34f8f551f06bdbc94d5c8ec4c147"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a412e34f8f551f06bdbc94d5c8ec4c147">ripple::Resource::feeRequestNoReply</a></div><div class="ttdeci">const Charge feeRequestNoReply</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_ac8c0e880877b307221674b02cf83bdab"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ac8c0e880877b307221674b02cf83bdab">ripple::Resource::feeWarning</a></div><div class="ttdeci">const Charge feeWarning</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a5e279a0d9cd9953d33fddc007650e42d"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a5e279a0d9cd9953d33fddc007650e42d">ripple::Resource::feeHighBurdenPeer</a></div><div class="ttdeci">const Charge feeHighBurdenPeer</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a12715003f294a76f23b8ebb88fce02ed"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a12715003f294a76f23b8ebb88fce02ed">ripple::Resource::feeInvalidSignature</a></div><div class="ttdeci">const Charge feeInvalidSignature</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_ae25aa26a8408a08fe2edb4d1b48ead62"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ae25aa26a8408a08fe2edb4d1b48ead62">ripple::Resource::feeDrop</a></div><div class="ttdeci">const Charge feeDrop</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0051d327f5a6419ffb9b4a2dac7a81ed"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0051d327f5a6419ffb9b4a2dac7a81ed">ripple::Resource::feeBadData</a></div><div class="ttdeci">const Charge feeBadData</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_ae7e4c5bca8d571cc88e6e63636d9559d"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ae7e4c5bca8d571cc88e6e63636d9559d">ripple::Resource::feeUnwantedData</a></div><div class="ttdeci">const Charge feeUnwantedData</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_ae991099c25243563b2fff890a0b51582"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ae991099c25243563b2fff890a0b51582">ripple::Resource::feeNewValidTx</a></div><div class="ttdeci">const Charge feeNewValidTx</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a1671e374c12b408aa69f37f70210367f"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a1671e374c12b408aa69f37f70210367f">ripple::Resource::feeSatisfiedRequest</a></div><div class="ttdeci">const Charge feeSatisfiedRequest</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a084c003a60a658ed6b402f1348ad7780"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a084c003a60a658ed6b402f1348ad7780">ripple::Resource::feeInvalidRPC</a></div><div class="ttdeci">const Charge feeInvalidRPC</div></div>
<div class="ttc" id="anamespaceripple_html"><div class="ttname"><a href="namespaceripple.html">ripple</a></div><div class="ttdoc">Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.</div><div class="ttdef"><b>Definition:</b> <a href="RCLCensorshipDetector_8h_source.html#l00029">RCLCensorshipDetector.h:29</a></div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a9d60f78d488f82da7f9b4f322f3747f7"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a9d60f78d488f82da7f9b4f322f3747f7">ripple::Resource::feeLowBurdenRPC</a></div><div class="ttdeci">const Charge feeLowBurdenRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a0ddfb6b30673de8f8e5ec49dc3a98068"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a0ddfb6b30673de8f8e5ec49dc3a98068">ripple::Resource::feeExceptionRPC</a></div><div class="ttdeci">const Charge feeExceptionRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_ac014f20018c01cddd26ff8de69e1fcb9"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ac014f20018c01cddd26ff8de69e1fcb9">ripple::Resource::feeLightPeer</a></div><div class="ttdeci">const Charge feeLightPeer</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a581850faae146f87e2e5a62a18685a80"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a581850faae146f87e2e5a62a18685a80">ripple::Resource::feeLightRPC</a></div><div class="ttdeci">const Charge feeLightRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_a24ab4c14097479e06c1c5136085ad2f3"><div class="ttname"><a href="namespaceripple_1_1Resource.html#a24ab4c14097479e06c1c5136085ad2f3">ripple::Resource::feePathFindUpdate</a></div><div class="ttdeci">const Charge feePathFindUpdate</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_ab71147798ec4f74a56d306fe061f161b"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ab71147798ec4f74a56d306fe061f161b">ripple::Resource::feeHighBurdenRPC</a></div><div class="ttdeci">const Charge feeHighBurdenRPC</div></div>
<div class="ttc" id="anamespaceripple_1_1Resource_html_ac712431c5cbe7e142c1e82839dd85b92"><div class="ttname"><a href="namespaceripple_1_1Resource.html#ac712431c5cbe7e142c1e82839dd85b92">ripple::Resource::feeLowBurdenPeer</a></div><div class="ttdeci">const Charge feeLowBurdenPeer</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>