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:
Nik Bougalis
2014-01-30 11:50:46 -08:00
committed by Vinnie Falco
parent a253b2ef4b
commit e60b28980a
105 changed files with 9429 additions and 6152 deletions

View File

@@ -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> ();
}
}

View File

@@ -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