Commit Graph

20 Commits

Author SHA1 Message Date
JoelKatz
ed64c8bb29 Add LedgerCleaner:
* Manually invoked to clean ledgers
* Get status with: 'print app.ledgercleaner.*'
* Invoke or control with 'ledger_cleaner' command
2013-11-26 21:50:35 -08:00
David Schwartz
02b5572ccc Changes to support the ledger cleaner
* Rework ledger save return values to indicate errors to callers
* Add an extra function to support the ledger cleaner.
2013-11-20 12:22:45 -08:00
Vinnie Falco
4ad84a339f Make LedgerMaster abstract 2013-11-18 15:04:17 -08:00
JoelKatz
48cb707bb6 Handle a missing ledger node discovered during pathfinding. 2013-11-14 11:20:16 -08:00
JoelKatz
a3024352ba Pathfinding improvements. 2013-11-12 21:08:52 -08:00
JoelKatz
eb9eb3aa53 Fix a crash in checkAccept 2013-10-11 16:13:16 -07:00
JoelKatz
14fb246b67 Handle mLedgersByIndex better. 2013-10-01 11:02:33 -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
6602aff53d Update Validators for ServiceQueue 2013-09-28 15:09:10 -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
David Schwartz
cca5c86673 Update the OrderBookDB if there's a jump in the published ledger stream. 2013-09-25 11:11:40 -07:00
Vinnie Falco
89b1859929 Refactor Application shutdown using new Service, AsyncService interfaces 2013-09-19 17:18:43 -07:00
JoelKatz
fd59422a22 Fixes to tryAdvance logic. 2013-09-15 13:29:52 -07:00
Vinnie Falco
45eccf2ccf Move ./modules to ./src 2013-09-11 11:20:53 -07:00