This commit is contained in:
manojsdoshi
2022-05-11 23:57:28 +00:00
parent c1b77a4e4e
commit 9aeea1cf29
1248 changed files with 88723 additions and 83819 deletions

View File

@@ -91,7 +91,7 @@ $(function() {
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>&#160;<span class="preprocessor">#ifndef RIPPLE_PEERFINDER_STORESQDB_H_INCLUDED</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>&#160;<span class="preprocessor">#define RIPPLE_PEERFINDER_STORESQDB_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/rdb/RelationalDBInterface_global.h&gt;</span></div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>&#160;<span class="preprocessor">#include &lt;ripple/app/rdb/PeerFinder.h&gt;</span></div>
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>&#160;<span class="preprocessor">#include &lt;ripple/basics/contract.h&gt;</span></div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>&#160;<span class="preprocessor">#include &lt;ripple/core/SociDB.h&gt;</span></div>
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>&#160;<span class="preprocessor">#include &lt;ripple/peerfinder/impl/Store.h&gt;</span></div>
@@ -186,17 +186,17 @@ $(function() {
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html_ae936c5d4a243f4fc26b64f18401f4233"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html#ae936c5d4a243f4fc26b64f18401f4233">ripple::PeerFinder::StoreSqdb::StoreSqdb</a></div><div class="ttdeci">StoreSqdb(beast::Journal journal=beast::Journal{beast::Journal::getNullSink()})</div><div class="ttdef"><b>Definition:</b> <a href="StoreSqdb_8h_source.html#l00045">StoreSqdb.h:45</a></div></div>
<div class="ttc" id="abasic_string_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a></div><div class="ttdoc">STL class.</div></div>
<div class="ttc" id="anamespaceripple_html_ad812b2419c992eb6e58362f30ac3d0eb"><div class="ttname"><a href="namespaceripple.html#ad812b2419c992eb6e58362f30ac3d0eb">ripple::initPeerFinderDB</a></div><div class="ttdeci">void initPeerFinderDB(soci::session &amp;session, BasicConfig const &amp;config, beast::Journal j)</div><div class="ttdoc">initPeerFinderDB Opens session with peer finder database.</div><div class="ttdef"><b>Definition:</b> <a href="RelationalDBInterface__global_8cpp_source.html#l00590">RelationalDBInterface_global.cpp:590</a></div></div>
<div class="ttc" id="anamespaceripple_html_ad812b2419c992eb6e58362f30ac3d0eb"><div class="ttname"><a href="namespaceripple.html#ad812b2419c992eb6e58362f30ac3d0eb">ripple::initPeerFinderDB</a></div><div class="ttdeci">void initPeerFinderDB(soci::session &amp;session, BasicConfig const &amp;config, beast::Journal j)</div><div class="ttdoc">initPeerFinderDB Opens a session with the peer finder database.</div><div class="ttdef"><b>Definition:</b> <a href="PeerFinder_8cpp_source.html#l00025">PeerFinder.cpp:25</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html">ripple::PeerFinder::StoreSqdb</a></div><div class="ttdoc">Database persistence for PeerFinder using SQLite.</div><div class="ttdef"><b>Definition:</b> <a href="StoreSqdb_8h_source.html#l00033">StoreSqdb.h:33</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html_a42587a774f354f4dc6717af8ebfe6ca0"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html#a42587a774f354f4dc6717af8ebfe6ca0">ripple::PeerFinder::StoreSqdb::m_journal</a></div><div class="ttdeci">beast::Journal m_journal</div><div class="ttdef"><b>Definition:</b> <a href="StoreSqdb_8h_source.html#l00036">StoreSqdb.h:36</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_1PeerFinder_1_1StoreSqdb_html_ad58a915e32d918c3febea3751117de52"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html#ad58a915e32d918c3febea3751117de52">ripple::PeerFinder::StoreSqdb::m_sqlDb</a></div><div class="ttdeci">soci::session m_sqlDb</div><div class="ttdef"><b>Definition:</b> <a href="StoreSqdb_8h_source.html#l00037">StoreSqdb.h:37</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5408e52c33471da0e8fcedb32b228d59"><div class="ttname"><a href="namespaceripple.html#a5408e52c33471da0e8fcedb32b228d59">ripple::updatePeerFinderDB</a></div><div class="ttdeci">void updatePeerFinderDB(soci::session &amp;session, int currentSchemaVersion, beast::Journal j)</div><div class="ttdoc">updatePeerFinderDB Update peer finder DB to new version.</div><div class="ttdef"><b>Definition:</b> <a href="RelationalDBInterface__global_8cpp_source.html#l00626">RelationalDBInterface_global.cpp:626</a></div></div>
<div class="ttc" id="anamespaceripple_html_a5408e52c33471da0e8fcedb32b228d59"><div class="ttname"><a href="namespaceripple.html#a5408e52c33471da0e8fcedb32b228d59">ripple::updatePeerFinderDB</a></div><div class="ttdeci">void updatePeerFinderDB(soci::session &amp;session, int currentSchemaVersion, beast::Journal j)</div><div class="ttdoc">updatePeerFinderDB Updates the peer finder database to a new version.</div><div class="ttdef"><b>Definition:</b> <a href="PeerFinder_8cpp_source.html#l00061">PeerFinder.cpp:61</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="aclassripple_1_1PeerFinder_1_1Store_html"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1Store.html">ripple::PeerFinder::Store</a></div><div class="ttdoc">Abstract persistence for PeerFinder data.</div><div class="ttdef"><b>Definition:</b> <a href="Store_8h_source.html#l00027">Store.h:27</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html_a85dbd34db8756eaa9ceca713818bb4c5"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html#a85dbd34db8756eaa9ceca713818bb4c5">ripple::PeerFinder::StoreSqdb::save</a></div><div class="ttdeci">void save(std::vector&lt; Entry &gt; const &amp;v) override</div><div class="ttdef"><b>Definition:</b> <a href="StoreSqdb_8h_source.html#l00091">StoreSqdb.h:91</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html_a930d70ff72f71414fcd5b560610cefb6"><div class="ttname"><a href="classbeast_1_1Journal.html#a930d70ff72f71414fcd5b560610cefb6">beast::Journal::getNullSink</a></div><div class="ttdeci">static Sink &amp; getNullSink()</div><div class="ttdoc">Returns a Sink which does nothing.</div><div class="ttdef"><b>Definition:</b> <a href="beast__Journal_8cpp_source.html#l00072">beast_Journal.cpp:72</a></div></div>
<div class="ttc" id="anamespaceripple_html_a44920c5b80b797216ec9ee2aec9cbd81"><div class="ttname"><a href="namespaceripple.html#a44920c5b80b797216ec9ee2aec9cbd81">ripple::readPeerFinderDB</a></div><div class="ttdeci">void readPeerFinderDB(soci::session &amp;session, std::function&lt; void(std::string const &amp;, int)&gt; const &amp;func)</div><div class="ttdoc">readPeerFinderDB Read all entries from peer finder DB and call given callback for each entry.</div><div class="ttdef"><b>Definition:</b> <a href="RelationalDBInterface__global_8cpp_source.html#l00782">RelationalDBInterface_global.cpp:782</a></div></div>
<div class="ttc" id="anamespaceripple_html_a44920c5b80b797216ec9ee2aec9cbd81"><div class="ttname"><a href="namespaceripple.html#a44920c5b80b797216ec9ee2aec9cbd81">ripple::readPeerFinderDB</a></div><div class="ttdeci">void readPeerFinderDB(soci::session &amp;session, std::function&lt; void(std::string const &amp;, int)&gt; const &amp;func)</div><div class="ttdoc">readPeerFinderDB Reads all entries from the peer finder database and invokes the given callback for e...</div><div class="ttdef"><b>Definition:</b> <a href="PeerFinder_8cpp_source.html#l00217">PeerFinder.cpp:217</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html_ac86d50cda36eec7dcca75a1369605dbc"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html#ac86d50cda36eec7dcca75a1369605dbc">ripple::PeerFinder::StoreSqdb::~StoreSqdb</a></div><div class="ttdeci">~StoreSqdb()</div><div class="ttdef"><b>Definition:</b> <a href="StoreSqdb_8h_source.html#l00051">StoreSqdb.h:51</a></div></div>
<div class="ttc" id="aclassbeast_1_1Journal_html_a49b0713e65bb8e2c51b76fbf16252afe"><div class="ttname"><a href="classbeast_1_1Journal.html#a49b0713e65bb8e2c51b76fbf16252afe">beast::Journal::error</a></div><div class="ttdeci">Stream error() const</div><div class="ttdef"><b>Definition:</b> <a href="Journal_8h_source.html#l00333">Journal.h:333</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>
@@ -204,7 +204,7 @@ $(function() {
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html_a8ef9e1792c3ede7583beaf680a86a757"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html#a8ef9e1792c3ede7583beaf680a86a757">ripple::PeerFinder::StoreSqdb::open</a></div><div class="ttdeci">void open(BasicConfig const &amp;config)</div><div class="ttdef"><b>Definition:</b> <a href="StoreSqdb_8h_source.html#l00056">StoreSqdb.h:56</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="aclassbeast_1_1IP_1_1Endpoint_html_ab2c227db84255620219ebab8ead53636"><div class="ttname"><a href="classbeast_1_1IP_1_1Endpoint.html#ab2c227db84255620219ebab8ead53636">beast::IP::Endpoint::from_string</a></div><div class="ttdeci">static Endpoint from_string(std::string const &amp;s)</div><div class="ttdef"><b>Definition:</b> <a href="IPEndpoint_8cpp_source.html#l00049">IPEndpoint.cpp:49</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae16ababc2a247659dd007cd7e467ba19"><div class="ttname"><a href="namespaceripple.html#ae16ababc2a247659dd007cd7e467ba19">ripple::savePeerFinderDB</a></div><div class="ttdeci">void savePeerFinderDB(soci::session &amp;session, std::vector&lt; PeerFinder::Store::Entry &gt; const &amp;v)</div><div class="ttdoc">savePeerFinderDB Save new entry to peer finder DB.</div><div class="ttdef"><b>Definition:</b> <a href="RelationalDBInterface__global_8cpp_source.html#l00804">RelationalDBInterface_global.cpp:804</a></div></div>
<div class="ttc" id="anamespaceripple_html_ae16ababc2a247659dd007cd7e467ba19"><div class="ttname"><a href="namespaceripple.html#ae16ababc2a247659dd007cd7e467ba19">ripple::savePeerFinderDB</a></div><div class="ttdeci">void savePeerFinderDB(soci::session &amp;session, std::vector&lt; PeerFinder::Store::Entry &gt; const &amp;v)</div><div class="ttdoc">savePeerFinderDB Saves a new entry to the peer finder database.</div><div class="ttdef"><b>Definition:</b> <a href="PeerFinder_8cpp_source.html#l00239">PeerFinder.cpp:239</a></div></div>
<div class="ttc" id="aclassripple_1_1PeerFinder_1_1StoreSqdb_html_a4cf4aeaf94e6145edca6d153b23cd2a1a9b7291675bb8c7cc7cca41dcc2c05ab5"><div class="ttname"><a href="classripple_1_1PeerFinder_1_1StoreSqdb.html#a4cf4aeaf94e6145edca6d153b23cd2a1a9b7291675bb8c7cc7cca41dcc2c05ab5">ripple::PeerFinder::StoreSqdb::currentSchemaVersion</a></div><div class="ttdeci">@ currentSchemaVersion</div><div class="ttdef"><b>Definition:</b> <a href="StoreSqdb_8h_source.html#l00042">StoreSqdb.h:42</a></div></div>
<div class="ttc" id="asize_t_html"><div class="ttname"><a href="http://en.cppreference.com/w/cpp/types/size_t.html">std::size_t</a></div></div>
<div class="ttc" id="aclassbeast_1_1IP_1_1Endpoint_html"><div class="ttname"><a href="classbeast_1_1IP_1_1Endpoint.html">beast::IP::Endpoint</a></div><div class="ttdoc">A version-independent IP address and port combination.</div><div class="ttdef"><b>Definition:</b> <a href="IPEndpoint_8h_source.html#l00038">IPEndpoint.h:38</a></div></div>