Vinnie Falco
2957b688fd
PeerFinder and Peers fixes:
...
- Fix bootcache incorrect failure on socket cancel
- Fix peer connect race on stop
- Simplify some loops
- Require boost 1.55 via static_assert
2014-02-28 12:03:33 -08:00
Vinnie Falco
995e64a205
PeerFinder fixes:
...
* Fix split horizon using recent address cache
* Change message tuning parameters to reduce dead messages
* Improved peer handout algorithm for addresses
* Improved handout algorithm for redirects
* Improved selection algorithm for autoconnect
* Faster autoconnection strategy
* Consolidate deadline timers
* Send empty endpoints message as a socket ping
* Fix hop count adjustments for live cache filtering
* Remove broken Peer::isConnected function
* Optimized Livecache for handouts
* Optimized Bootcache for handouts
* Remove uptime metric from Bootcache entries
* Add histogram to Livecache print output
2014-02-24 19:25:01 -08:00
Vinnie Falco
a336cc26f9
Remove deprecated IPAddress
2014-02-22 21:33:00 -08:00
Vinnie Falco
3a1a5d12de
Refactor PeerFinder:
...
* Revise documentation in README.md
* Inject abstract_clock in Manager
* Introduce the Slot object as a replacement for Peer
* New bullet-proof method for slot accounting
* Replace Peer with Slot for tracking connections
* Prevent duplicate outbound connection attempts
* Improved connection and bootstrap business logic
* Refactor PeerImp, PeersImp private interfaces
* Give PeersImp access to the PeerImp interface
* Handle errors retrieving endpoints from asio sockets
* Use weak_ptr to manage PeerImp lifetime
* Better handling of socket closure in PeerImp
* Improve the orderly shutdown logic of PeersImp
2014-02-13 14:19:27 -08:00
Nik Bougalis
e60b28980a
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.
2014-02-05 15:56:04 -08:00
Vinnie Falco
9e519af887
Add missing README and TODO for all new modules
2013-11-15 11:27:26 -08:00
Vinnie Falco
d4d6acdf68
Add MSVC Output window Journal config setting
...
Conflicts:
src/ripple/peerfinder/impl/Manager.cpp
src/ripple/validators/impl/Manager.cpp
2013-11-10 15:06:05 -08:00
Vinnie Falco
63aa7284c4
Disable peerfinder hooks
2013-11-07 09:59:28 -08:00
Vinnie Falco
6d06cb29df
Block until thread exits in manager dtors
2013-11-01 15:48:37 -07:00
Vinnie Falco
a39fa8ae5f
New SiteFiles for fetching and managing ripple.txt files
2013-10-31 08:10:06 -07:00
Nik Bougalis
42b841735e
PeerFinder work
2013-10-29 20:52:57 -07:00
Vinnie Falco
84556ba76a
Add Bootstrap Strategy exposition
2013-10-29 20:52:56 -07:00
Nik Bougalis
6c17002e8a
Peerfinder work
2013-10-22 10:43:17 -07:00
Vinnie Falco
5dda088335
Peerfinder work
2013-10-22 10:43:16 -07:00
Vinnie Falco
2427cce2c8
Rename to IPAddress and remove unused files
2013-10-22 10:43:16 -07:00
Nik Bougalis
1c41dae51c
PeerFinder work
2013-10-22 10:43:15 -07:00
Vinnie Falco
96328a8632
Add FixedPeers connection policy to peerfinder
2013-10-22 10:43:14 -07:00
Vinnie Falco
3b2ead3476
Turn off console output for msvc logic and managers
2013-10-18 16:29:13 -07:00
Vinnie Falco
fb6ecebbd1
Add PropertyStream for server state introspection
2013-10-07 14:00:03 -07:00
Vinnie Falco
256c12f150
Add ScopedWrapperContext
2013-10-06 19:46:42 -07:00
Vinnie Falco
8dfe53ff7a
More PropertyStream output for PeerFinder
2013-10-06 17:30:45 -07:00
Vinnie Falco
1ae3328642
Add PropertyStream
2013-10-06 17:30:44 -07:00
Vinnie Falco
72681fa7fb
PeerFinder work
2013-10-05 11:59:17 -07:00
Vinnie Falco
82d8d9a092
PeerFinder work, Source fetch, show port in log
2013-10-04 23:22:56 -07:00
Vinnie Falco
dc8420d32d
LegacyEndpointCache work
2013-10-04 23:18:27 -07:00
Vinnie Falco
bb29c8ba85
Add PeerFinder::Checker for testing endpoints
2013-10-04 23:18:27 -07:00
Vinnie Falco
a2aa938e10
Remove Journal from most Stoppable overrides
2013-10-04 14:33:57 -07:00
Vinnie Falco
06189b2584
Disable MSVC OutputWindow for PeerFinder
2013-10-03 19:03:10 -07:00
Vinnie Falco
4fe63f9f0d
PeerFinder work
2013-10-01 14:29:32 -07:00