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

@@ -60,8 +60,8 @@ public:
{
Gossip::Item item;
item.balance = 100 + random().nextInt (500);
item.address = IPAddress (IPAddress::V4 (
207, 127, 82, v + i));
item.address = IPAddress (
IP::AddressV4 (207, 127, 82, v + i));
gossip.items.push_back (item);
}
}
@@ -170,7 +170,8 @@ public:
Gossip g;
Gossip::Item item;
item.balance = 100;
item.address = IPAddress (IPAddress::V4 (207, 127, 82, 1));
item.address = IPAddress (
IP::AddressV4 (207, 127, 82, 1));
g.items.push_back (item);
logic.importConsumers ("g", g);