mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-28 23:15:52 +00:00
deploy: 023f5704d0
This commit is contained in:
@@ -92,89 +92,91 @@ $(function() {
|
||||
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
|
||||
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="namespaceripple.html#a3c5f274e7acff7630f3e7a544f90c109"> 24</a></span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<Currency></a> <a class="code" href="namespaceripple.html#a3c5f274e7acff7630f3e7a544f90c109">accountSourceCurrencies</a> (</div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& account,</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<RippleLineCache></a> <span class="keyword">const</span>& lrCache,</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="keywordtype">bool</span> includeXRP)</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>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<Currency></a> currencies;</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="comment">// YYY Only bother if they are above reserve</span></div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keywordflow">if</span> (includeXRP)</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">insert</a> (<a class="code" href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">xrpCurrency</a>());</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  </div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="comment">// List of ripple lines.</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <span class="keyword">auto</span>& rippleLines = lrCache-><a class="code" href="classripple_1_1RippleLineCache.html#a14f081e641e7202c2851231565ab7433">getRippleLines</a> (account);</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="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& item : rippleLines)</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  {</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keyword">auto</span> rspEntry = (<a class="code" href="classripple_1_1RippleState.html">RippleState</a>*) item.get ();</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  assert (rspEntry);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">if</span> (!rspEntry)</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">auto</span>& saBalance = rspEntry->getBalance ();</div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="comment">// Filter out non</span></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="keywordflow">if</span> (saBalance > beast::zero</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="comment">// Have IOUs to send.</span></div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  || (rspEntry->getLimitPeer ()</div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// Peer extends credit.</span></div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  && ((-saBalance) < rspEntry->getLimitPeer ()))) <span class="comment">// Credit left.</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  {</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">insert</a> (saBalance.getCurrency ());</div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</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>  </div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/erase.html">erase</a> (<a class="code" href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">badCurrency</a>());</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordflow">return</span> currencies;</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>  </div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="namespaceripple.html#a37173963b40ddf6c4e4245d821125ffb"> 62</a></span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<Currency></a> <a class="code" href="namespaceripple.html#a37173963b40ddf6c4e4245d821125ffb">accountDestCurrencies</a> (</div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& account,</div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<RippleLineCache></a> <span class="keyword">const</span>& lrCache,</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keywordtype">bool</span> includeXRP)</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span> {</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<Currency></a> currencies;</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="keywordflow">if</span> (includeXRP)</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">insert</a> (<a class="code" href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">xrpCurrency</a>());</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="comment">// Even if account doesn't exist</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// List of ripple lines.</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="keyword">auto</span>& rippleLines = lrCache-><a class="code" href="classripple_1_1RippleLineCache.html#a14f081e641e7202c2851231565ab7433">getRippleLines</a> (account);</div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  </div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& item : rippleLines)</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  {</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keyword">auto</span> rspEntry = (<a class="code" href="classripple_1_1RippleState.html">RippleState</a>*) item.get ();</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  assert (rspEntry);</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="keywordflow">if</span> (!rspEntry)</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keyword">auto</span>& saBalance = rspEntry->getBalance ();</div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> hash_set<Currency></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="namespaceripple.html#a3c5f274e7acff7630f3e7a544f90c109"> 25</a></span> <a class="code" href="namespaceripple.html#a3c5f274e7acff7630f3e7a544f90c109">accountSourceCurrencies</a>(</div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& account,</div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<RippleLineCache></a> <span class="keyword">const</span>& lrCache,</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordtype">bool</span> includeXRP)</div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span> {</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<Currency></a> currencies;</div>
|
||||
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">// YYY Only bother if they are above reserve</span></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordflow">if</span> (includeXRP)</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">insert</a>(<a class="code" href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">xrpCurrency</a>());</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">// List of ripple lines.</span></div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">auto</span>& rippleLines = lrCache-><a class="code" href="classripple_1_1RippleLineCache.html#a14f081e641e7202c2851231565ab7433">getRippleLines</a>(account);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& item : rippleLines)</div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  {</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">auto</span> rspEntry = (<a class="code" href="classripple_1_1RippleState.html">RippleState</a>*)item.get();</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  assert(rspEntry);</div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordflow">if</span> (!rspEntry)</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">continue</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="keyword">auto</span>& saBalance = rspEntry->getBalance();</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="comment">// Filter out non</span></div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">if</span> (saBalance > beast::zero</div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="comment">// Have IOUs to send.</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  || (rspEntry->getLimitPeer()</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="comment">// Peer extends credit.</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  && ((-saBalance) < rspEntry->getLimitPeer()))) <span class="comment">// Credit left.</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>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">insert</a>(saBalance.getCurrency());</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>  }</div>
|
||||
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/erase.html">erase</a>(<a class="code" href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">badCurrency</a>());</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordflow">return</span> currencies;</div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span> }</div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span> hash_set<Currency></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="namespaceripple.html#a37173963b40ddf6c4e4245d821125ffb"> 64</a></span> <a class="code" href="namespaceripple.html#a37173963b40ddf6c4e4245d821125ffb">accountDestCurrencies</a>(</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>& account,</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<RippleLineCache></a> <span class="keyword">const</span>& lrCache,</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keywordtype">bool</span> includeXRP)</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>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<Currency></a> currencies;</div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span> (includeXRP)</div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">insert</a>(<a class="code" href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">xrpCurrency</a>());</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <span class="comment">// Even if account doesn't exist</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="comment">// List of ripple lines.</span></div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <span class="keyword">auto</span>& rippleLines = lrCache-><a class="code" href="classripple_1_1RippleLineCache.html#a14f081e641e7202c2851231565ab7433">getRippleLines</a>(account);</div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  </div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <span class="keywordflow">for</span> (<span class="keyword">auto</span> <span class="keyword">const</span>& item : rippleLines)</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>  <span class="keyword">auto</span> rspEntry = (<a class="code" href="classripple_1_1RippleState.html">RippleState</a>*)item.get();</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  assert(rspEntry);</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="keywordflow">if</span> (!rspEntry)</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="keywordflow">continue</span>;</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keywordflow">if</span> (saBalance < rspEntry->getLimit ()) <span class="comment">// Can take more</span></div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">insert</a> (saBalance.getCurrency ());</div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  }</div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/erase.html">erase</a> (<a class="code" href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">badCurrency</a>());</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keywordflow">return</span> currencies;</div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span> }</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
||||
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span> } <span class="comment">// ripple</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">auto</span>& saBalance = rspEntry->getBalance();</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordflow">if</span> (saBalance < rspEntry->getLimit()) <span class="comment">// Can take more</span></div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">insert</a>(saBalance.getCurrency());</div>
|
||||
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  }</div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  </div>
|
||||
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  currencies.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set/erase.html">erase</a>(<a class="code" href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">badCurrency</a>());</div>
|
||||
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <span class="keywordflow">return</span> currencies;</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>  </div>
|
||||
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span> } <span class="comment">// namespace ripple</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<div class="ttc" id="anamespaceripple_html_a0d78fe5b5eff36774b5be525cbcc3972"><div class="ttname"><a href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">ripple::badCurrency</a></div><div class="ttdeci">Currency const & badCurrency()</div><div class="ttdoc">We deliberately disallow the currency that looks like "XRP" because too many people were using it ins...</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00123">UintTypes.cpp:123</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a0d78fe5b5eff36774b5be525cbcc3972"><div class="ttname"><a href="namespaceripple.html#a0d78fe5b5eff36774b5be525cbcc3972">ripple::badCurrency</a></div><div class="ttdeci">Currency const & badCurrency()</div><div class="ttdoc">We deliberately disallow the currency that looks like "XRP" because too many people were using it ins...</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00126">UintTypes.cpp:126</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1RippleState_html"><div class="ttname"><a href="classripple_1_1RippleState.html">ripple::RippleState</a></div><div class="ttdoc">Wraps a trust line SLE for convenience.</div><div class="ttdef"><b>Definition:</b> <a href="RippleState_8h_source.html#l00039">RippleState.h:39</a></div></div>
|
||||
<div class="ttc" id="ashared_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="aunordered_set_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set.html">std::unordered_set</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a37173963b40ddf6c4e4245d821125ffb"><div class="ttname"><a href="namespaceripple.html#a37173963b40ddf6c4e4245d821125ffb">ripple::accountDestCurrencies</a></div><div class="ttdeci">hash_set< Currency > accountDestCurrencies(AccountID const &account, std::shared_ptr< RippleLineCache > const &lrCache, bool includeXRP)</div><div class="ttdef"><b>Definition:</b> <a href="AccountCurrencies_8cpp_source.html#l00062">AccountCurrencies.cpp:62</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00065">base_uint.h:65</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a37173963b40ddf6c4e4245d821125ffb"><div class="ttname"><a href="namespaceripple.html#a37173963b40ddf6c4e4245d821125ffb">ripple::accountDestCurrencies</a></div><div class="ttdeci">hash_set< Currency > accountDestCurrencies(AccountID const &account, std::shared_ptr< RippleLineCache > const &lrCache, bool includeXRP)</div><div class="ttdef"><b>Definition:</b> <a href="AccountCurrencies_8cpp_source.html#l00064">AccountCurrencies.cpp:64</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1base__uint_html"><div class="ttname"><a href="classripple_1_1base__uint.html">ripple::base_uint</a></div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00063">base_uint.h:63</a></div></div>
|
||||
<div class="ttc" id="aerase_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set/erase.html">std::unordered_set::erase</a></div><div class="ttdeci">T erase(T... args)</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="ainsert_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_set/insert.html">std::unordered_set::insert</a></div><div class="ttdeci">T insert(T... args)</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1RippleLineCache_html_a14f081e641e7202c2851231565ab7433"><div class="ttname"><a href="classripple_1_1RippleLineCache.html#a14f081e641e7202c2851231565ab7433">ripple::RippleLineCache::getRippleLines</a></div><div class="ttdeci">std::vector< RippleState::pointer > const & getRippleLines(AccountID const &accountID)</div><div class="ttdef"><b>Definition:</b> <a href="RippleLineCache_8cpp_source.html#l00035">RippleLineCache.cpp:35</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a3c5f274e7acff7630f3e7a544f90c109"><div class="ttname"><a href="namespaceripple.html#a3c5f274e7acff7630f3e7a544f90c109">ripple::accountSourceCurrencies</a></div><div class="ttdeci">hash_set< Currency > accountSourceCurrencies(AccountID const &account, std::shared_ptr< RippleLineCache > const &lrCache, bool includeXRP)</div><div class="ttdef"><b>Definition:</b> <a href="AccountCurrencies_8cpp_source.html#l00024">AccountCurrencies.cpp:24</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a91af9326e7f471001066b6b59f24599c"><div class="ttname"><a href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">ripple::xrpCurrency</a></div><div class="ttdeci">Currency const & xrpCurrency()</div><div class="ttdoc">XRP currency.</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00111">UintTypes.cpp:111</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1RippleLineCache_html_a14f081e641e7202c2851231565ab7433"><div class="ttname"><a href="classripple_1_1RippleLineCache.html#a14f081e641e7202c2851231565ab7433">ripple::RippleLineCache::getRippleLines</a></div><div class="ttdeci">std::vector< RippleState::pointer > const & getRippleLines(AccountID const &accountID)</div><div class="ttdef"><b>Definition:</b> <a href="RippleLineCache_8cpp_source.html#l00034">RippleLineCache.cpp:34</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a3c5f274e7acff7630f3e7a544f90c109"><div class="ttname"><a href="namespaceripple.html#a3c5f274e7acff7630f3e7a544f90c109">ripple::accountSourceCurrencies</a></div><div class="ttdeci">hash_set< Currency > accountSourceCurrencies(AccountID const &account, std::shared_ptr< RippleLineCache > const &lrCache, bool includeXRP)</div><div class="ttdef"><b>Definition:</b> <a href="AccountCurrencies_8cpp_source.html#l00025">AccountCurrencies.cpp:25</a></div></div>
|
||||
<div class="ttc" id="anamespaceripple_html_a91af9326e7f471001066b6b59f24599c"><div class="ttname"><a href="namespaceripple.html#a91af9326e7f471001066b6b59f24599c">ripple::xrpCurrency</a></div><div class="ttdeci">Currency const & xrpCurrency()</div><div class="ttdoc">XRP currency.</div><div class="ttdef"><b>Definition:</b> <a href="UintTypes_8cpp_source.html#l00112">UintTypes.cpp:112</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
Generated by  <a href="http://www.doxygen.org/index.html">
|
||||
|
||||
Reference in New Issue
Block a user