Files
rippled/Pathfinder_8h_source.html
2022-07-19 15:12:23 +00:00

390 lines
79 KiB
HTML

<!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">
<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 name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: Pathfinder.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="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="projectalign" style="padding-left: 0.5em;">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<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-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 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- 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 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_9f69212e4c6e2ca9ec5ab59cd7b6275c.html">app</a></li><li class="navelem"><a class="el" href="dir_1e0db5c7188e9c3cb47dd9ba683c8f27.html">paths</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Pathfinder.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_APP_PATHS_PATHFINDER_H_INCLUDED</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define RIPPLE_APP_PATHS_PATHFINDER_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/app/ledger/Ledger.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;ripple/app/paths/RippleLineCache.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;ripple/basics/CountedObject.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;ripple/core/LoadEvent.h&gt;</span></div>
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/STAmount.h&gt;</span></div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160;<span class="preprocessor">#include &lt;ripple/protocol/STPathSet.h&gt;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>&#160; </div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html"> 38</a></span>&#160;<span class="keyword">class </span><a class="code" href="classripple_1_1Pathfinder.html">Pathfinder</a> : <span class="keyword">public</span> <a class="code" href="classripple_1_1CountedObject.html">CountedObject</a>&lt;Pathfinder&gt;</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>&#160;{</div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a494103ba295a87711e505b8bb348b02c">Pathfinder</a>(</div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;RippleLineCache&gt;</a> <span class="keyword">const</span>&amp; cache,</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; srcAccount,</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; dstAccount,</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>&#160; <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; uSrcCurrency,</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <span class="keyword">const</span>&amp; uSrcIssuer,</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; dstAmount,</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;STAmount&gt;</a> <span class="keyword">const</span>&amp; srcAmount,</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>&#160; <a class="code" href="classripple_1_1Application.html">Application</a>&amp; app);</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a494103ba295a87711e505b8bb348b02c">Pathfinder</a>(<a class="code" href="classripple_1_1Pathfinder.html">Pathfinder</a> <span class="keyword">const</span>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html">Pathfinder</a>&amp;</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#af3f37025a884f4164c43f5fd3cae3081">operator=</a>(<a class="code" href="classripple_1_1Pathfinder.html">Pathfinder</a> <span class="keyword">const</span>&amp;) = <span class="keyword">delete</span>;</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#aad4acf2e3fab44d1a3813cf90b616820">~Pathfinder</a>() = <span class="keywordflow">default</span>;</div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>&#160; </div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; <span class="keyword">static</span> <span class="keywordtype">void</span></div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#ac20e102f49cfa51d6805abac810d8d90">initPathTable</a>();</div>
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>&#160; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a1799d6ffb8bc27e6f7be100ab01856fd">findPaths</a>(</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>&#160; <span class="keywordtype">int</span> searchLevel,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(<span class="keywordtype">void</span>)&gt; <span class="keyword">const</span>&amp; continueCallback = {});</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a715ddccc964329332578978ff5aafaef">computePathRanks</a>(</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>&#160; <span class="keywordtype">int</span> maxPaths,</div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(<span class="keywordtype">void</span>)&gt; <span class="keyword">const</span>&amp; continueCallback = {});</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; <span class="comment">/* Get the best paths, up to maxPaths in number, from mCompletePaths.</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>&#160;<span class="comment"> On return, if fullLiquidityPath is not empty, then it contains the best</span></div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>&#160;<span class="comment"> additional single path which can consume all the liquidity.</span></div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>&#160; <a class="code" href="classripple_1_1STPathSet.html">STPathSet</a></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#addfe15f1a79f11abf25a21091d4b8a35">getBestPaths</a>(</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>&#160; <span class="keywordtype">int</span> maxPaths,</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>&#160; <a class="code" href="classripple_1_1STPath.html">STPath</a>&amp; fullLiquidityPath,</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>&#160; <a class="code" href="classripple_1_1STPathSet.html">STPathSet</a> <span class="keyword">const</span>&amp; extraPaths,</div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; srcIssuer,</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(<span class="keywordtype">void</span>)&gt; <span class="keyword">const</span>&amp; continueCallback = {});</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304"> 83</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304">NodeType</a> {</div>
<div class="line"><a name="l00084"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a0da3c58120423e1b01db90895a785da2"> 84</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a0da3c58120423e1b01db90895a785da2">nt_SOURCE</a>, <span class="comment">// The source account: with an issuer account, if needed.</span></div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304ac23bd31c079313dce20c167ed9b1540a"> 85</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304ac23bd31c079313dce20c167ed9b1540a">nt_ACCOUNTS</a>, <span class="comment">// Accounts that connect from this source/currency.</span></div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a2ee912cf2a6c836b2520c3b739f5cad6"> 86</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a2ee912cf2a6c836b2520c3b739f5cad6">nt_BOOKS</a>, <span class="comment">// Order books that connect to this currency.</span></div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a6901bba228317efdc75f8ee33d262b9f"> 87</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a6901bba228317efdc75f8ee33d262b9f">nt_XRP_BOOK</a>, <span class="comment">// The order book from this currency to XRP.</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a9d65441afb966e00f2680657db42c312"> 88</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a9d65441afb966e00f2680657db42c312">nt_DEST_BOOK</a>, <span class="comment">// The order book to the destination currency/issuer.</span></div>
<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a92181edf87fa9af5707f4ae7a6c3bc22"> 89</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a92181edf87fa9af5707f4ae7a6c3bc22">nt_DESTINATION</a> <span class="comment">// The destination account only.</span></div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>&#160; };</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>&#160; </div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>&#160; <span class="comment">// The PathType is a list of the NodeTypes for a path.</span></div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#acd0b02e69fdb85eaf3b8dc202f2d0575"> 93</a></span>&#160; <span class="keyword">using</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">PathType</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;NodeType&gt;</a>;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>&#160; <span class="comment">// PaymentType represents the types of the source and destination currencies</span></div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>&#160; <span class="comment">// in a path request.</span></div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68"> 97</a></span>&#160; <span class="keyword">enum</span> <a class="code" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68">PaymentType</a> {</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68aab70f6934f757bb3eca6032a279f2d2f"> 98</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68aab70f6934f757bb3eca6032a279f2d2f">pt_XRP_to_XRP</a>,</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a5e290dc7a0b9c81a83545431e6781567"> 99</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a5e290dc7a0b9c81a83545431e6781567">pt_XRP_to_nonXRP</a>,</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68aa8468d8408c64a9a8e9ae944425cb76b"> 100</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68aa8468d8408c64a9a8e9ae944425cb76b">pt_nonXRP_to_XRP</a>,</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a66ca6f9e06b3d15958b7638aea014cb7"> 101</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a66ca6f9e06b3d15958b7638aea014cb7">pt_nonXRP_to_same</a>, <span class="comment">// Destination currency is the same as source.</span></div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a0e0c19cf0719f141e7678e880a0bb27f"> 102</a></span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a0e0c19cf0719f141e7678e880a0bb27f">pt_nonXRP_to_nonXRP</a> <span class="comment">// Destination currency is NOT the same as source.</span></div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>&#160; };</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>&#160; </div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="structripple_1_1Pathfinder_1_1PathRank.html"> 105</a></span>&#160; <span class="keyword">struct </span><a class="code" href="structripple_1_1Pathfinder_1_1PathRank.html">PathRank</a></div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>&#160; {</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="structripple_1_1Pathfinder_1_1PathRank.html#a0717d34b340855c565781c9623fb033b"> 107</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> <a class="code" href="structripple_1_1Pathfinder_1_1PathRank.html#a0717d34b340855c565781c9623fb033b">quality</a>;</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="structripple_1_1Pathfinder_1_1PathRank.html#af636733f326007d2c15cf733cd7ace82"> 108</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a> <a class="code" href="structripple_1_1Pathfinder_1_1PathRank.html#af636733f326007d2c15cf733cd7ace82">length</a>;</div>
<div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="structripple_1_1Pathfinder_1_1PathRank.html#a2f4e2ae95ac7fa39c1d755151dca5a2f"> 109</a></span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <a class="code" href="structripple_1_1Pathfinder_1_1PathRank.html#a2f4e2ae95ac7fa39c1d755151dca5a2f">liquidity</a>;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="structripple_1_1Pathfinder_1_1PathRank.html#a735e02a47e4a2380f9bc69d9cf7e13ab"> 110</a></span>&#160; <span class="keywordtype">int</span> <a class="code" href="structripple_1_1Pathfinder_1_1PathRank.html#a735e02a47e4a2380f9bc69d9cf7e13ab">index</a>;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>&#160; };</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>&#160; </div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>&#160; <span class="comment">/*</span></div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>&#160;<span class="comment"> Call graph of Pathfinder methods.</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>&#160;<span class="comment"> findPaths:</span></div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>&#160;<span class="comment"> addPathsForType:</span></div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>&#160;<span class="comment"> addLinks:</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>&#160;<span class="comment"> addLink:</span></div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>&#160;<span class="comment"> getPathsOut</span></div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>&#160;<span class="comment"> issueMatchesOrigin</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>&#160;<span class="comment"> isNoRippleOut:</span></div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>&#160;<span class="comment"> isNoRipple</span></div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>&#160;<span class="comment"> computePathRanks:</span></div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>&#160;<span class="comment"> rippleCalculate</span></div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>&#160;<span class="comment"> getPathLiquidity:</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>&#160;<span class="comment"> rippleCalculate</span></div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>&#160;<span class="comment"></span> </div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>&#160;<span class="comment"> getBestPaths</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>&#160; </div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>&#160; <span class="comment">// Add all paths of one type to mCompletePaths.</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>&#160; <a class="code" href="classripple_1_1STPathSet.html">STPathSet</a>&amp;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#ab650554549d55fa8853a36dca3ae1f7b">addPathsForType</a>(</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">PathType</a> <span class="keyword">const</span>&amp; type,</div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(<span class="keywordtype">void</span>)&gt; <span class="keyword">const</span>&amp; continueCallback);</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>&#160; </div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>&#160; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a068cb6eddf58b2fe631ff09d3edb4f4c">issueMatchesOrigin</a>(<a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&amp;);</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>&#160; <span class="keywordtype">int</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a980b15666a120e7ceac3841c71ddd9e2">getPathsOut</a>(</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>&#160; <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; currency,</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; account,</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>&#160; <a class="code" href="namespaceripple.html#afaeac9ab95c58b4359cdd27f59d18568">LineDirection</a> direction,</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>&#160; <span class="keywordtype">bool</span> isDestCurrency,</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; dest,</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(<span class="keywordtype">void</span>)&gt; <span class="keyword">const</span>&amp; continueCallback);</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>&#160; </div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#add1bb1bf0400a204a973cbcb1c62c435">addLink</a>(</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>&#160; <a class="code" href="classripple_1_1STPath.html">STPath</a> <span class="keyword">const</span>&amp; currentPath,</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>&#160; <a class="code" href="classripple_1_1STPathSet.html">STPathSet</a>&amp; incompletePaths,</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>&#160; <span class="keywordtype">int</span> addFlags,</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(<span class="keywordtype">void</span>)&gt; <span class="keyword">const</span>&amp; continueCallback);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>&#160; </div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>&#160; <span class="comment">// Call addLink() for each path in currentPaths.</span></div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00161"></a><span class="lineno"> 161</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a82764f51e786f38b85f250e4ec0868f6">addLinks</a>(</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span>&#160; <a class="code" href="classripple_1_1STPathSet.html">STPathSet</a> <span class="keyword">const</span>&amp; currentPaths,</div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span>&#160; <a class="code" href="classripple_1_1STPathSet.html">STPathSet</a>&amp; incompletePaths,</div>
<div class="line"><a name="l00164"></a><span class="lineno"> 164</span>&#160; <span class="keywordtype">int</span> addFlags,</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(<span class="keywordtype">void</span>)&gt; <span class="keyword">const</span>&amp; continueCallback);</div>
<div class="line"><a name="l00166"></a><span class="lineno"> 166</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno"> 167</span>&#160; <span class="comment">// Compute the liquidity for a path. Return tesSUCCESS if it has has enough</span></div>
<div class="line"><a name="l00168"></a><span class="lineno"> 168</span>&#160; <span class="comment">// liquidity to be worth keeping, otherwise an error.</span></div>
<div class="line"><a name="l00169"></a><span class="lineno"> 169</span>&#160; <a class="code" href="classripple_1_1TERSubset.html">TER</a></div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a56526c55e7b20f765063753c3f10718f">getPathLiquidity</a>(</div>
<div class="line"><a name="l00171"></a><span class="lineno"> 171</span>&#160; <a class="code" href="classripple_1_1STPath.html">STPath</a> <span class="keyword">const</span>&amp; path, <span class="comment">// IN: The path to check.</span></div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <span class="keyword">const</span>&amp; minDstAmount, <span class="comment">// IN: The minimum output this path must</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>&#160; <span class="comment">// deliver to be worth keeping.</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a>&amp; amountOut, <span class="comment">// OUT: The actual liquidity on the path.</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>&#160; uint64_t&amp; qualityOut) <span class="keyword">const</span>; <span class="comment">// OUT: The returned initial quality</span></div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>&#160; <span class="comment">// Does this path end on an account-to-account link whose last account has</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>&#160; <span class="comment">// set the &quot;no ripple&quot; flag on the link?</span></div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>&#160; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a7282e0083acf806d91edd8ef4cff9cb5">isNoRippleOut</a>(<a class="code" href="classripple_1_1STPath.html">STPath</a> <span class="keyword">const</span>&amp; currentPath);</div>
<div class="line"><a name="l00181"></a><span class="lineno"> 181</span>&#160; </div>
<div class="line"><a name="l00182"></a><span class="lineno"> 182</span>&#160; <span class="comment">// Is the &quot;no ripple&quot; flag set from one account to another?</span></div>
<div class="line"><a name="l00183"></a><span class="lineno"> 183</span>&#160; <span class="keywordtype">bool</span></div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#ab125d362a9449daad62a81a0b3f83884">isNoRipple</a>(</div>
<div class="line"><a name="l00185"></a><span class="lineno"> 185</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; fromAccount,</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <span class="keyword">const</span>&amp; toAccount,</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>&#160; <a class="code" href="classripple_1_1base__uint.html">Currency</a> <span class="keyword">const</span>&amp; currency);</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>&#160; </div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>&#160; <span class="keywordtype">void</span></div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>&#160; <a class="code" href="classripple_1_1Pathfinder.html#a115ab8385952ac20117145a87e1711e9">rankPaths</a>(</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>&#160; <span class="keywordtype">int</span> maxPaths,</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>&#160; <a class="code" href="classripple_1_1STPathSet.html">STPathSet</a> <span class="keyword">const</span>&amp; paths,</div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;PathRank&gt;</a>&amp; rankedPaths,</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a>&lt;<span class="keywordtype">bool</span>(<span class="keywordtype">void</span>)&gt; <span class="keyword">const</span>&amp; continueCallback);</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>&#160; </div>
<div class="line"><a name="l00196"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a3fdb9dd6c5eb68bc888da822bf4f5403"> 196</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <a class="code" href="classripple_1_1Pathfinder.html#a3fdb9dd6c5eb68bc888da822bf4f5403">mSrcAccount</a>;</div>
<div class="line"><a name="l00197"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ad7e5eb378607bc8fcbc1c8f0688cc471"> 197</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <a class="code" href="classripple_1_1Pathfinder.html#ad7e5eb378607bc8fcbc1c8f0688cc471">mDstAccount</a>;</div>
<div class="line"><a name="l00198"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a56ce57eaa9ea3bc62fef40bbaf15fb29"> 198</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">AccountID</a> <a class="code" href="classripple_1_1Pathfinder.html#a56ce57eaa9ea3bc62fef40bbaf15fb29">mEffectiveDst</a>; <span class="comment">// The account the paths need to end at</span></div>
<div class="line"><a name="l00199"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a3981ff2a2b6ed6a6b8a30c9b9f0b1a0f"> 199</a></span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <a class="code" href="classripple_1_1Pathfinder.html#a3981ff2a2b6ed6a6b8a30c9b9f0b1a0f">mDstAmount</a>;</div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a5d9d107482cdda6999146d0088a7d00c"> 200</a></span>&#160; <a class="code" href="classripple_1_1base__uint.html">Currency</a> <a class="code" href="classripple_1_1Pathfinder.html#a5d9d107482cdda6999146d0088a7d00c">mSrcCurrency</a>;</div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a2749cd65297c623b9376ad238c6bfa8b"> 201</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional&lt;AccountID&gt;</a> <a class="code" href="classripple_1_1Pathfinder.html#a2749cd65297c623b9376ad238c6bfa8b">mSrcIssuer</a>;</div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#aedbf1fbb81391b584be70533b8171f3e"> 202</a></span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <a class="code" href="classripple_1_1Pathfinder.html#aedbf1fbb81391b584be70533b8171f3e">mSrcAmount</a>;</div>
<div class="line"><a name="l00205"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a7266a68af52c3edee265dadf910ff488"> 205</a></span>&#160; <a class="code" href="classripple_1_1STAmount.html">STAmount</a> <a class="code" href="classripple_1_1Pathfinder.html#a7266a68af52c3edee265dadf910ff488">mRemainingAmount</a>;</div>
<div class="line"><a name="l00206"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ab3a6371ee8dd90a9786cb73d560b43e8"> 206</a></span>&#160; <span class="keywordtype">bool</span> <a class="code" href="classripple_1_1Pathfinder.html#ab3a6371ee8dd90a9786cb73d560b43e8">convert_all_</a>;</div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>&#160; </div>
<div class="line"><a name="l00208"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#aeccc7b68adaabd62172d194a93df4925"> 208</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;ReadView const&gt;</a> <a class="code" href="classripple_1_1Pathfinder.html#aeccc7b68adaabd62172d194a93df4925">mLedger</a>;</div>
<div class="line"><a name="l00209"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a3fe4ffced633b32b0ccdc89541614445"> 209</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr&lt;LoadEvent&gt;</a> <a class="code" href="classripple_1_1Pathfinder.html#a3fe4ffced633b32b0ccdc89541614445">m_loadEvent</a>;</div>
<div class="line"><a name="l00210"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a55fe1f15d023b3a326556e19e3c9f4bc"> 210</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;RippleLineCache&gt;</a> <a class="code" href="classripple_1_1Pathfinder.html#a55fe1f15d023b3a326556e19e3c9f4bc">mRLCache</a>;</div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>&#160; </div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ab142edfed4f35e23c611fb20704dceca"> 212</a></span>&#160; <a class="code" href="classripple_1_1STPathElement.html">STPathElement</a> <a class="code" href="classripple_1_1Pathfinder.html#ab142edfed4f35e23c611fb20704dceca">mSource</a>;</div>
<div class="line"><a name="l00213"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a3eb91965f2ff01e21c6266168b098299"> 213</a></span>&#160; <a class="code" href="classripple_1_1STPathSet.html">STPathSet</a> <a class="code" href="classripple_1_1Pathfinder.html#a3eb91965f2ff01e21c6266168b098299">mCompletePaths</a>;</div>
<div class="line"><a name="l00214"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ad738eb8726e6c68e3ea33c046c30087d"> 214</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector&lt;PathRank&gt;</a> <a class="code" href="classripple_1_1Pathfinder.html#ad738eb8726e6c68e3ea33c046c30087d">mPathRanks</a>;</div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a5a10e479f32f36acd9ec48f0dcd4a551"> 215</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/map.html">std::map&lt;PathType, STPathSet&gt;</a> <a class="code" href="classripple_1_1Pathfinder.html#a5a10e479f32f36acd9ec48f0dcd4a551">mPaths</a>;</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>&#160; </div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ac308d7038d148ba1074685fb048965b9"> 217</a></span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map&lt;Issue, int&gt;</a> <a class="code" href="classripple_1_1Pathfinder.html#ac308d7038d148ba1074685fb048965b9">mPathsOutCountMap</a>;</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>&#160; </div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a662197b9a477c9fe6893ef59a6280bbb"> 219</a></span>&#160; <a class="code" href="classripple_1_1Application.html">Application</a>&amp; <a class="code" href="classripple_1_1Pathfinder.html#a662197b9a477c9fe6893ef59a6280bbb">app_</a>;</div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ab1d496a733f4b1f62c554f1b0fafab66"> 220</a></span>&#160; <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1Pathfinder.html#ab1d496a733f4b1f62c554f1b0fafab66">j_</a>;</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>&#160; </div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>&#160; <span class="comment">// Add ripple paths</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a727be33beb3aa8a5ed0ab97b83e6a18e"> 223</a></span>&#160; <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1Pathfinder.html#a727be33beb3aa8a5ed0ab97b83e6a18e">afADD_ACCOUNTS</a> = 0x001;</div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>&#160; </div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>&#160; <span class="comment">// Add order books</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#ad0580f183cbd96bf37b455c00fe01a39"> 226</a></span>&#160; <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1Pathfinder.html#ad0580f183cbd96bf37b455c00fe01a39">afADD_BOOKS</a> = 0x002;</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>&#160; </div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>&#160; <span class="comment">// Add order book to XRP only</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a3991e36b403803d7bedd3d3be840acd0"> 229</a></span>&#160; <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1Pathfinder.html#a3991e36b403803d7bedd3d3be840acd0">afOB_XRP</a> = 0x010;</div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>&#160; <span class="comment">// Must link to destination currency</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a669514501423575212f721a8fd9da7a4"> 232</a></span>&#160; <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1Pathfinder.html#a669514501423575212f721a8fd9da7a4">afOB_LAST</a> = 0x040;</div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>&#160; <span class="comment">// Destination account only</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="line" href="classripple_1_1Pathfinder.html#a58efb8bc4e58bbff72501b5066d0060e"> 235</a></span>&#160; <span class="keyword">static</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint32_t</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1Pathfinder.html#a58efb8bc4e58bbff72501b5066d0060e">afAC_LAST</a> = 0x080;</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>&#160;};</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>&#160;} <span class="comment">// namespace ripple</span></div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ab650554549d55fa8853a36dca3ae1f7b"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ab650554549d55fa8853a36dca3ae1f7b">ripple::Pathfinder::addPathsForType</a></div><div class="ttdeci">STPathSet &amp; addPathsForType(PathType const &amp;type, std::function&lt; bool(void)&gt; const &amp;continueCallback)</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00795">Pathfinder.cpp:795</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ac8ac528dd5f3db523d97019bd5cc7b68a0e0c19cf0719f141e7678e880a0bb27f"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a0e0c19cf0719f141e7678e880a0bb27f">ripple::Pathfinder::pt_nonXRP_to_nonXRP</a></div><div class="ttdeci">@ pt_nonXRP_to_nonXRP</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00102">Pathfinder.h:102</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a5d9d107482cdda6999146d0088a7d00c"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a5d9d107482cdda6999146d0088a7d00c">ripple::Pathfinder::mSrcCurrency</a></div><div class="ttdeci">Currency mSrcCurrency</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00200">Pathfinder.h:200</a></div></div>
<div class="ttc" id="aclassripple_1_1Application_html"><div class="ttname"><a href="classripple_1_1Application.html">ripple::Application</a></div><div class="ttdef"><b>Definition:</b> <a href="Application_8h_source.html#l00115">Application.h:115</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a3fdb9dd6c5eb68bc888da822bf4f5403"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a3fdb9dd6c5eb68bc888da822bf4f5403">ripple::Pathfinder::mSrcAccount</a></div><div class="ttdeci">AccountID mSrcAccount</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00196">Pathfinder.h:196</a></div></div>
<div class="ttc" id="aclassripple_1_1CountedObject_html"><div class="ttname"><a href="classripple_1_1CountedObject.html">ripple::CountedObject</a></div><div class="ttdoc">Tracks the number of instances of an object.</div><div class="ttdef"><b>Definition:</b> <a href="CountedObject_8h_source.html#l00124">CountedObject.h:124</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_add1bb1bf0400a204a973cbcb1c62c435"><div class="ttname"><a href="classripple_1_1Pathfinder.html#add1bb1bf0400a204a973cbcb1c62c435">ripple::Pathfinder::addLink</a></div><div class="ttdeci">void addLink(STPath const &amp;currentPath, STPathSet &amp;incompletePaths, int addFlags, std::function&lt; bool(void)&gt; const &amp;continueCallback)</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00937">Pathfinder.cpp:937</a></div></div>
<div class="ttc" id="aclassripple_1_1Issue_html"><div class="ttname"><a href="classripple_1_1Issue.html">ripple::Issue</a></div><div class="ttdoc">A currency issued by an account.</div><div class="ttdef"><b>Definition:</b> <a href="Issue_8h_source.html#l00034">Issue.h:34</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="aclassripple_1_1Pathfinder_html_a727be33beb3aa8a5ed0ab97b83e6a18e"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a727be33beb3aa8a5ed0ab97b83e6a18e">ripple::Pathfinder::afADD_ACCOUNTS</a></div><div class="ttdeci">static const std::uint32_t afADD_ACCOUNTS</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00223">Pathfinder.h:223</a></div></div>
<div class="ttc" id="anamespaceripple_html_afaeac9ab95c58b4359cdd27f59d18568"><div class="ttname"><a href="namespaceripple.html#afaeac9ab95c58b4359cdd27f59d18568">ripple::LineDirection</a></div><div class="ttdeci">LineDirection</div><div class="ttdoc">Describes how an account was found in a path, and how to find the next set of paths.</div><div class="ttdef"><b>Definition:</b> <a href="TrustLine_8h_source.html#l00041">TrustLine.h:41</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html"><div class="ttname"><a href="classripple_1_1Pathfinder.html">ripple::Pathfinder</a></div><div class="ttdoc">Calculates payment paths.</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00038">Pathfinder.h:38</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a82764f51e786f38b85f250e4ec0868f6"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a82764f51e786f38b85f250e4ec0868f6">ripple::Pathfinder::addLinks</a></div><div class="ttdeci">void addLinks(STPathSet const &amp;currentPaths, STPathSet &amp;incompletePaths, int addFlags, std::function&lt; bool(void)&gt; const &amp;continueCallback)</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00778">Pathfinder.cpp:778</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a715ddccc964329332578978ff5aafaef"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a715ddccc964329332578978ff5aafaef">ripple::Pathfinder::computePathRanks</a></div><div class="ttdeci">void computePathRanks(int maxPaths, std::function&lt; bool(void)&gt; const &amp;continueCallback={})</div><div class="ttdoc">Compute the rankings of the paths.</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00411">Pathfinder.cpp:411</a></div></div>
<div class="ttc" id="avector_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a669514501423575212f721a8fd9da7a4"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a669514501423575212f721a8fd9da7a4">ripple::Pathfinder::afOB_LAST</a></div><div class="ttdeci">static const std::uint32_t afOB_LAST</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00232">Pathfinder.h:232</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a404497923954f689fbde4d0a46fd8304a6901bba228317efdc75f8ee33d262b9f"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a6901bba228317efdc75f8ee33d262b9f">ripple::Pathfinder::nt_XRP_BOOK</a></div><div class="ttdeci">@ nt_XRP_BOOK</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00087">Pathfinder.h:87</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a5a10e479f32f36acd9ec48f0dcd4a551"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a5a10e479f32f36acd9ec48f0dcd4a551">ripple::Pathfinder::mPaths</a></div><div class="ttdeci">std::map&lt; PathType, STPathSet &gt; mPaths</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00215">Pathfinder.h:215</a></div></div>
<div class="ttc" id="astructripple_1_1Pathfinder_1_1PathRank_html_a735e02a47e4a2380f9bc69d9cf7e13ab"><div class="ttname"><a href="structripple_1_1Pathfinder_1_1PathRank.html#a735e02a47e4a2380f9bc69d9cf7e13ab">ripple::Pathfinder::PathRank::index</a></div><div class="ttdeci">int index</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00110">Pathfinder.h:110</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a3981ff2a2b6ed6a6b8a30c9b9f0b1a0f"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a3981ff2a2b6ed6a6b8a30c9b9f0b1a0f">ripple::Pathfinder::mDstAmount</a></div><div class="ttdeci">STAmount mDstAmount</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00199">Pathfinder.h:199</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a662197b9a477c9fe6893ef59a6280bbb"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a662197b9a477c9fe6893ef59a6280bbb">ripple::Pathfinder::app_</a></div><div class="ttdeci">Application &amp; app_</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00219">Pathfinder.h:219</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ac20e102f49cfa51d6805abac810d8d90"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ac20e102f49cfa51d6805abac810d8d90">ripple::Pathfinder::initPathTable</a></div><div class="ttdeci">static void initPathTable()</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l01300">Pathfinder.cpp:1300</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a1799d6ffb8bc27e6f7be100ab01856fd"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a1799d6ffb8bc27e6f7be100ab01856fd">ripple::Pathfinder::findPaths</a></div><div class="ttdeci">bool findPaths(int searchLevel, std::function&lt; bool(void)&gt; const &amp;continueCallback={})</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00195">Pathfinder.cpp:195</a></div></div>
<div class="ttc" id="afunction_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/functional/function.html">std::function</a></div></div>
<div class="ttc" id="astructripple_1_1Pathfinder_1_1PathRank_html_af636733f326007d2c15cf733cd7ace82"><div class="ttname"><a href="structripple_1_1Pathfinder_1_1PathRank.html#af636733f326007d2c15cf733cd7ace82">ripple::Pathfinder::PathRank::length</a></div><div class="ttdeci">std::uint64_t length</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00108">Pathfinder.h:108</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a980b15666a120e7ceac3841c71ddd9e2"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a980b15666a120e7ceac3841c71ddd9e2">ripple::Pathfinder::getPathsOut</a></div><div class="ttdeci">int getPathsOut(Currency const &amp;currency, AccountID const &amp;account, LineDirection direction, bool isDestCurrency, AccountID const &amp;dest, std::function&lt; bool(void)&gt; const &amp;continueCallback)</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00708">Pathfinder.cpp:708</a></div></div>
<div class="ttc" id="aclassripple_1_1STPathSet_html"><div class="ttname"><a href="classripple_1_1STPathSet.html">ripple::STPathSet</a></div><div class="ttdef"><b>Definition:</b> <a href="STPathSet_8h_source.html#l00176">STPathSet.h:176</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ac8ac528dd5f3db523d97019bd5cc7b68aab70f6934f757bb3eca6032a279f2d2f"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68aab70f6934f757bb3eca6032a279f2d2f">ripple::Pathfinder::pt_XRP_to_XRP</a></div><div class="ttdeci">@ pt_XRP_to_XRP</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00098">Pathfinder.h:98</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ab125d362a9449daad62a81a0b3f83884"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ab125d362a9449daad62a81a0b3f83884">ripple::Pathfinder::isNoRipple</a></div><div class="ttdeci">bool isNoRipple(AccountID const &amp;fromAccount, AccountID const &amp;toAccount, Currency const &amp;currency)</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00885">Pathfinder.cpp:885</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a56526c55e7b20f765063753c3f10718f"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a56526c55e7b20f765063753c3f10718f">ripple::Pathfinder::getPathLiquidity</a></div><div class="ttdeci">TER getPathLiquidity(STPath const &amp;path, STAmount const &amp;minDstAmount, STAmount &amp;amountOut, uint64_t &amp;qualityOut) const</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00344">Pathfinder.cpp:344</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a404497923954f689fbde4d0a46fd8304"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304">ripple::Pathfinder::NodeType</a></div><div class="ttdeci">NodeType</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00083">Pathfinder.h:83</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a58efb8bc4e58bbff72501b5066d0060e"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a58efb8bc4e58bbff72501b5066d0060e">ripple::Pathfinder::afAC_LAST</a></div><div class="ttdeci">static const std::uint32_t afAC_LAST</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00235">Pathfinder.h:235</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="ttdoc">Integers of any length that is a multiple of 32-bits.</div><div class="ttdef"><b>Definition:</b> <a href="base__uint_8h_source.html#l00081">base_uint.h:81</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_af3f37025a884f4164c43f5fd3cae3081"><div class="ttname"><a href="classripple_1_1Pathfinder.html#af3f37025a884f4164c43f5fd3cae3081">ripple::Pathfinder::operator=</a></div><div class="ttdeci">Pathfinder &amp; operator=(Pathfinder const &amp;)=delete</div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_aedbf1fbb81391b584be70533b8171f3e"><div class="ttname"><a href="classripple_1_1Pathfinder.html#aedbf1fbb81391b584be70533b8171f3e">ripple::Pathfinder::mSrcAmount</a></div><div class="ttdeci">STAmount mSrcAmount</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00202">Pathfinder.h:202</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a404497923954f689fbde4d0a46fd8304a2ee912cf2a6c836b2520c3b739f5cad6"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a2ee912cf2a6c836b2520c3b739f5cad6">ripple::Pathfinder::nt_BOOKS</a></div><div class="ttdeci">@ nt_BOOKS</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00086">Pathfinder.h:86</a></div></div>
<div class="ttc" id="astructripple_1_1Pathfinder_1_1PathRank_html_a0717d34b340855c565781c9623fb033b"><div class="ttname"><a href="structripple_1_1Pathfinder_1_1PathRank.html#a0717d34b340855c565781c9623fb033b">ripple::Pathfinder::PathRank::quality</a></div><div class="ttdeci">std::uint64_t quality</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00107">Pathfinder.h:107</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a2749cd65297c623b9376ad238c6bfa8b"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a2749cd65297c623b9376ad238c6bfa8b">ripple::Pathfinder::mSrcIssuer</a></div><div class="ttdeci">std::optional&lt; AccountID &gt; mSrcIssuer</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00201">Pathfinder.h:201</a></div></div>
<div class="ttc" id="aclassripple_1_1TERSubset_html"><div class="ttname"><a href="classripple_1_1TERSubset.html">ripple::TERSubset&lt; CanCvtToTER &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_aeccc7b68adaabd62172d194a93df4925"><div class="ttname"><a href="classripple_1_1Pathfinder.html#aeccc7b68adaabd62172d194a93df4925">ripple::Pathfinder::mLedger</a></div><div class="ttdeci">std::shared_ptr&lt; ReadView const &gt; mLedger</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00208">Pathfinder.h:208</a></div></div>
<div class="ttc" id="aclassripple_1_1STAmount_html"><div class="ttname"><a href="classripple_1_1STAmount.html">ripple::STAmount</a></div><div class="ttdef"><b>Definition:</b> <a href="STAmount_8h_source.html#l00044">STAmount.h:44</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a55fe1f15d023b3a326556e19e3c9f4bc"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a55fe1f15d023b3a326556e19e3c9f4bc">ripple::Pathfinder::mRLCache</a></div><div class="ttdeci">std::shared_ptr&lt; RippleLineCache &gt; mRLCache</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00210">Pathfinder.h:210</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a494103ba295a87711e505b8bb348b02c"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a494103ba295a87711e505b8bb348b02c">ripple::Pathfinder::Pathfinder</a></div><div class="ttdeci">Pathfinder(std::shared_ptr&lt; RippleLineCache &gt; const &amp;cache, AccountID const &amp;srcAccount, AccountID const &amp;dstAccount, Currency const &amp;uSrcCurrency, std::optional&lt; AccountID &gt; const &amp;uSrcIssuer, STAmount const &amp;dstAmount, std::optional&lt; STAmount &gt; const &amp;srcAmount, Application &amp;app)</div><div class="ttdoc">Construct a pathfinder without an issuer.</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00161">Pathfinder.cpp:161</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html"><div class="ttname"><a href="classbeast_1_1Journal.html">beast::Journal</a></div><div class="ttdoc">A generic endpoint for log messages.</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00058">Journal.h:58</a></div></div>
<div class="ttc" id="ainteger_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/integer.html">std::uint64_t</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a3fe4ffced633b32b0ccdc89541614445"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a3fe4ffced633b32b0ccdc89541614445">ripple::Pathfinder::m_loadEvent</a></div><div class="ttdeci">std::unique_ptr&lt; LoadEvent &gt; m_loadEvent</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00209">Pathfinder.h:209</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a7266a68af52c3edee265dadf910ff488"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a7266a68af52c3edee265dadf910ff488">ripple::Pathfinder::mRemainingAmount</a></div><div class="ttdeci">STAmount mRemainingAmount</div><div class="ttdoc">The amount remaining from mSrcAccount after the default liquidity has been removed.</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00205">Pathfinder.h:205</a></div></div>
<div class="ttc" id="amap_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/map.html">std::map</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a404497923954f689fbde4d0a46fd8304a92181edf87fa9af5707f4ae7a6c3bc22"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a92181edf87fa9af5707f4ae7a6c3bc22">ripple::Pathfinder::nt_DESTINATION</a></div><div class="ttdeci">@ nt_DESTINATION</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00089">Pathfinder.h:89</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a56ce57eaa9ea3bc62fef40bbaf15fb29"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a56ce57eaa9ea3bc62fef40bbaf15fb29">ripple::Pathfinder::mEffectiveDst</a></div><div class="ttdeci">AccountID mEffectiveDst</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00198">Pathfinder.h:198</a></div></div>
<div class="ttc" id="astructripple_1_1Pathfinder_1_1PathRank_html_a2f4e2ae95ac7fa39c1d755151dca5a2f"><div class="ttname"><a href="structripple_1_1Pathfinder_1_1PathRank.html#a2f4e2ae95ac7fa39c1d755151dca5a2f">ripple::Pathfinder::PathRank::liquidity</a></div><div class="ttdeci">STAmount liquidity</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00109">Pathfinder.h:109</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ad7e5eb378607bc8fcbc1c8f0688cc471"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ad7e5eb378607bc8fcbc1c8f0688cc471">ripple::Pathfinder::mDstAccount</a></div><div class="ttdeci">AccountID mDstAccount</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00197">Pathfinder.h:197</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ab142edfed4f35e23c611fb20704dceca"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ab142edfed4f35e23c611fb20704dceca">ripple::Pathfinder::mSource</a></div><div class="ttdeci">STPathElement mSource</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00212">Pathfinder.h:212</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a3eb91965f2ff01e21c6266168b098299"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a3eb91965f2ff01e21c6266168b098299">ripple::Pathfinder::mCompletePaths</a></div><div class="ttdeci">STPathSet mCompletePaths</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00213">Pathfinder.h:213</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_addfe15f1a79f11abf25a21091d4b8a35"><div class="ttname"><a href="classripple_1_1Pathfinder.html#addfe15f1a79f11abf25a21091d4b8a35">ripple::Pathfinder::getBestPaths</a></div><div class="ttdeci">STPathSet getBestPaths(int maxPaths, STPath &amp;fullLiquidityPath, STPathSet const &amp;extraPaths, AccountID const &amp;srcIssuer, std::function&lt; bool(void)&gt; const &amp;continueCallback={})</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00567">Pathfinder.cpp:567</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ac8ac528dd5f3db523d97019bd5cc7b68a5e290dc7a0b9c81a83545431e6781567"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a5e290dc7a0b9c81a83545431e6781567">ripple::Pathfinder::pt_XRP_to_nonXRP</a></div><div class="ttdeci">@ pt_XRP_to_nonXRP</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00099">Pathfinder.h:99</a></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="aclassripple_1_1Pathfinder_html_a3991e36b403803d7bedd3d3be840acd0"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a3991e36b403803d7bedd3d3be840acd0">ripple::Pathfinder::afOB_XRP</a></div><div class="ttdeci">static const std::uint32_t afOB_XRP</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00229">Pathfinder.h:229</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a068cb6eddf58b2fe631ff09d3edb4f4c"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a068cb6eddf58b2fe631ff09d3edb4f4c">ripple::Pathfinder::issueMatchesOrigin</a></div><div class="ttdeci">bool issueMatchesOrigin(Issue const &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00697">Pathfinder.cpp:697</a></div></div>
<div class="ttc" id="aclassripple_1_1STPathElement_html"><div class="ttname"><a href="classripple_1_1STPathElement.html">ripple::STPathElement</a></div><div class="ttdef"><b>Definition:</b> <a href="STPathSet_8h_source.html#l00034">STPathSet.h:34</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ab1d496a733f4b1f62c554f1b0fafab66"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ab1d496a733f4b1f62c554f1b0fafab66">ripple::Pathfinder::j_</a></div><div class="ttdeci">const beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00220">Pathfinder.h:220</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_aad4acf2e3fab44d1a3813cf90b616820"><div class="ttname"><a href="classripple_1_1Pathfinder.html#aad4acf2e3fab44d1a3813cf90b616820">ripple::Pathfinder::~Pathfinder</a></div><div class="ttdeci">~Pathfinder()=default</div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ac8ac528dd5f3db523d97019bd5cc7b68a66ca6f9e06b3d15958b7638aea014cb7"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68a66ca6f9e06b3d15958b7638aea014cb7">ripple::Pathfinder::pt_nonXRP_to_same</a></div><div class="ttdeci">@ pt_nonXRP_to_same</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00101">Pathfinder.h:101</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ad0580f183cbd96bf37b455c00fe01a39"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ad0580f183cbd96bf37b455c00fe01a39">ripple::Pathfinder::afADD_BOOKS</a></div><div class="ttdeci">static const std::uint32_t afADD_BOOKS</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00226">Pathfinder.h:226</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ac8ac528dd5f3db523d97019bd5cc7b68aa8468d8408c64a9a8e9ae944425cb76b"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68aa8468d8408c64a9a8e9ae944425cb76b">ripple::Pathfinder::pt_nonXRP_to_XRP</a></div><div class="ttdeci">@ pt_nonXRP_to_XRP</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00100">Pathfinder.h:100</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a7282e0083acf806d91edd8ef4cff9cb5"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a7282e0083acf806d91edd8ef4cff9cb5">ripple::Pathfinder::isNoRippleOut</a></div><div class="ttdeci">bool isNoRippleOut(STPath const &amp;currentPath)</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00902">Pathfinder.cpp:902</a></div></div>
<div class="ttc" id="aoptional_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/utility/optional.html">std::optional</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ac308d7038d148ba1074685fb048965b9"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ac308d7038d148ba1074685fb048965b9">ripple::Pathfinder::mPathsOutCountMap</a></div><div class="ttdeci">hash_map&lt; Issue, int &gt; mPathsOutCountMap</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00217">Pathfinder.h:217</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a404497923954f689fbde4d0a46fd8304ac23bd31c079313dce20c167ed9b1540a"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304ac23bd31c079313dce20c167ed9b1540a">ripple::Pathfinder::nt_ACCOUNTS</a></div><div class="ttdeci">@ nt_ACCOUNTS</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00085">Pathfinder.h:85</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a404497923954f689fbde4d0a46fd8304a9d65441afb966e00f2680657db42c312"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a9d65441afb966e00f2680657db42c312">ripple::Pathfinder::nt_DEST_BOOK</a></div><div class="ttdeci">@ nt_DEST_BOOK</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00088">Pathfinder.h:88</a></div></div>
<div class="ttc" id="astructripple_1_1Pathfinder_1_1PathRank_html"><div class="ttname"><a href="structripple_1_1Pathfinder_1_1PathRank.html">ripple::Pathfinder::PathRank</a></div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00105">Pathfinder.h:105</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ad738eb8726e6c68e3ea33c046c30087d"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ad738eb8726e6c68e3ea33c046c30087d">ripple::Pathfinder::mPathRanks</a></div><div class="ttdeci">std::vector&lt; PathRank &gt; mPathRanks</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00214">Pathfinder.h:214</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ac8ac528dd5f3db523d97019bd5cc7b68"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ac8ac528dd5f3db523d97019bd5cc7b68">ripple::Pathfinder::PaymentType</a></div><div class="ttdeci">PaymentType</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00097">Pathfinder.h:97</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a115ab8385952ac20117145a87e1711e9"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a115ab8385952ac20117145a87e1711e9">ripple::Pathfinder::rankPaths</a></div><div class="ttdeci">void rankPaths(int maxPaths, STPathSet const &amp;paths, std::vector&lt; PathRank &gt; &amp;rankedPaths, std::function&lt; bool(void)&gt; const &amp;continueCallback)</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8cpp_source.html#l00489">Pathfinder.cpp:489</a></div></div>
<div class="ttc" id="aunique_ptr_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/memory/unique_ptr.html">std::unique_ptr</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1STPath_html"><div class="ttname"><a href="classripple_1_1STPath.html">ripple::STPath</a></div><div class="ttdef"><b>Definition:</b> <a href="STPathSet_8h_source.html#l00118">STPathSet.h:118</a></div></div>
<div class="ttc" id="aunordered_map_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/unordered_map.html">std::unordered_map</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_a404497923954f689fbde4d0a46fd8304a0da3c58120423e1b01db90895a785da2"><div class="ttname"><a href="classripple_1_1Pathfinder.html#a404497923954f689fbde4d0a46fd8304a0da3c58120423e1b01db90895a785da2">ripple::Pathfinder::nt_SOURCE</a></div><div class="ttdeci">@ nt_SOURCE</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00084">Pathfinder.h:84</a></div></div>
<div class="ttc" id="aclassripple_1_1Pathfinder_html_ab3a6371ee8dd90a9786cb73d560b43e8"><div class="ttname"><a href="classripple_1_1Pathfinder.html#ab3a6371ee8dd90a9786cb73d560b43e8">ripple::Pathfinder::convert_all_</a></div><div class="ttdeci">bool convert_all_</div><div class="ttdef"><b>Definition:</b> <a href="Pathfinder_8h_source.html#l00206">Pathfinder.h:206</a></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
</small></address>
</body>
</html>