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
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
9ff65d0da4
Fix setting the no ripple flag when a trust line is created.
2013-10-23 17:24:34 -07:00
Vinnie Falco
a1b487c512
New Resource::Manager for controlling access to server resources
2013-10-18 16:04:31 -07:00
JoelKatz
eb9eb3aa53
Fix a crash in checkAccept
2013-10-11 16:13:16 -07:00
Vinnie Falco
a2aa938e10
Remove Journal from most Stoppable overrides
2013-10-04 14:33:57 -07:00
JoelKatz
37bcf7899e
Improve performance of some RPC ledger commands using visitors.
...
Adds SHAMap::visitLeaves and Ledger::visitStateItems
2013-10-04 11:50:22 -07:00
David Schwartz
951a8208b8
Don't let OrderBookDB oscillate between two ledgers.
2013-10-03 17:49:38 -07:00
David Schwartz
647c0e302a
Do the tryLocal/addPeers operations on an InboundLedger without the collection lock.
2013-10-03 16:36:33 -07:00
JoelKatz
14fb246b67
Handle mLedgersByIndex better.
2013-10-01 11:02:33 -07:00
JoelKatz
ea1a5a77c5
Remove an obsolete comment.
2013-10-01 11:02:33 -07:00
JoelKatz
9350f3085d
Better logging of ledger fetching.
2013-09-29 23:21:08 -07:00
JoelKatz
018a030d97
Clean this up and make it handle exceptions a bit more sanely.
2013-09-29 12:29:30 -07:00
JoelKatz
511978b1eb
Handle a partial ledger in fixMismatch
2013-09-29 07:08:00 -07:00
Vinnie Falco
8e58551475
Add Stoppable prepare and start interfaces
2013-09-28 15:30:01 -07:00
Vinnie Falco
6602aff53d
Update Validators for ServiceQueue
2013-09-28 15:09:10 -07:00
JoelKatz
92bd8c4782
Missing return.
2013-09-26 17:14:55 -07:00
JoelKatz
d10dba6b2e
Fix a case where the AcceptedLedger constructor throws
2013-09-26 15:19:26 -07:00
JoelKatz
985af0e222
Fix a case where tryAdvance can throw.
2013-09-26 14:34:11 -07:00
JoelKatz
013520c9d4
Avoid acquiring the LedgerMaster lock in some hot code paths.
2013-09-26 13:44:40 -07:00
Vinnie Falco
fcd689afbf
Update copyright notice and licenses
2013-09-25 17:27:06 -07:00
David Schwartz
69dc722a7a
Give mCompleteLedgers its own lock to avoid a deadlock.
2013-09-25 13:02:25 -07:00
Vinnie Falco
9b22c810ef
Validators Work
...
Conflicts:
src/ripple_app/ledger/LedgerMaster.cpp
2013-09-25 11:44:05 -07:00
Vinnie Falco
426636f48d
Add SimpleIdentifier traits for non-crypto identifiers
2013-09-25 11:44:04 -07:00
David Schwartz
cca5c86673
Update the OrderBookDB if there's a jump in the published ledger stream.
2013-09-25 11:11:40 -07:00
David Schwartz
ea11987609
Remove an obsolete comment.
2013-09-24 16:45:55 -07:00
Vinnie Falco
ec6c09d995
Rename to Stoppable
2013-09-22 11:51:44 -07:00
Vinnie Falco
89b1859929
Refactor Application shutdown using new Service, AsyncService interfaces
2013-09-19 17:18:43 -07:00
JoelKatz
007723236e
Change the way the OrderBookDB is updated to prevent hangs.
2013-09-16 18:27:25 -07:00
JoelKatz
74b2d1f3fa
Pass a bool to the describer telling it if the directory is new.
2013-09-16 18:12:21 -07:00
JoelKatz
fd59422a22
Fixes to tryAdvance logic.
2013-09-15 13:29:52 -07:00
Vinnie Falco
846b8e339c
Tidy and rename all Ripple source files
2013-09-13 16:58:24 -07:00
Vinnie Falco
45eccf2ccf
Move ./modules to ./src
2013-09-11 11:20:53 -07:00