Commit Graph

74 Commits

Author SHA1 Message Date
JoelKatz
e1434dcda6 Sorry I broke the build. 2013-08-14 18:10:22 -07:00
JoelKatz
3e908c92b1 Fix a bug that hides order book liquidity and causes crashes. 2013-08-14 15:45:50 -07:00
JoelKatz
be1ca396c5 Handle sequence numbers better in peer messages. 2013-08-14 15:45:49 -07:00
JoelKatz
5a81b0a4a8 Fetch a bit better. 2013-08-14 15:45:49 -07:00
JoelKatz
c918ab25b2 Can't call 'done' from the constructor of an InboundLedger 2013-08-14 15:45:49 -07:00
JoelKatz
ba86553c1d Don't hold the LedgerMaster lock while fetching ledgers to publish. 2013-08-14 15:45:49 -07:00
JoelKatz
fcd7522922 Put ledgerAdvance jobs in their own class. 2013-08-14 15:45:49 -07:00
JoelKatz
e94f895754 Rewrite InboundLedgers to mLedgers is unordered. 2013-08-14 15:45:49 -07:00
JoelKatz
28b600cc21 Cleanups and extra asserts. 2013-08-14 15:45:49 -07:00
JoelKatz
02c25b049d Extra debug 2013-08-14 15:45:49 -07:00
JoelKatz
20f898c37e Separately track the next sequence to publish in findNewLedgersToPublish 2013-08-14 15:45:49 -07:00
JoelKatz
4d3d36ee47 Make sure we call checkAccept when we finish acquiring a ledger, in case it's fully-validated. 2013-08-14 15:45:49 -07:00
JoelKatz
ae8969529d Avoid deadlock. 2013-08-14 15:45:49 -07:00
JoelKatz
2a872563d3 Simplify fetch pack logic 2013-08-14 15:45:48 -07:00
JoelKatz
aef92835f7 Cleanups. 2013-08-14 15:45:48 -07:00
JoelKatz
4d017ea5eb Cleanups. 2013-08-14 15:45:48 -07:00
JoelKatz
1ddf8f3969 Cleanups. 2013-08-14 15:45:48 -07:00
JoelKatz
f4c6fa7873 Don't remove shot down ledgers from the range we propagate to peers. 2013-08-14 15:45:48 -07:00
JoelKatz
69477c96ca cleanups. 2013-08-14 15:45:48 -07:00
JoelKatz
699b46088a Cleanups. 2013-08-14 15:45:48 -07:00
Vinnie Falco
4a949a9cbd Refactor JobQueue to fix a bad state and clean up job limits 2013-08-14 15:45:48 -07:00
JoelKatz
72315bffe3 Cleanups. 2013-08-14 15:45:48 -07:00
JoelKatz
42bddbfcd4 More bugfixes. 2013-08-14 15:45:48 -07:00
JoelKatz
e4f9d972fa Fix a broken log message. 2013-08-14 15:45:48 -07:00
JoelKatz
fbfb150cff Some cleanups. 2013-08-14 15:45:48 -07:00
JoelKatz
8b06891663 A few more fixes. 2013-08-14 15:45:48 -07:00
JoelKatz
9a1e7e69c2 Fixes. 2013-08-14 15:45:48 -07:00
JoelKatz
1e64732acb Cleanups. 2013-08-14 15:45:48 -07:00
JoelKatz
815a1bce24 Bugfixes. 2013-08-14 15:45:47 -07:00
JoelKatz
1a69b06670 bugfixes. 2013-08-14 15:45:47 -07:00
JoelKatz
28b239243b Fixes. 2013-08-14 15:45:47 -07:00
JoelKatz
f9eb6b5ee1 Some bugfixes. 2013-08-14 15:45:47 -07:00
JoelKatz
a67f4fe9ba "Advance" thread to publish ledgers and fetch history. 2013-08-14 15:45:47 -07:00
JoelKatz
e8cfd1f586 Cleanup. 2013-08-14 15:45:47 -07:00
JoelKatz
93b8e561ae Begin replacing old logic with new. 2013-08-14 15:45:47 -07:00
JoelKatz
d469e4fc6e Helper function LedgerMaster::getLedgerHash to walk the chain. 2013-08-14 15:45:47 -07:00
JoelKatz
864f795b49 When we fetch a saved ledger, set it validated if it's known valid. 2013-08-14 15:45:47 -07:00
Vinnie Falco
b8bf735a66 Make Uncopyable derivations public 2013-08-07 15:16:38 -07:00
Vinnie Falco
c12d92f8ad Move PeerSet members to the right file 2013-08-07 15:16:37 -07:00
David Schwartz
2ac774498c Don't return from getFullLedger too early. 2013-08-06 16:20:48 -07:00
David Schwartz
f5b14b4ef5 Keep track of ledgers being written. Don't report them as complete to clients. 2013-07-29 11:59:39 -07:00
JoelKatz
7581b4d24a Track whether a ledger is fully-validated. 2013-07-29 11:50:56 -07:00
Vinnie Falco
ead7b07fd5 Replace boost::lexical_cast with beast::lexicalCast 2013-07-28 21:32:00 -07:00
Vinnie Falco
9458aa2fb0 Update unit tests for beast, add JUnit XML output option 2013-07-28 02:44:28 -07:00
Vinnie Falco
bb85d67f37 Revert "Don't save unvalidated transactions to any transaction database."
This reverts commit 28a7e58fd4.
2013-07-25 15:32:36 -07:00
David Schwartz
28a7e58fd4 Don't save unvalidated transactions to any transaction database. 2013-07-25 13:34:20 -07:00
David Schwartz
1ba5a77795 Remove unneeded entryModify. Don't set previous to zero. 2013-07-25 13:26:46 -07:00
David Schwartz
492e61649b Bugfix. 2013-07-24 21:19:15 -07:00
David Schwartz
0a9545c956 cleanup. 2013-07-24 19:51:04 -07:00
David Schwartz
5600a0e617 DirAdd bug fixes. 2013-07-24 19:44:05 -07:00