This commit is contained in:
manojsdoshi
2020-10-14 23:50:07 +00:00
parent b7f5072ca1
commit 47b1eac2df
1003 changed files with 51748 additions and 50621 deletions

View File

@@ -262,7 +262,7 @@ $(function() {
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>&#160; </div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector.html">Blob</a> data(object-&gt;getData());</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>&#160; </div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; db.<a class="code" href="classripple_1_1NodeStore_1_1Database.html#af7e6b59a295358a7c583895200b57f56">store</a>(</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>&#160; db.<a class="code" href="classripple_1_1NodeStore_1_1Database.html#a7da2336581ee3348aad97c0d885658d0">store</a>(</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>&#160; object-&gt;getType(),</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>&#160; std::move(data),</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>&#160; object-&gt;getHash(),</div>
@@ -280,7 +280,7 @@ $(function() {
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>&#160; <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; batch.<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector/size.html">size</a>(); ++i)</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"> 219</span>&#160; <a class="codeRef" href="http://en.cppreference.com/w/cpp/memory/shared_ptr.html">std::shared_ptr&lt;NodeObject&gt;</a> <span class="keywordtype">object</span> =</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; db.<a class="code" href="classripple_1_1NodeStore_1_1Database.html#a530e5792a51146d9f81c92bad1fd932a">fetch</a>(batch[i]-&gt;getHash(), 0);</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>&#160; db.<a class="code" href="classripple_1_1NodeStore_1_1Database.html#a8546fd173de64bef71fd93049e7072f1">fetchNodeObject</a>(batch[i]-&gt;getHash(), 0);</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="keywordflow">if</span> (<span class="keywordtype">object</span> != <span class="keyword">nullptr</span>)</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>&#160; pCopy-&gt;<a class="codeRef" href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">push_back</a>(<span class="keywordtype">object</span>);</div>
@@ -306,6 +306,7 @@ $(function() {
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3">ripple::NodeObjectType</a></div><div class="ttdeci">NodeObjectType</div><div class="ttdoc">The types of node objects.</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00032">NodeObject.h:32</a></div></div>
<div class="ttc" id="astructripple_1_1NodeStore_1_1LessThan_html"><div class="ttname"><a href="structripple_1_1NodeStore_1_1LessThan.html">ripple::NodeStore::LessThan</a></div><div class="ttdoc">Binary function that satisfies the strict-weak-ordering requirement.</div><div class="ttdef"><b>Definition:</b> <a href="TestBase_8h_source.html#l00044">TestBase.h:44</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeObject_html_a841bb9bba547efbd89b240fa9c1cf146"><div class="ttname"><a href="classripple_1_1NodeObject.html#a841bb9bba547efbd89b240fa9c1cf146">ripple::NodeObject::createObject</a></div><div class="ttdeci">static std::shared_ptr&lt; NodeObject &gt; createObject(NodeObjectType type, Blob &amp;&amp;data, uint256 const &amp;hash)</div><div class="ttdoc">Create an object from fields.</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8cpp_source.html#l00037">NodeObject.cpp:37</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_a7da2336581ee3348aad97c0d885658d0"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#a7da2336581ee3348aad97c0d885658d0">ripple::NodeStore::Database::store</a></div><div class="ttdeci">virtual void store(NodeObjectType type, Blob &amp;&amp;data, uint256 const &amp;hash, std::uint32_t ledgerSeq)=0</div><div class="ttdoc">Store the object.</div></div>
<div class="ttc" id="anamespaceripple_html_a57d7e7b27df7e719fdf5569f96be60a3aad6a443f1fefba026adfb0c5a2d9a671"><div class="ttname"><a href="namespaceripple.html#a57d7e7b27df7e719fdf5569f96be60a3aad6a443f1fefba026adfb0c5a2d9a671">ripple::hotTRANSACTION_NODE</a></div><div class="ttdeci">@ hotTRANSACTION_NODE</div><div class="ttdef"><b>Definition:</b> <a href="NodeObject_8h_source.html#l00036">NodeObject.h:36</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Backend_html_a8862f8d96713c985c3169e57cbb260c2"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Backend.html#a8862f8d96713c985c3169e57cbb260c2">ripple::NodeStore::Backend::store</a></div><div class="ttdeci">virtual void store(std::shared_ptr&lt; NodeObject &gt; const &amp;object)=0</div><div class="ttdoc">Store a single object.</div></div>
<div class="ttc" id="aclear_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/clear.html">std::vector::clear</a></div><div class="ttdeci">T clear(T... args)</div></div>
@@ -314,14 +315,13 @@ $(function() {
<div class="ttc" id="apush_back_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/container/vector/push_back.html">std::vector::push_back</a></div><div class="ttdeci">T push_back(T... args)</div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350cafa8056068943efe12560207a8a503db8">ripple::NodeStore::notFound</a></div><div class="ttdeci">@ notFound</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2Types_8h_source.html#l00046">nodestore/Types.h:46</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&lt; 256 &gt;</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_af7e6b59a295358a7c583895200b57f56"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#af7e6b59a295358a7c583895200b57f56">ripple::NodeStore::Database::store</a></div><div class="ttdeci">virtual void store(NodeObjectType type, Blob &amp;&amp;data, uint256 const &amp;hash, std::uint32_t seq)=0</div><div class="ttdoc">Store the object.</div></div>
<div class="ttc" id="anamespaceripple_html_a71a6227fec78db0b06595d62c06b25dc"><div class="ttname"><a href="namespaceripple.html#a71a6227fec78db0b06595d62c06b25dc">ripple::rand_int</a></div><div class="ttdeci">std::enable_if_t&lt; std::is_integral&lt; Integral &gt;::value &amp;&amp;detail::is_engine&lt; Engine &gt;::value, Integral &gt; rand_int(Engine &amp;engine, Integral min, Integral max)</div><div class="ttdoc">Return a uniformly distributed random integer.</div><div class="ttdef"><b>Definition:</b> <a href="ripple_2basics_2random_8h_source.html#l00115">ripple/basics/random.h:115</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1TestBase_html_a50f8fd79e970626074538cf54ca8432f"><div class="ttname"><a href="classripple_1_1NodeStore_1_1TestBase.html#a50f8fd79e970626074538cf54ca8432f">ripple::NodeStore::TestBase::storeBatch</a></div><div class="ttdeci">static void storeBatch(Database &amp;db, Batch const &amp;batch)</div><div class="ttdef"><b>Definition:</b> <a href="TestBase_8h_source.html#l00194">TestBase.h:194</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1TestBase_html_acc7cab22ea1fb36cc8220cbeafc415b1"><div class="ttname"><a href="classripple_1_1NodeStore_1_1TestBase.html#acc7cab22ea1fb36cc8220cbeafc415b1">ripple::NodeStore::TestBase::fetchMissing</a></div><div class="ttdeci">void fetchMissing(Backend &amp;backend, Batch const &amp;batch)</div><div class="ttdef"><b>Definition:</b> <a href="TestBase_8h_source.html#l00179">TestBase.h:179</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_a530e5792a51146d9f81c92bad1fd932a"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#a530e5792a51146d9f81c92bad1fd932a">ripple::NodeStore::Database::fetch</a></div><div class="ttdeci">virtual std::shared_ptr&lt; NodeObject &gt; fetch(uint256 const &amp;hash, std::uint32_t seq)=0</div><div class="ttdoc">Fetch an object.</div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1TestBase_html_a514499e56722487774c7d496b4bc2d65"><div class="ttname"><a href="classripple_1_1NodeStore_1_1TestBase.html#a514499e56722487774c7d496b4bc2d65">ripple::NodeStore::TestBase::fetchCopyOfBatch</a></div><div class="ttdeci">void fetchCopyOfBatch(Backend &amp;backend, Batch *pCopy, Batch const &amp;batch)</div><div class="ttdef"><b>Definition:</b> <a href="TestBase_8h_source.html#l00155">TestBase.h:155</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_a8546fd173de64bef71fd93049e7072f1"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#a8546fd173de64bef71fd93049e7072f1">ripple::NodeStore::Database::fetchNodeObject</a></div><div class="ttdeci">std::shared_ptr&lt; NodeObject &gt; fetchNodeObject(uint256 const &amp;hash, std::uint32_t ledgerSeq, FetchType fetchType=FetchType::synchronous)</div><div class="ttdoc">Fetch a node object.</div><div class="ttdef"><b>Definition:</b> <a href="Database_8cpp_source.html#l00158">Database.cpp:158</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_1NodeStore_1_1Database_html_a51f2d9197ceae15155509404ce09d9a7"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#a51f2d9197ceae15155509404ce09d9a7">ripple::NodeStore::Database::earliestLedgerSeq</a></div><div class="ttdeci">std::uint32_t earliestLedgerSeq() const</div><div class="ttdef"><b>Definition:</b> <a href="Database_8h_source.html#l00236">Database.h:236</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1Database_html_a51f2d9197ceae15155509404ce09d9a7"><div class="ttname"><a href="classripple_1_1NodeStore_1_1Database.html#a51f2d9197ceae15155509404ce09d9a7">ripple::NodeStore::Database::earliestLedgerSeq</a></div><div class="ttdeci">std::uint32_t earliestLedgerSeq() const</div><div class="ttdef"><b>Definition:</b> <a href="Database_8h_source.html#l00240">Database.h:240</a></div></div>
<div class="ttc" id="anamespaceripple_1_1NodeStore_html_af127c2e4fc73b5d35647147ef45b350c"><div class="ttname"><a href="namespaceripple_1_1NodeStore.html#af127c2e4fc73b5d35647147ef45b350c">ripple::NodeStore::Status</a></div><div class="ttdeci">Status</div><div class="ttdoc">Return codes from Backend operations.</div><div class="ttdef"><b>Definition:</b> <a href="nodestore_2Types_8h_source.html#l00044">nodestore/Types.h:44</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1TestBase_html_a5b784fd34d6e2c520085d4402dc0e920"><div class="ttname"><a href="classripple_1_1NodeStore_1_1TestBase.html#a5b784fd34d6e2c520085d4402dc0e920">ripple::NodeStore::TestBase::numObjectsToTest</a></div><div class="ttdeci">static const int numObjectsToTest</div><div class="ttdef"><b>Definition:</b> <a href="TestBase_8h_source.html#l00075">TestBase.h:75</a></div></div>
<div class="ttc" id="aclassripple_1_1NodeStore_1_1TestBase_html_a08fa07a45987d889d373b9a10280700e"><div class="ttname"><a href="classripple_1_1NodeStore_1_1TestBase.html#a08fa07a45987d889d373b9a10280700e">ripple::NodeStore::TestBase::createPredictableBatch</a></div><div class="ttdeci">static Batch createPredictableBatch(int numObjects, std::uint64_t seed)</div><div class="ttdef"><b>Definition:</b> <a href="TestBase_8h_source.html#l00080">TestBase.h:80</a></div></div>