Commit Graph

5754 Commits

Author SHA1 Message Date
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
Arthur Britto
a0dc6184e3 Augment book_offers with quality. 2013-04-21 11:06:57 -07:00
Arthur Britto
16a19ed523 ripple-lib version 0.7.6 2013-04-20 16:45:06 -07:00
Arthur Britto
8747b0a5d2 JS: Fix request_ripple_balance() setting issuer. 2013-04-20 15:43:27 -07:00
Arthur Britto
fc637f50ed JS: Fixes and improvements for Amount.
- Add from_quality()
- Add parse_quality()
- Improve add.
- Better peformance for copyTo().
- Fix parse_issuer(), set_issuer(), & set_currency() not to modify sub
  object.
- Correctly set currency and issuer of XRP in parse_json().
- Make not_equals_why more explicit.
2013-04-20 15:42:13 -07:00
JoelKatz
bad215d607 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 15:00:36 -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
0ff8190ea8 Sorry, I broke the unit tests. 2013-04-19 02:04:38 -07:00
JoelKatz
38e3ab2b97 Release the master lock sooner and don't reacquire it unless we have to. 2013-04-19 02:04:19 -07:00
JoelKatz
510dd048ba Sorry, I broke the unit tests. 2013-04-19 01:57:40 -07:00
JoelKatz
257e4bfb06 Prevent spurious log entries. 2013-04-19 01:28:03 -07:00
JoelKatz
43d6a0ad86 Complete the log rotate even if we can't rename the existing log file. 2013-04-19 00:39:10 -07:00
JoelKatz
67021f5db9 Fix a rare race condition. 2013-04-19 00:17:39 -07:00
JoelKatz
36a3b84dba Fix a rare race condition. 2013-04-19 00:15:25 -07:00
JoelKatz
8d0f0e31f8 Fix bogus error reporting. 2013-04-18 20:21:43 -07:00
JoelKatz
f5643cd308 Fix bogus error reporting. 2013-04-18 20:21:20 -07:00
JoelKatz
6e9f1255e4 Hanging locks. 2013-04-18 20:15:17 -07:00
JoelKatz
57c5eb8c5c Don't hold sqlite locks across invocations. 2013-04-18 20:15:09 -07:00
JoelKatz
bd3dc23f9e Hanging locks. 2013-04-18 20:14:28 -07:00
JoelKatz
3b90dfdcd1 Don't hold sqlite locks across invocations. 2013-04-18 19:56:28 -07:00
JoelKatz
47ddbfb333 Move background hashed object writes to their own DB connection. 2013-04-18 19:01:48 -07:00
JoelKatz
e296a81c83 Move background hashed object writes to their own DB connection. 2013-04-18 17:31:06 -07:00
JoelKatz
2f6c1025e4 No reason to setup checkpointing on hash node db. All writes
come from a lazy writing thread.
2013-04-18 16:28:02 -07:00
JoelKatz
d6df59010b Small WAL cleanup. 2013-04-18 16:27:57 -07:00
JoelKatz
d9db560d9f Don't let WAL files grow without bound. 2013-04-18 16:27:50 -07:00
JoelKatz
fbaee6e323 No reason to setup checkpointing on hash node db. All writes
come from a lazy writing thread.
2013-04-18 16:21:08 -07:00
JoelKatz
51b1cb17a0 Small WAL cleanup. 2013-04-18 16:16:52 -07:00
JoelKatz
4f87d95add Don't let WAL files grow without bound. 2013-04-18 16:06:18 -07:00
JoelKatz
60f62c3a79 Make it actually compile. 2013-04-17 23:28:09 -07:00
JoelKatz
7575ef882a Fix one case where we relay a very old validation.
Cleanups. Mark a FIXME (we don't always relay untrusted validations when we should).
2013-04-17 23:19:33 -07:00
JoelKatz
8b94a15c54 Coerce round to zero was broken due to a bad sign. 2013-04-17 23:17:12 -07:00
JoelKatz
6bdb26d5d4 Reduce logging in OfferCreateTransactor. 2013-04-17 22:27:40 -07:00
JoelKatz
d7ac3cf5cf Remove an assert that can false trigger. 2013-04-17 15:49:18 -07:00
JoelKatz
395a36a47f Remove an assert that can false trigger. 2013-04-17 15:48:57 -07:00
JoelKatz
b2fdee7bb9 Fix a deadlock reported by cn_smi between the PeerSet lock and the master lock. 2013-04-17 13:12:30 -07:00
JoelKatz
bade087b4e Fix a deadlock reported by cn_smi between the PeerSet lock and the master lock. 2013-04-17 13:06:41 -07:00
JoelKatz
3263693c94 The next part of the reserve/fee change code.
Conflicts:
	src/cpp/ripple/Application.cpp
2013-04-17 08:41:07 -07:00
JoelKatz
a8fa6c595a The next part of the reserve/fee change code. 2013-04-17 08:37:25 -07:00
Arthur Britto
805862f719 Fix calcNodeRipple to use correct rate. 2013-04-17 02:28:07 -07:00
Arthur Britto
48c310c110 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-17 02:19:25 -07:00
Arthur Britto
7d3517c197 Fix calcNodeRipple to use correct rate. 2013-04-17 02:19:13 -07:00
JoelKatz
f17a6859e0 Simplify and improve the WAL code. 2013-04-17 00:07:07 -07:00
JoelKatz
eb957cc662 Simplify and improve the WAL code. 2013-04-17 00:06:37 -07:00
JoelKatz
ee393aef36 Stop processing on dead connections ASAP 2013-04-16 20:48:22 -07:00
JoelKatz
c15de1db76 Aggregate client load into a queue. This will prevent large numbers of commands
from a single client from flooding the job queue.
2013-04-16 20:48:17 -07:00
JoelKatz
11306ff061 Tiny cleanup. 2013-04-16 20:48:00 -07:00
JoelKatz
7f7bda9742 Stop processing on dead connections ASAP 2013-04-16 20:45:48 -07:00
JoelKatz
5c89093e5f Aggregate client load into a queue. This will prevent large numbers of commands
from a single client from flooding the job queue.
2013-04-16 17:28:53 -07:00
JoelKatz
531dad6cfc Merge fixes. 2013-04-16 12:01:25 -07:00
JoelKatz
1e09e89c28 Small fixes. 2013-04-16 11:57:43 -07:00