Commit Graph

6929 Commits

Author SHA1 Message Date
JoelKatz
ab0a79cb04 Rogue semicolon 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
df4bb9f1f4 Change how we decide whether to request a fetch pack. 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
98d88c8ded Spelling error. 2013-08-14 15:45:49 -07:00
JoelKatz
2a872563d3 Simplify fetch pack logic 2013-08-14 15:45:48 -07:00
Vinnie Falco
824b1dab20 Fix signal logic in JobQueue 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
c5f5c7654a Whitespace 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
54daa40b81 Temporary ugly fix for JobQueue brokenness.
There's nothing to dispatch a job if it later becomes possible.
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
JoelKatz
bd2e344343 Start the aux thread. 2013-08-13 18:36:19 -07:00
Vinnie Falco
94aca14251 Call _exit from Process::terminate() 2013-08-12 13:29:24 -07:00
Vinnie Falco
7120d3a8bf Pass thread name to Workers 2013-08-12 11:03:27 -07:00
Vinnie Falco
13f68c668e Add thread naming to Workers 2013-08-12 11:00:55 -07:00
Vinnie Falco
6fbc45a45d Add numberOfCurrentlyRunningTasks to Workers 2013-08-12 11:00:47 -07:00
Vinnie Falco
2fa132f9cc Add programming by contract support 2013-08-12 11:00:37 -07:00
Vinnie Falco
bbcb5a7ae5 Use std::ostream for double to String conversions 2013-08-10 03:12:53 -07:00
Vinnie Falco
73349384c2 Revert "Use '-std=c++0x', it causes the executable to core dump.
This reverts commit 2087c2aeb7.
2013-08-10 03:04:42 -07:00
Vinnie Falco
4073c99bdb Disable failing TestPeer unit test 2013-08-10 00:46:33 -07:00
Vinnie Falco
58b0c0ef34 Fix c++0x errors 2013-08-10 00:45:40 -07:00
Vinnie Falco
2087c2aeb7 Use '-std=c++0x' for older gcc that support it 2013-08-10 00:13:58 -07:00
Vinnie Falco
f78e50fe58 Add some business logic to MultiSocket 2013-08-09 23:15:09 -07:00
Vinnie Falco
d4d741cd62 Use deadline_timer to handle async logic properly 2013-08-09 23:14:58 -07:00
Vinnie Falco
0f25a468ad Remove old unused ripple AsioTests 2013-08-09 21:06:13 -07:00
Vinnie Falco
4d93e0972c Tidy up beast_asio 2013-08-09 20:53:49 -07:00
Vinnie Falco
a277fc3fbb Fix gcc warnings and errors 2013-08-09 19:59:59 -07:00
Vinnie Falco
173090f63f Add MultiSocket 2013-08-09 19:47:13 -07:00