Nik Bougalis
2e8df429df
Expose PeerImp::start instead of requiring the use of accept/connect
2014-03-11 19:02:18 -07:00
JoelKatz
2b5142ee4d
Make transaction forwarding less promiscuous
2014-03-11 19:02:17 -07:00
JoelKatz
cf63b5c859
Fix logging transactions that throw
2014-03-11 19:02:16 -07:00
David Schwartz
2505a908c5
Logging reduction in PeerImp
2014-03-11 19:02:15 -07:00
Nik Bougalis
9c465487ae
Cache the result of remote_endpoint at connect/accept time and use it
2014-03-11 19:02:14 -07:00
Donovan Hide
e8002a7a62
Fix ledger log warning, closes #298
2014-03-11 19:02:13 -07:00
Nik Bougalis
8b1df06a94
PeerFinder fixes:
...
* Fix local advertisement (was missing)
* Fix Livecache histogram display
* If no [ips] are specified, use r.ripple.com
* Use different backing stores for PeerFinder and Validator databases
2014-03-04 15:43:32 -08:00
David Schwartz
ae649ec917
Signature canonicalization and transaction mutation fixes
2014-03-03 18:51:55 -08:00
Nik Bougalis
73485d5a23
Resolve hostnames found in the [ips] config section
2014-03-01 11:53:57 -08:00
Nik Bougalis
28c7827f14
Calculate program file directories:
...
* Determine location of database files in Config
* Inject database directory or file path in PeerFinder and Validators
* PeerFinder and Validators will share the same sqlite file
2014-03-01 11:53:57 -08:00
Howard Hinnant
cd30e552a7
Fix clang warnings
2014-02-28 12:15:12 -08:00
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
bf085f0ef3
New utility classes, containers, C++14 compatibility, and fixes:
...
* Add std::equal_to <void> (since C++14)
* Add heterogeneous std::equal (since C++14)
* Add maybe_const
* Add empty_base_optimization
* Add is_constructible specialization for pair, tuple
* Add aged associative containers:
- aged_set, aged_map, aged_multiset, aged_multimap
- aged_unordered_set, aged_unordered_map,
- aged_unordered_multiset, aged_unordered_multimap
* Fix auto keyword pass by reference
* Fix basic_seconds_clock warning and project file
2014-02-24 19:25:01 -08:00
Nik Bougalis
870fb4f291
Fix missing break on mtCLUSTER handler
2014-02-24 18:28:42 -08:00
JoelKatz
38ba7e695a
Don't hold the master lock
2014-02-21 14:46:57 -08:00
JoelKatz
996326a00e
Configurable fetch depth.
2014-02-17 17:26:58 -08:00
JoelKatz
c2a16ddbab
Cannot call gotTXData without master lock ... yet!
2014-02-14 14:26:03 -08:00
Vinnie Falco
5bb194cf89
PeerFinder fixes:
...
* Add Livecache property stream support
* Tidy up log output
* Move peer code to ripple_overlay module
* Remove or hide some Peer interfaces
* Fix asserts by removing isConnected which was not thread safe
2014-02-14 14:00:51 -08:00