Commit Graph

497 Commits

Author SHA1 Message Date
Vinnie Falco
bb941354ce Generic HandshakeDetectStream and HandshakeDetectLogic 2013-08-17 21:09:57 -07:00
Vinnie Falco
0feccfd7b0 MultiSocket with ssl handshake detection 2013-08-17 21:09:56 -07:00
Vinnie Falco
4c605a79b7 Rename to max_needed for clarity 2013-08-17 21:09:55 -07:00
Vinnie Falco
8c65adbffe Tidy up move obsolete and deprecated files 2013-08-17 21:09:53 -07:00
JoelKatz
fe1b8d253c Don't tolerate failed ledger acquires in the publication stream. 2013-08-16 23:22:33 -07:00
JoelKatz
39caac637c Typo. 2013-08-16 18:50:33 -07:00
JoelKatz
c98b24dbe6 Missing comma. 2013-08-16 18:41:47 -07:00
JoelKatz
6eec84144a A better fix for countAccountTxs. 2013-08-16 18:12:33 -07:00
JoelKatz
eb121e9312 Revert "Fix 'NetworkOPs::countAccountTxs' taking way too long."
This reverts commit ff127d2b25.
A new fix is in development.
2013-08-16 17:50:30 -07:00
Vinnie Falco
44aa45f307 Set version to 0.12.0-rc3 2013-08-16 17:47:29 -07:00
JoelKatz
ff127d2b25 Fix 'NetworkOPs::countAccountTxs' taking way too long. 2013-08-16 17:40:28 -07:00
Vinnie Falco
724cb5df7b Set version to 0.12.0-rc2 2013-08-15 22:02:26 -07:00
JoelKatz
eb3bf3b8cd Make sure we keep publishing ledgers while filling a gap from the database. 2013-08-15 21:54:17 -07:00
Vinnie Falco
a7e4087222 Update MultiSocket for handshake detect and refactored SocketWrapper 2013-08-15 16:57:48 -07:00
Vinnie Falco
26bb91a873 Move PeerRole to its own file 2013-08-15 15:45:15 -07:00
Vinnie Falco
95ec3f4db5 Import ProxyHandshake into beast 2013-08-15 15:45:14 -07:00
JoelKatz
e187e7e282 0.12.0-rc1 2013-08-15 12:07:51 -07:00
JoelKatz
ed3f3aa7e7 Make doTransactionEntry work against an open ledger. 2013-08-15 11:38:42 -07:00
JoelKatz
0657870292 Add a 'binary' option to doLedgerEntry 2013-08-15 11:38:42 -07:00
Vinnie Falco
4afe79b590 Fix gcc compile error 2013-08-15 08:26:50 -07:00
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
832b2f6b4f Make getNodeFat return long skinny strings when needed. Optimizations. 2013-08-14 15:45:49 -07:00
JoelKatz
6d36aed7df getNodePointer function for when you only know the node ID. 2013-08-14 15:45:49 -07:00
JoelKatz
5a81b0a4a8 Fetch a bit better. 2013-08-14 15:45:49 -07:00
JoelKatz
bed027d852 If we never dispatch on a 'limit 1' job, we'll never finish one, thus never convey to next one. 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
ee263bcab1 Allow more write latency 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
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