mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
PeerFinder work and refactoring:
* Implement PeerFinder business logic. * Support fixed peers (including DNS support). * Add journal support to Peer and Peers. * Refactor PeerDoor support. * Tidy up Peers and eliminate connection functionality and timers. * Refactor Peer interface and add journal support. * Allow construction of incoming Peer using an existing socket. * Remove TESTNET support. * Allow connections from/to cluster peers without consuming slots * Misc. cleanups.
This commit is contained in:
committed by
Vinnie Falco
parent
a253b2ef4b
commit
e60b28980a
@@ -17,6 +17,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
namespace ripple {
|
||||
|
||||
static const char* s_nodeStoreDBInit [] =
|
||||
{
|
||||
"PRAGMA synchronous=NORMAL;",
|
||||
@@ -247,3 +249,5 @@ std::unique_ptr <NodeStore::Factory> make_SqliteFactory ()
|
||||
{
|
||||
return std::make_unique <SqliteFactory> ();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -20,9 +20,13 @@
|
||||
#ifndef RIPPLE_APP_SQLITEFACTORY_H_INCLUDED
|
||||
#define RIPPLE_APP_SQLITEFACTORY_H_INCLUDED
|
||||
|
||||
namespace ripple {
|
||||
|
||||
/** Factory to produce SQLite backends for the NodeStore.
|
||||
@see Database
|
||||
*/
|
||||
std::unique_ptr <NodeStore::Factory> make_SqliteFactory ();
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user