Commit Graph

38 Commits

Author SHA1 Message Date
Vinnie Falco
ee49051e1c Downgrade access specification from protected to private in most places
Conflicts:
	src/cpp/ripple/FeatureTable.h
	src/cpp/ripple/HashedObject.h
	src/cpp/ripple/NetworkOPs.h
2013-06-06 20:44:58 -07:00
Vinnie Falco
47e00f20fb Move InstanceCounter to ripple_basics 2013-05-30 10:16:23 -07:00
Vinnie Falco
827b5c4b10 Move ScopedLock to ripple_basics 2013-05-30 10:16:23 -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
0f177a8038 Move uint256 to ripple_basics 2013-05-27 13:16:08 -07:00
Vinnie Falco
fb8c370d70 Move TaggedCache to ripple_basics and remove dependency on upTime 2013-05-27 13:16:01 -07:00
Vinnie Falco
e227637e34 Factor upTime() out of KeyCache, fix warnings 2013-05-27 13:15:58 -07:00
Vinnie Falco
251cf723a7 Rename types.h to IntegerTypes.h and move to ripple_basics.h 2013-05-27 13:15:54 -07:00
JoelKatz
c0e046a721 Don't put a leaf node in a fetch pack just because it moved. 2013-05-17 01:46:39 -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
7f4d76808b Fixes and simplifications. 2013-04-26 00:11:44 -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
a9cab289dd Remove broken logic from previous commit. I'll find a better way. 2013-04-21 14:26:04 -07:00
JoelKatz
79ec8e6070 First part of fetch acceleration changes. Includes a bugfix that I'll push to master. 2013-04-21 12:44:21 -07:00
JoelKatz
b993c6ee32 Cache the hashes of nodes known to be full below.
Remove the TNByID entries for those nodes in state trees.
This reduces the memory and I/O neded during ledger fetching and prevents
ledger fetching from crushing other caches.
2013-04-19 14:22:52 -07:00
JoelKatz
edf019c0dd Avoid some unnecessary work. 2013-03-27 11:09:00 -07:00
JoelKatz
9d990b82fa Some cleanups. 2013-03-08 10:23:11 -08:00
JoelKatz
22111adbaa Fix some isEmptyBranch and getNodeID performance issues. 2013-03-05 22:16:07 -08:00
JoelKatz
a27c6301fb Add <bitset> include. 2013-03-05 12:57:24 -08:00
JoelKatz
86893487d1 Speedups. 2013-03-05 09:00:31 -08:00
JoelKatz
51a85504a8 Startup and shutdown improvements. Performance improvements. 2013-03-03 02:09:19 -08:00
JoelKatz
063479d77c Remove some premature optimizations. 2013-02-28 13:50:46 -08:00
JoelKatz
ba37349b95 Function to get map entry with its hash. 2013-02-20 11:59:33 -08:00
JoelKatz
bdd5d4af9f Add 'dropCache' function to remove extraneous nodes from memory. 2013-01-27 13:55:06 -08:00
JoelKatz
755182c266 Cleanups. 2013-01-12 03:38:15 -08:00
JoelKatz
57313a9339 Cache the hash of a SHAMapNode. 2013-01-12 03:05:45 -08:00
JoelKatz
26c976f4ac Fix a race condition. 2013-01-08 16:57:18 -08:00
JoelKatz
3712f0f2cb Remove a lot of unneeded hashing. 2013-01-08 15:33:13 -08:00
JoelKatz
f666003977 TMGetObjectByHash needs to know the object type. 2013-01-04 20:42:31 -08:00
JoelKatz
bb6b72fea4 Make a "getNeededHashes" function to get the hashes we need to fill in a ledger hole. 2013-01-04 15:21:02 -08:00
JoelKatz
efd9e91c51 Cleanups. Remove some redundant checks. 2012-12-14 10:53:22 -08:00
JoelKatz
0da30fc82e Avoid some extraneous reference count operations. 2012-12-14 10:10:52 -08:00
JoelKatz
bc3f641373 Track when a node was last accessed. 2012-12-14 09:56:28 -08:00
JoelKatz
585203f558 Be consistent in how we specify this feature table. 2012-12-02 15:36:27 -08:00
JoelKatz
89d54999c9 Rework the way the results of ledger and TX map acquisition is passed up and down the
call chain so that the peer logic will know how helpful peers are being, not just whether
they're sending invalid data.
2012-11-21 09:28:09 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00