JoelKatz
29aa462bfd
Add more comments to the consensus code.
2013-11-14 22:41:34 -08:00
JoelKatz
7a91872ee5
Fix broken indentation around BOOST_FOREACH
2013-11-14 22:35:09 -08:00
JoelKatz
68307d1012
Functions like remote_endpoint().address() can throw
2013-11-14 11:20:35 -08:00
JoelKatz
48cb707bb6
Handle a missing ledger node discovered during pathfinding.
2013-11-14 11:20:16 -08:00
JoelKatz
9322233b37
Allow the SHAMap visitLeaves functions to sanely handle a missing map node.
2013-11-13 11:04:17 -08:00
JoelKatz
1daf1b9932
Use MultiSocket for websocket
2013-11-12 21:09:01 -08:00
JoelKatz
a3024352ba
Pathfinding improvements.
2013-11-12 21:08:52 -08:00
David Schwartz
58f07a573f
New ResourceManager for managing server load.
...
* Track abusive endpoints
* Gossip across cluster.
* Use resource manager's gossip support to share load reporting across a cluster
* Swtich from legacy fees to new Resource::Charge fees.
* Connect RPC to the new resource manager.
* Set load levels where needed in RPC/websocket commands.
* Disconnect abusive peer endpoints.
* Don't start conversations with abusive peer endpoints.
* Move Resource::Consumer to InfoSub and remove LoadSource
* Remove port from inbound Consumer keys
* Add details in getJson
* Fix doAccountCurrencies for the new resource manager.
2013-11-12 21:08:52 -08:00
Vinnie Falco
a05f33f6a7
Add annotation and clean up whitespace
2013-11-12 19:30:07 -08:00
JoelKatz
57e77a5bd2
Use Ledger::visitStateItems to implement OrderBookDB::update
2013-11-11 21:31:18 -08:00
JoelKatz
74c65cfdc5
Cleanup path request logging.
2013-11-11 19:29:56 -08:00
JoelKatz
399760fda9
Assign each path finding request an ID and track its lifecycle.
2013-11-11 18:32:45 -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
JoelKatz
5f4a1917a6
Change how cluster load is computed from average-ish to median-ish.
2013-11-08 11:05:43 -08:00
JoelKatz
cf71680aee
Don't return too many paths.
2013-11-08 11:05:05 -08:00
JoelKatz
f04b9131cc
terNO_LINE should never be the final result of a payment transaction that can claim a fee.
2013-11-08 10:32:15 -08:00
JoelKatz
46861fac48
Don't allow a payment to take anything from an expired offer.
2013-11-08 10:17:12 -08:00
JoelKatz
4620b667e7
Fix a race condition if PathRequest::doCreate races with the path being processed.
2013-11-07 22:30:11 -08:00
Vinnie Falco
63aa7284c4
Disable peerfinder hooks
2013-11-07 09:59:28 -08:00
Vinnie Falco
066d92ecfa
Improve MultiSocket::ssl_handle
2013-11-07 09:35:04 -08:00
Vinnie Falco
c5ccabec38
Fix to use IPS from config
2013-11-06 06:19:06 -08:00
David Schwartz
bf1843be9e
Add "account_currencies" command.
2013-11-05 16:07:17 -08:00
David Schwartz
d50439cc4d
doAccountLines cleanup.
2013-11-05 15:41:15 -08:00
David Schwartz
c211094d3e
Allow two trust lines to be created without reserve check.
2013-11-05 13:29:07 -08:00
Stefan Thomas
09acc26c50
Fix marker being set for last result.
2013-11-03 22:39:55 -08:00
JoelKatz
0ae7bcff52
Fix the path filtering loop exit condition.
2013-11-03 17:20:10 -08:00
JoelKatz
2210dbac94
Don't abort the path filtering loop too early.
2013-11-03 16:37:35 -08:00
JoelKatz
6b2f654a30
Improve path filtering:
...
1) Ignore paths with very low liquidity
2) Allow an extra filling path to be added if needed
2013-11-03 02:20:18 -08:00
Vinnie Falco
b08c7d15cd
Stoppable, make stop() require call to start()
2013-11-01 13:31:38 -07:00
Vinnie Falco
940d620a96
Fix SiteFiles thread name
2013-11-01 10:34:35 -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
JoelKatz
4ddadb8792
Correctly compute amount left on sell offer when a crossing offer pays us more than we asked for.
2013-10-28 16:48:47 -07:00
JoelKatz
8e65d6288d
Fix limit calculation.
2013-10-28 07:24:01 -07:00
JoelKatz
3108d58791
Fix typo.
2013-10-24 16:57:27 -07:00
JoelKatz
9ff65d0da4
Fix setting the no ripple flag when a trust line is created.
2013-10-23 17:24:34 -07:00
JoelKatz
c11abb42d1
Fix a case where 'sign' won't work in standalone mode.
2013-10-23 17:24:16 -07:00
Vinnie Falco
23f44f12bd
Add IPAddressConversion and asio module
2013-10-22 11:45:30 -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
JoelKatz
ed905d3c3d
Remove redundant code.
2013-10-21 15:06:05 -07:00
JoelKatz
67516766a6
Operations on the raw socket can throw exceptions if it's no longer connected.
2013-10-19 14:14:47 -07:00
Vinnie Falco
a1b487c512
New Resource::Manager for controlling access to server resources
2013-10-18 16:04:31 -07:00
JoelKatz
5a9416fbcf
Remove an assert that is not needed.
2013-10-16 13:47:54 -07:00
Vinnie Falco
582b5bb3ac
Add --version command line option
2013-10-16 13:29:43 -07:00
JoelKatz
eb9eb3aa53
Fix a crash in checkAccept
2013-10-11 16:13:16 -07:00
JoelKatz
20e7cac743
Reduce some logging.
2013-10-08 15:05:41 -07:00