Commit Graph

245 Commits

Author SHA1 Message Date
Vinnie Falco
3273625f61 Split up InfoSub and tidy up various files 2013-06-09 11:26:18 -07:00
Vinnie Falco
b51edb58fc Replace std::vector<unsigned char> with Blob 2013-06-07 15:24:39 -07:00
Vinnie Falco
eb57573f9a Refactor ConnectionPool into IPeers and hide the implementation
Conflicts:
	src/cpp/ripple/Application.h
2013-06-06 21:50:49 -07:00
Vinnie Falco
4d1bf35236 Move PackedMessage to ripple_data 2013-06-06 21:43:44 -07:00
Vinnie Falco
0523d6a054 Refactor free functions into RandomNumbers 2013-06-06 21:43:29 -07:00
Vinnie Falco
594c47f16b Refactor SuppressionTable into IHashRouter
Conflicts:
	src/cpp/ripple/Application.h
2013-06-06 20:43:33 -07:00
JoelKatz
f897b17027 Merge branch 'feature' into develop 2013-06-05 16:40:28 -07:00
JoelKatz
339fb50370 server_info cleanup. 2013-06-05 16:39:55 -07:00
JoelKatz
69a904133f Block operation if a feature we don't support is enabled in the ledger. 2013-05-30 14:30:06 -07:00
Vinnie Falco
2c525b03c6 Enormous cleanup of RippleAddress et. al. into ripple_data
Start cleanup into ripple_data, split out some hash_value() instances
Tidy up CBigNum into ripple_data, moving definitions to .cpp
Split and clean up base58 stuff
Remove unused files from VS2012 project
Clean up some bignum stuff and remove unused files
Partial cleanup of RFC1751
Enormous cleanup with RippleAddress and related, into ripple_data
Remove unused VS project files
Move ECIES stuff into CKey
2013-05-30 10:16:22 -07:00
Vinnie Falco
92bdcba096 Split DH from utils, remove utils from project 2013-05-27 13:16:08 -07:00
Vinnie Falco
4e8d4c28c2 Remove legacy upTime() function 2013-05-27 13:16:01 -07:00
Vinnie Falco
d762abfc85 Move Log to ripple_basics and split websocket logging to ripple_net 2013-05-27 13:16:00 -07:00
Vinnie Falco
794b84c473 Fix missing file names for new Log partition code 2013-05-27 13:15:57 -07:00
Vinnie Falco
f4cb47fed6 Add ripple_net module 2013-05-27 13:14:09 -07:00
JoelKatz
5b741ac87c Revert "Merge branch 'master' of github.com:jedmccaleb/NewCoin"
This reverts commit 72e5078de7, reversing
changes made to cfc8f8c052.
2013-05-26 15:50:21 -07:00
JoelKatz
dd5e8d976b Merge branch 'develop' into faster_acquire 2013-05-24 10:06:29 -07:00
JoelKatz
7f5a81fee5 Fix some operating mode state transition rules. 2013-05-23 18:56:16 -07:00
JoelKatz
576ee472bf Add "syncing" state. 2013-05-23 18:46:39 -07:00
JoelKatz
aaf93be9ed Remove unneeded code that was implicated in a deadlock path. 2013-05-22 14:36:21 -07:00
JoelKatz
1139ac5ab4 Make fetch packs less generous. 2013-05-17 02:04:04 -07:00
JoelKatz
5b68834e3b Set correct hash in fetch pack. 2013-05-17 01:14:03 -07:00
JoelKatz
a71225f9a3 Don't service stale/superceded fetch pack requests. 2013-05-17 01:05:29 -07:00
JoelKatz
5e1dddd1c7 Second check if fetch pack should be skipped. 2013-05-17 01:02:01 -07:00
JoelKatz
588ef7df86 Speed up ledger acquiring. 2013-05-16 23:32:50 -07:00
JoelKatz
e94802bc2a Don't stash the key when we don't need it. 2013-05-15 16:04:14 -07:00
JoelKatz
285ef764d3 Don't stash the key when we don't need it. 2013-05-15 15:54:52 -07:00
JoelKatz
696ffe4b87 Use the immutable LES. 2013-05-14 18:36:26 -07:00
JoelKatz
6a84a95979 Accept ledgers more efficiently by avoiding allocate/allocate/copy/copy/free cycles. 2013-05-14 11:49:33 -07:00
JoelKatz
e71849779e Cleanup. 2013-05-13 18:34:46 -07:00
JoelKatz
bcf0fc0b3a Avoid construcing a RippleAddress just to throw it away. 2013-05-13 18:28:54 -07:00
JoelKatz
1ebcebd067 Book offers improvements. 2013-05-13 16:35:36 -07:00
JoelKatz
f1722c2970 Make sure to always set the result, not just the status. 2013-05-09 21:59:01 -07:00
JoelKatz
41b70c76da If we detect a missing node in a ledger we're supposed to have full,
re-acquire that ledger to fill the hole.
2013-05-08 15:55:52 -07:00
JoelKatz
04b0f968fd Detect server deadlocks and trigger the auto-restart mechanism. 2013-05-08 15:21:22 -07:00
JoelKatz
46c1488484 Buglets found by static code inspection, including a whopper in divRound. 2013-04-27 00:35:16 -07:00
JoelKatz
9d52427ab0 Tuning. 2013-04-26 00:23:57 -07:00
JoelKatz
4812d30c16 Be smarter about when we grab fetch packs. 2013-04-25 19:11:18 -07:00
JoelKatz
380ab0d3fd Fix two small bugs. 2013-04-25 13:49:41 -07:00
JoelKatz
494202fbcf Ledger acquire improvements and I/O reductions. 2013-04-25 11:09:57 -07:00
JoelKatz
4f70506094 Include more information in fetch packs. 2013-04-23 06:49:58 -07:00
JoelKatz
84087e62cb Smarter peer selection for acquires. 2013-04-23 06:48:42 -07:00
JoelKatz
df32873321 Cleanups. 2013-04-22 15:17:23 -07:00
JoelKatz
d5535dbdfd More fetch pack work. 2013-04-22 12:45:37 -07:00
JoelKatz
aeccecb578 ech pack stuff. 2013-04-22 11:09:07 -07:00
JoelKatz
94838b0db7 Fetch pack bugfixes. 2013-04-22 10:29:54 -07:00
JoelKatz
8a368204c1 Last part of the fetch pack code. 2013-04-22 06:56:11 -07:00
JoelKatz
0c7066944e Fetch pack scheme. Phase two. 2013-04-21 20:37:46 -07:00
JoelKatz
4b04f74289 This makes more sense. Fetch pack, phase one. 2013-04-21 16:22:13 -07:00
JoelKatz
632a4882ea Finish removing dead code. 2013-04-21 14:48:05 -07:00