mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 23:15:52 +00:00
deploy: 023f5704d0
This commit is contained in:
@@ -96,40 +96,44 @@ $(function() {
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <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> <span class="keyword">namespace </span>Resource {</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">extern</span> Charge <span class="keyword">const</span> <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="l00031"></a><span class="lineno"> 31</span> <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="l00032"></a><span class="lineno"> 32</span> <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 check and it failed</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <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="l00034"></a><span class="lineno"> 34</span> <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="l00035"></a><span class="lineno"> 35</span>  </div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="comment">// RPC loads</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keyword">extern</span> Charge <span class="keyword">const</span> <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="l00038"></a><span class="lineno"> 38</span> <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 "reference" unspecified load</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <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="l00040"></a><span class="lineno"> 40</span> <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="l00041"></a><span class="lineno"> 41</span> <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="l00042"></a><span class="lineno"> 42</span> <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="l00043"></a><span class="lineno"> 43</span> <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="l00044"></a><span class="lineno"> 44</span> <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="l00045"></a><span class="lineno"> 45</span>  </div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span> <span class="comment">// Peer loads</span></div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span> <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="l00048"></a><span class="lineno"> 48</span> <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="l00049"></a><span class="lineno"> 49</span> <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="l00050"></a><span class="lineno"> 50</span> <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="l00051"></a><span class="lineno"> 51</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment">// Good things</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> <span class="keyword">extern</span> Charge <span class="keyword">const</span> <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="l00054"></a><span class="lineno"> 54</span> <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="l00055"></a><span class="lineno"> 55</span> <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="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span> <span class="comment">// Administrative</span></div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <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="l00059"></a><span class="lineno"> 59</span> <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="l00062"></a><span class="lineno"> 62</span> <span class="comment"></span>}</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> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keyword">extern</span> Charge <span class="keyword">const</span></div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <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> <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> <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>  <span class="comment">// check and it failed</span></div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <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> <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>  </div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="comment">// RPC loads</span></div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">extern</span> Charge <span class="keyword">const</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <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> <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 "reference" unspecified load</span></div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <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> <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> <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> <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> <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> <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>  </div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="comment">// Peer loads</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <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> <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> <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> <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>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span> <span class="comment">// Good things</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span> <span class="keyword">extern</span> Charge <span class="keyword">const</span></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <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> <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> <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>  </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> <span class="comment">// Administrative</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <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> <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> <span class="comment"></span>} <span class="comment">// namespace Resource</span></div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#endif</span></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>
|
||||
|
||||
Reference in New Issue
Block a user