Vinnie Falco
ef232f4359
Split up and refactor HashedObject
2013-06-07 13:44:15 -07:00
Vinnie Falco
db9f62646d
DRY up and document magic constant used for hash maps
2013-06-07 11:35:56 -07:00
Vinnie Falco
3cf2fb884d
Annonate another instance of the same anonymous constant
2013-06-07 10:24:33 -07:00
Vinnie Falco
5ae48ddad6
DRY up and annotate an anonymous constant
2013-06-07 10:19:47 -07:00
Vinnie Falco
4d1bf35236
Move PackedMessage to ripple_data
2013-06-06 21:43:44 -07:00
Vinnie Falco
b523b6c8d4
Replace all Application nonces with nonce singleton and refactor hash_value functions
2013-06-06 21:43:33 -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
d762abfc85
Move Log to ripple_basics and split websocket logging to ripple_net
2013-05-27 13:16:00 -07:00
Vinnie Falco
e227637e34
Factor upTime() out of KeyCache, fix warnings
2013-05-27 13:15:58 -07:00
Vinnie Falco
794b84c473
Fix missing file names for new Log partition code
2013-05-27 13:15:57 -07:00
Vinnie Falco
b9aa8e0a84
Add ripple_basics unity build module
2013-05-27 13:14:08 -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
588ef7df86
Speed up ledger acquiring.
2013-05-16 23:32:50 -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
c785bb3673
More fetch fixes.
2013-04-25 13:28:55 -07:00
JoelKatz
12d86c6a47
Bugfix.
2013-04-22 14:49:45 -07:00
JoelKatz
8a368204c1
Last part of the fetch pack code.
2013-04-22 06:56:11 -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
f6b9e0ca80
Should return 'false', not throw.
2013-03-31 23:56:37 -07:00
JoelKatz
03b8cbaacc
Logging fixups.
2013-03-27 17:45:32 -07:00
JoelKatz
edf019c0dd
Avoid some unnecessary work.
2013-03-27 11:09:00 -07:00
JoelKatz
f4e22a8968
Use emplace where we can. (On inserts into unordered maps.)
2013-03-11 03:58:27 -07:00
JoelKatz
ed871e6bc2
Some asserts to catch some possible causes of the SHAMap destructor crash.
2013-03-09 17:13:59 -08:00
JoelKatz
a8daf34a08
Compute SHAMapNode hashes faster.
2013-03-06 01:10:23 -08:00
JoelKatz
22111adbaa
Fix some isEmptyBranch and getNodeID performance issues.
2013-03-05 22:16:07 -08:00
JoelKatz
86893487d1
Speedups.
2013-03-05 09:00:31 -08:00
JoelKatz
ce401dffb6
Speed up path finding by about 35%.
2013-03-04 18:57:44 -08:00
JoelKatz
c1f8bed3b8
Fix a possible bug in commented out code.
2013-03-03 05:59:47 -08:00
JoelKatz
15b6fbed0b
Temporarily back out this hash change.
2013-03-03 05:55:14 -08:00
JoelKatz
9716882bc0
Be more consistent.
2013-03-03 04:53:15 -08:00
JoelKatz
f30a148e19
Missing lock.
2013-03-03 04:07:04 -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
e674bcea36
A collection of small bugfixes.
2013-02-08 16:22:27 -08:00
JoelKatz
bdd5d4af9f
Add 'dropCache' function to remove extraneous nodes from memory.
2013-01-27 13:55:06 -08:00
JoelKatz
8da284705f
Fix 'getAffectedAccount' -- logic was totally wrong.
...
You can't get this from the transaction because which accounts a transaction
affects depends on things like which offers it winds up taking. And you
can't build it with the metadata because you don't always build the metadata
locally -- consider fetching a ledger after a network split. The only
rational way to do this is to build the affected account vector from the
metadata.
2013-01-17 10:46:12 -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
b4004c4676
Fix a bug that, under rare circumstances, could lead to SHAMap corruption
2012-12-29 13:04:17 -08:00
JoelKatz
2203313945
Logging cleanups.
2012-12-18 14:39:02 -08:00
JoelKatz
534ce8307f
Have to special-case the root node.
2012-12-14 12:07:50 -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
bda1ce233f
Oops.
2012-11-09 07:26:14 -08:00
JoelKatz
d1a0a13cbe
Cleanup.
2012-11-09 07:25:33 -08:00