mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 07:25:51 +00:00
deploy: 397268394b
This commit is contained in:
@@ -94,99 +94,101 @@ $(function() {
|
||||
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="preprocessor">#include <ripple/app/ledger/AcceptedLedgerTx.h></span></div>
|
||||
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <ripple/app/ledger/BookListeners.h></span></div>
|
||||
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor">#include <ripple/app/main/Application.h></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>></span></div>
|
||||
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <ripple/json/MultivarJson.h></span></div>
|
||||
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  </div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keyword">namespace </span><a class="code" href="namespaceripple.html">ripple</a> {</div>
|
||||
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="preprocessor">#include <<a class="codeRef" href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a>></span></div>
|
||||
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  </div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html"> 30</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1OrderBookDB.html">OrderBookDB</a></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="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1OrderBookDB.html#a697de2ec6a08223d6faab76d54ba28f7">OrderBookDB</a>(<a class="code" href="classripple_1_1Application.html">Application</a>& app);</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="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  <a class="code" href="classripple_1_1OrderBookDB.html#aed86977ef6ecea12e5f9f339f4a38f58">setup</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<ReadView const></a> <span class="keyword">const</span>& ledger);</div>
|
||||
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <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>  </div>
|
||||
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html"> 32</a></span> <span class="keyword">class </span><a class="code" href="classripple_1_1OrderBookDB.html">OrderBookDB</a></div>
|
||||
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span> {</div>
|
||||
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keyword">public</span>:</div>
|
||||
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <span class="keyword">explicit</span> <a class="code" href="classripple_1_1OrderBookDB.html#a697de2ec6a08223d6faab76d54ba28f7">OrderBookDB</a>(<a class="code" href="classripple_1_1Application.html">Application</a>& app);</div>
|
||||
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a97850b93b1612a1f0412f5c9c1095d62">update</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<ReadView const></a> <span class="keyword">const</span>& ledger);</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="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a0faba63ac03924d89a07b2dd69bcd206">addOrderBook</a>(<a class="code" href="classripple_1_1Book.html">Book</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<Book></a></div>
|
||||
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a978133f17fa4f61cac070f9ada073529">getBooksByTakerPays</a>(<a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordtype">int</span></div>
|
||||
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <a class="code" href="classripple_1_1OrderBookDB.html#aaccb8e34048b89f4d94c79e63c12223b">getBookSize</a>(<a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  </div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a267505a534420b08e9ef5cb2e86451d0">isBookToXRP</a>(<a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&);</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>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">BookListeners::pointer</a></div>
|
||||
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a07b062a83bd42b8df4197fde7dfdcae7">getBookListeners</a>(<a class="code" href="classripple_1_1Book.html">Book</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <a class="code" href="classripple_1_1OrderBookDB.html#aed86977ef6ecea12e5f9f339f4a38f58">setup</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<ReadView const></a> <span class="keyword">const</span>& ledger);</div>
|
||||
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a97850b93b1612a1f0412f5c9c1095d62">update</a>(<a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr<ReadView const></a> <span class="keyword">const</span>& ledger);</div>
|
||||
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  </div>
|
||||
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a0faba63ac03924d89a07b2dd69bcd206">addOrderBook</a>(<a class="code" href="classripple_1_1Book.html">Book</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
||||
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">std::vector<Book></a></div>
|
||||
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a978133f17fa4f61cac070f9ada073529">getBooksByTakerPays</a>(<a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keywordtype">int</span></div>
|
||||
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classripple_1_1OrderBookDB.html#aaccb8e34048b89f4d94c79e63c12223b">getBookSize</a>(<a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
|
||||
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  <span class="keywordtype">bool</span></div>
|
||||
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a267505a534420b08e9ef5cb2e86451d0">isBookToXRP</a>(<a class="code" href="classripple_1_1Issue.html">Issue</a> <span class="keyword">const</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>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">BookListeners::pointer</a></div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a38074418513ff8451b5955caa08943b0">makeBookListeners</a>(<a class="code" href="classripple_1_1Book.html">Book</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// see if this txn effects any orderbook</span></div>
|
||||
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a617f9b8217902b96721556cc7b96f518">processTxn</a>(</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<ReadView const></a> <span class="keyword">const</span>& ledger,</div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">const</span> <a class="code" href="classripple_1_1AcceptedLedgerTx.html">AcceptedLedgerTx</a>& alTx,</div>
|
||||
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classJson_1_1Value.html">Json::Value</a> <span class="keyword">const</span>& jvObj);</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#af084136ed9bcb2279bc29bbe6e6871a2"> 69</a></span>  <a class="code" href="classripple_1_1Application.html">Application</a>& <a class="code" href="classripple_1_1OrderBookDB.html#af084136ed9bcb2279bc29bbe6e6871a2">app_</a>;</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="comment">// Maps order books by "issue in" to "issue out":</span></div>
|
||||
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#ae89b52d731795379e2eda05fe290cb2c"> 72</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hardened_hash_map<Issue, hardened_hash_set<Issue></a>> <a class="code" href="classripple_1_1OrderBookDB.html#ae89b52d731795379e2eda05fe290cb2c">allBooks_</a>;</div>
|
||||
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  </div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <span class="comment">// does an order book to XRP exist</span></div>
|
||||
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#ae67cc05be19080e104494e568d5a7c7d"> 75</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<Issue></a> <a class="code" href="classripple_1_1OrderBookDB.html#ae67cc05be19080e104494e568d5a7c7d">xrpBooks_</a>;</div>
|
||||
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#acc9a23a40572442fb8a4b928479e58d6"> 77</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html">std::recursive_mutex</a> <a class="code" href="classripple_1_1OrderBookDB.html#acc9a23a40572442fb8a4b928479e58d6">mLock</a>;</div>
|
||||
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a07b062a83bd42b8df4197fde7dfdcae7">getBookListeners</a>(<a class="code" href="classripple_1_1Book.html">Book</a> <span class="keyword">const</span>&);</div>
|
||||
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">BookListeners::pointer</a></div>
|
||||
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a38074418513ff8451b5955caa08943b0">makeBookListeners</a>(<a class="code" href="classripple_1_1Book.html">Book</a> <span class="keyword">const</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>  <span class="comment">// see if this txn effects any orderbook</span></div>
|
||||
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  <span class="keywordtype">void</span></div>
|
||||
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="classripple_1_1OrderBookDB.html#a5d34a03659e46abc9b80013cb7e93ce4">processTxn</a>(</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<ReadView const></a> <span class="keyword">const</span>& ledger,</div>
|
||||
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="keyword">const</span> <a class="code" href="classripple_1_1AcceptedLedgerTx.html">AcceptedLedgerTx</a>& alTx,</div>
|
||||
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <a class="code" href="structripple_1_1MultivarJson.html">MultiApiJson</a> <span class="keyword">const</span>& jvObj);</div>
|
||||
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  </div>
|
||||
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="keyword">private</span>:</div>
|
||||
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#af084136ed9bcb2279bc29bbe6e6871a2"> 71</a></span>  <a class="code" href="classripple_1_1Application.html">Application</a>& <a class="code" href="classripple_1_1OrderBookDB.html#af084136ed9bcb2279bc29bbe6e6871a2">app_</a>;</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">// Maps order books by "issue in" to "issue out":</span></div>
|
||||
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#ae89b52d731795379e2eda05fe290cb2c"> 74</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hardened_hash_map<Issue, hardened_hash_set<Issue></a>> <a class="code" href="classripple_1_1OrderBookDB.html#ae89b52d731795379e2eda05fe290cb2c">allBooks_</a>;</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="comment">// does an order book to XRP exist</span></div>
|
||||
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#ae67cc05be19080e104494e568d5a7c7d"> 77</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_set.html">hash_set<Issue></a> <a class="code" href="classripple_1_1OrderBookDB.html#ae67cc05be19080e104494e568d5a7c7d">xrpBooks_</a>;</div>
|
||||
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  </div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#a62509510a23f433f9d4b56a486eb2124"> 79</a></span>  <span class="keyword">using</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">BookToListenersMap</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<Book, BookListeners::pointer></a>;</div>
|
||||
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#acc9a23a40572442fb8a4b928479e58d6"> 79</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html">std::recursive_mutex</a> <a class="code" href="classripple_1_1OrderBookDB.html#acc9a23a40572442fb8a4b928479e58d6">mLock</a>;</div>
|
||||
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  </div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#ae4c62af4e93e27bb688158e7c767fd4f"> 81</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">BookToListenersMap</a> <a class="code" href="classripple_1_1OrderBookDB.html#ae4c62af4e93e27bb688158e7c767fd4f">mListeners</a>;</div>
|
||||
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#a62509510a23f433f9d4b56a486eb2124"> 81</a></span>  <span class="keyword">using</span> <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">BookToListenersMap</a> = <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">hash_map<Book, BookListeners::pointer></a>;</div>
|
||||
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#a563d62e4549125a2b72beefc709da514"> 83</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic<std::uint32_t></a> <a class="code" href="classripple_1_1OrderBookDB.html#a563d62e4549125a2b72beefc709da514">seq_</a>;</div>
|
||||
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#ae4c62af4e93e27bb688158e7c767fd4f"> 83</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/unordered_map.html">BookToListenersMap</a> <a class="code" href="classripple_1_1OrderBookDB.html#ae4c62af4e93e27bb688158e7c767fd4f">mListeners</a>;</div>
|
||||
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  </div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#af7c60802e80c0b5ee059105423d0e60d"> 85</a></span>  <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1OrderBookDB.html#af7c60802e80c0b5ee059105423d0e60d">j_</a>;</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>  </div>
|
||||
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span> } <span class="comment">// namespace ripple</span></div>
|
||||
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#a563d62e4549125a2b72beefc709da514"> 85</a></span>  <a class="codeRef" href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic<std::uint32_t></a> <a class="code" href="classripple_1_1OrderBookDB.html#a563d62e4549125a2b72beefc709da514">seq_</a>;</div>
|
||||
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
||||
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classripple_1_1OrderBookDB.html#af7c60802e80c0b5ee059105423d0e60d"> 87</a></span>  <a class="code" href="classbeast_1_1Journal.html">beast::Journal</a> <span class="keyword">const</span> <a class="code" href="classripple_1_1OrderBookDB.html#af7c60802e80c0b5ee059105423d0e60d">j_</a>;</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>  </div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="preprocessor">#endif</span></div>
|
||||
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> } <span class="comment">// namespace ripple</span></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> <span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
<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#l00116">Application.h:116</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#l00035">Issue.h:35</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="aclassripple_1_1OrderBookDB_html_af7c60802e80c0b5ee059105423d0e60d"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#af7c60802e80c0b5ee059105423d0e60d">ripple::OrderBookDB::j_</a></div><div class="ttdeci">const beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00085">OrderBookDB.h:85</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_acc9a23a40572442fb8a4b928479e58d6"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#acc9a23a40572442fb8a4b928479e58d6">ripple::OrderBookDB::mLock</a></div><div class="ttdeci">std::recursive_mutex mLock</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00077">OrderBookDB.h:77</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_af7c60802e80c0b5ee059105423d0e60d"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#af7c60802e80c0b5ee059105423d0e60d">ripple::OrderBookDB::j_</a></div><div class="ttdeci">const beast::Journal j_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00087">OrderBookDB.h:87</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_acc9a23a40572442fb8a4b928479e58d6"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#acc9a23a40572442fb8a4b928479e58d6">ripple::OrderBookDB::mLock</a></div><div class="ttdeci">std::recursive_mutex mLock</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00079">OrderBookDB.h:79</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="arecursive_mutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/thread/recursive_mutex.html">std::recursive_mutex</a></div><div class="ttdoc">STL class.</div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a563d62e4549125a2b72beefc709da514"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a563d62e4549125a2b72beefc709da514">ripple::OrderBookDB::seq_</a></div><div class="ttdeci">std::atomic< std::uint32_t > seq_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00083">OrderBookDB.h:83</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a563d62e4549125a2b72beefc709da514"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a563d62e4549125a2b72beefc709da514">ripple::OrderBookDB::seq_</a></div><div class="ttdeci">std::atomic< std::uint32_t > seq_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00085">OrderBookDB.h:85</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a97850b93b1612a1f0412f5c9c1095d62"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a97850b93b1612a1f0412f5c9c1095d62">ripple::OrderBookDB::update</a></div><div class="ttdeci">void update(std::shared_ptr< ReadView const > const &ledger)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00076">OrderBookDB.cpp:76</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_ae67cc05be19080e104494e568d5a7c7d"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#ae67cc05be19080e104494e568d5a7c7d">ripple::OrderBookDB::xrpBooks_</a></div><div class="ttdeci">hash_set< Issue > xrpBooks_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00075">OrderBookDB.h:75</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_ae67cc05be19080e104494e568d5a7c7d"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#ae67cc05be19080e104494e568d5a7c7d">ripple::OrderBookDB::xrpBooks_</a></div><div class="ttdeci">hash_set< Issue > xrpBooks_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00077">OrderBookDB.h:77</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a267505a534420b08e9ef5cb2e86451d0"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a267505a534420b08e9ef5cb2e86451d0">ripple::OrderBookDB::isBookToXRP</a></div><div class="ttdeci">bool isBookToXRP(Issue const &)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00211">OrderBookDB.cpp:211</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_aaccb8e34048b89f4d94c79e63c12223b"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#aaccb8e34048b89f4d94c79e63c12223b">ripple::OrderBookDB::getBookSize</a></div><div class="ttdeci">int getBookSize(Issue const &)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00202">OrderBookDB.cpp:202</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a617f9b8217902b96721556cc7b96f518"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a617f9b8217902b96721556cc7b96f518">ripple::OrderBookDB::processTxn</a></div><div class="ttdeci">void processTxn(std::shared_ptr< ReadView const > const &ledger, const AcceptedLedgerTx &alTx, Json::Value const &jvObj)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00250">OrderBookDB.cpp:250</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1AcceptedLedgerTx_html"><div class="ttname"><a href="classripple_1_1AcceptedLedgerTx.html">ripple::AcceptedLedgerTx</a></div><div class="ttdoc">A transaction that is in a closed ledger.</div><div class="ttdef"><b>Definition:</b> <a href="AcceptedLedgerTx_8h_source.html#l00043">AcceptedLedgerTx.h:43</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_aed86977ef6ecea12e5f9f339f4a38f58"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#aed86977ef6ecea12e5f9f339f4a38f58">ripple::OrderBookDB::setup</a></div><div class="ttdeci">void setup(std::shared_ptr< ReadView const > const &ledger)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00038">OrderBookDB.cpp:38</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="aatomic_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/atomic/atomic.html">std::atomic< std::uint32_t ></a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a38074418513ff8451b5955caa08943b0"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a38074418513ff8451b5955caa08943b0">ripple::OrderBookDB::makeBookListeners</a></div><div class="ttdeci">BookListeners::pointer makeBookListeners(Book const &)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00218">OrderBookDB.cpp:218</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html"><div class="ttname"><a href="classripple_1_1OrderBookDB.html">ripple::OrderBookDB</a></div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00030">OrderBookDB.h:30</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_ae89b52d731795379e2eda05fe290cb2c"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#ae89b52d731795379e2eda05fe290cb2c">ripple::OrderBookDB::allBooks_</a></div><div class="ttdeci">hardened_hash_map< Issue, hardened_hash_set< Issue > > allBooks_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00072">OrderBookDB.h:72</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_ae4c62af4e93e27bb688158e7c767fd4f"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#ae4c62af4e93e27bb688158e7c767fd4f">ripple::OrderBookDB::mListeners</a></div><div class="ttdeci">BookToListenersMap mListeners</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00081">OrderBookDB.h:81</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html"><div class="ttname"><a href="classripple_1_1OrderBookDB.html">ripple::OrderBookDB</a></div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00032">OrderBookDB.h:32</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_ae89b52d731795379e2eda05fe290cb2c"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#ae89b52d731795379e2eda05fe290cb2c">ripple::OrderBookDB::allBooks_</a></div><div class="ttdeci">hardened_hash_map< Issue, hardened_hash_set< Issue > > allBooks_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00074">OrderBookDB.h:74</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_ae4c62af4e93e27bb688158e7c767fd4f"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#ae4c62af4e93e27bb688158e7c767fd4f">ripple::OrderBookDB::mListeners</a></div><div class="ttdeci">BookToListenersMap mListeners</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00083">OrderBookDB.h:83</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a07b062a83bd42b8df4197fde7dfdcae7"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a07b062a83bd42b8df4197fde7dfdcae7">ripple::OrderBookDB::getBookListeners</a></div><div class="ttdeci">BookListeners::pointer getBookListeners(Book const &)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00235">OrderBookDB.cpp:235</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_1OrderBookDB_html_a5d34a03659e46abc9b80013cb7e93ce4"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a5d34a03659e46abc9b80013cb7e93ce4">ripple::OrderBookDB::processTxn</a></div><div class="ttdeci">void processTxn(std::shared_ptr< ReadView const > const &ledger, const AcceptedLedgerTx &alTx, MultiApiJson const &jvObj)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00250">OrderBookDB.cpp:250</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a697de2ec6a08223d6faab76d54ba28f7"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a697de2ec6a08223d6faab76d54ba28f7">ripple::OrderBookDB::OrderBookDB</a></div><div class="ttdeci">OrderBookDB(Application &app)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00032">OrderBookDB.cpp:32</a></div></div>
|
||||
<div class="ttc" id="amutex_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/header/mutex.html">mutex</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_af084136ed9bcb2279bc29bbe6e6871a2"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#af084136ed9bcb2279bc29bbe6e6871a2">ripple::OrderBookDB::app_</a></div><div class="ttdeci">Application & app_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00069">OrderBookDB.h:69</a></div></div>
|
||||
<div class="ttc" id="astructripple_1_1MultivarJson_html"><div class="ttname"><a href="structripple_1_1MultivarJson.html">ripple::MultivarJson</a></div><div class="ttdef"><b>Definition:</b> <a href="MultivarJson_8h_source.html#l00032">MultivarJson.h:32</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_af084136ed9bcb2279bc29bbe6e6871a2"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#af084136ed9bcb2279bc29bbe6e6871a2">ripple::OrderBookDB::app_</a></div><div class="ttdeci">Application & app_</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8h_source.html#l00071">OrderBookDB.h:71</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1Book_html"><div class="ttname"><a href="classripple_1_1Book.html">ripple::Book</a></div><div class="ttdoc">Specifies an order book.</div><div class="ttdef"><b>Definition:</b> <a href="Book_8h_source.html#l00033">Book.h:33</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a978133f17fa4f61cac070f9ada073529"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a978133f17fa4f61cac070f9ada073529">ripple::OrderBookDB::getBooksByTakerPays</a></div><div class="ttdeci">std::vector< Book > getBooksByTakerPays(Issue const &)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00182">OrderBookDB.cpp:182</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="aclassJson_1_1Value_html"><div class="ttname"><a href="classJson_1_1Value.html">Json::Value</a></div><div class="ttdoc">Represents a JSON value.</div><div class="ttdef"><b>Definition:</b> <a href="json__value_8h_source.html#l00145">json_value.h:145</a></div></div>
|
||||
<div class="ttc" id="aclassripple_1_1OrderBookDB_html_a0faba63ac03924d89a07b2dd69bcd206"><div class="ttname"><a href="classripple_1_1OrderBookDB.html#a0faba63ac03924d89a07b2dd69bcd206">ripple::OrderBookDB::addOrderBook</a></div><div class="ttdeci">void addOrderBook(Book const &)</div><div class="ttdef"><b>Definition:</b> <a href="OrderBookDB_8cpp_source.html#l00168">OrderBookDB.cpp:168</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<hr class="footer"/><address class="footer"><small>
|
||||
|
||||
Reference in New Issue
Block a user