Commit Graph

4349 Commits

Author SHA1 Message Date
JoelKatz
5a6f306c59 Remove extra whitespace. 2013-01-12 08:34:14 -08:00
JoelKatz
3febe8ae2a Make sure backfilling is disabled in standalone mode. 2013-01-12 05:22:52 -08:00
JoelKatz
35f36d61e2 Oops. Accidentally removed a line. 2013-01-12 04:45:28 -08:00
JoelKatz
1b8f20eaa7 Some tuning. 2013-01-12 04:44:41 -08:00
JoelKatz
a62fb9a52f operator& was way inefficient. 2013-01-12 04:01:22 -08:00
JoelKatz
755182c266 Cleanups. 2013-01-12 03:38:15 -08:00
JoelKatz
cf726c7749 Don't connect to invalid IP:port combinations. 2013-01-12 03:37:45 -08:00
JoelKatz
57313a9339 Cache the hash of a SHAMapNode. 2013-01-12 03:05:45 -08:00
JoelKatz
be93d59933 Remove log accidentally commited. 2013-01-12 02:53:45 -08:00
JoelKatz
95c7794e7b Be explicit about which SQLite thread mode we want. 2013-01-12 01:57:20 -08:00
JoelKatz
6de8d20ec2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-12 01:48:40 -08:00
JoelKatz
0fabbc4f18 About half of clustering support. We need this so our own nodes don't send each other proof
of work requests when we're under load.
2013-01-12 01:41:46 -08:00
Arthur Britto
b782ad0ecd Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-11 18:55:28 -08:00
Arthur Britto
8df9519a1c Add a default for currencies for ripple_find_path. 2013-01-11 18:55:13 -08:00
JoelKatz
0d49bc877e Do WAL checkpointing in our own thread(s). 2013-01-11 18:45:16 -08:00
JoelKatz
b21e751ce7 Typo 2013-01-11 18:27:37 -08:00
JoelKatz
c88c7c50a8 Oops. Fix the job run order. 2013-01-11 18:12:42 -08:00
JoelKatz
35721a73e2 Don't let the acquire engine stall. 2013-01-11 17:18:28 -08:00
JoelKatz
f2d811851a Trigger an assert if we get errors that shouldn't ever happen. 2013-01-11 17:16:34 -08:00
JoelKatz
14f6250ce5 Don't use hash-based fetching too quickly. 2013-01-11 16:54:34 -08:00
JoelKatz
e86aa7b7ab Better debug messages. 2013-01-11 16:54:25 -08:00
JoelKatz
3cbaeebf2a Remove old debug. 2013-01-11 16:53:08 -08:00
JoelKatz
955c5c3a9c Bug fixes and performance improvements. 2013-01-11 16:40:37 -08:00
JoelKatz
2c38bfbbad Speed up ledger writing. 2013-01-11 16:40:04 -08:00
JoelKatz
9d0264a603 Fix a deadlock. 2013-01-11 15:50:18 -08:00
JoelKatz
9880b23e7f Typo. 2013-01-11 14:22:50 -08:00
JoelKatz
d14d8cbf76 Helper functions. 2013-01-11 14:21:31 -08:00
JoelKatz
7d7d2bc46b Fix a bug Arthur reported. Some critical Peer structures are not protected
against races caused by concurrent reading from and writing to the SSL
connection and access to Peer variables like mDetaching, mSendingPacket, and
so on.
2013-01-11 11:53:37 -08:00
JoelKatz
ef9a0f3ed3 Can't call 'size' without the lock. 2013-01-11 11:28:24 -08:00
JoelKatz
88b27a19ed D'oh! This is what's burning the CPU. 2013-01-10 16:31:33 -08:00
JoelKatz
793843780c Filter out redundant node queries. 2013-01-10 16:27:22 -08:00
JoelKatz
db1322f741 The priority scheme was backwards! 2013-01-10 15:29:52 -08:00
JoelKatz
83d1d3a122 Some who shall remain nameless (whose first name starts with 'Art' and ends with 'hur') broke the unit tests. 2013-01-10 15:25:21 -08:00
JoelKatz
3a96e7c1b6 A surprisingly simple fix to the InfoSub/websocketpp deadlock. 2013-01-10 09:55:48 -08:00
JoelKatz
c29fdacc41 Remove an annoying log message. 2013-01-10 09:11:34 -08:00
JoelKatz
cfcb1a2c11 Get rid of the redundant SSL contexts. 2013-01-10 09:10:40 -08:00
JoelKatz
ce3ce7820b Raise the re-acquire interval. 2013-01-10 08:46:02 -08:00
JoelKatz
e2bac0e7cd Optimize the startup code so we don't have long periods of slowness on startup. 2013-01-10 08:41:32 -08:00
JoelKatz
d17a08c357 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-01-10 07:04:52 -08:00
JoelKatz
3bdba555eb Rate limit. 2013-01-10 07:04:35 -08:00
Stefan Thomas
14b63f7407 Tests: Print an error when timing out due to server crash. 2013-01-10 15:57:20 +01:00
JoelKatz
82d439ea8d Remove a FIXME, since it's **FIXED**. 2013-01-10 00:43:25 -08:00
JoelKatz
20712536b2 Use 'INSERT OR IGNORE' 2013-01-10 00:33:32 -08:00
JoelKatz
d0fbcd64ba Fix typos. 2013-01-10 00:33:18 -08:00
JoelKatz
c2922e5a16 Remove an unused variable. 2013-01-10 00:19:47 -08:00
JoelKatz
c3498cbfcb Use WOL mode to avoid performance problems with large writes causing huge latency for small reads.
See: http://www.sqlite.org/wal.html
2013-01-10 00:16:50 -08:00
JoelKatz
376f214a70 Make it easier to insert code between when the server is setup and when it's started. 2013-01-09 23:55:39 -08:00
JoelKatz
1e2b11fe80 Slight improvement. 2013-01-09 23:54:23 -08:00
JoelKatz
97e5223642 Improve sqlEscape performance. 2013-01-09 23:52:01 -08:00
JoelKatz
34411001e6 Mark a major FIXME. 2013-01-09 21:17:41 -08:00