Commit Graph

  • 57313a9339 Cache the hash of a SHAMapNode. JoelKatz 2013-01-12 03:05:45 -08:00
  • be93d59933 Remove log accidentally commited. JoelKatz 2013-01-12 02:53:45 -08:00
  • 95c7794e7b Be explicit about which SQLite thread mode we want. JoelKatz 2013-01-12 01:57:20 -08:00
  • 6de8d20ec2 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-01-12 01:48:40 -08:00
  • 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. JoelKatz 2013-01-12 01:41:46 -08:00
  • b782ad0ecd Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-01-11 18:55:28 -08:00
  • 8df9519a1c Add a default for currencies for ripple_find_path. Arthur Britto 2013-01-11 18:55:13 -08:00
  • 0d49bc877e Do WAL checkpointing in our own thread(s). JoelKatz 2013-01-11 18:45:16 -08:00
  • b21e751ce7 Typo JoelKatz 2013-01-11 18:27:37 -08:00
  • c88c7c50a8 Oops. Fix the job run order. JoelKatz 2013-01-11 18:12:42 -08:00
  • 35721a73e2 Don't let the acquire engine stall. JoelKatz 2013-01-11 17:18:28 -08:00
  • f2d811851a Trigger an assert if we get errors that shouldn't ever happen. JoelKatz 2013-01-11 17:16:34 -08:00
  • 14f6250ce5 Don't use hash-based fetching too quickly. JoelKatz 2013-01-11 16:54:34 -08:00
  • e86aa7b7ab Better debug messages. JoelKatz 2013-01-11 16:54:25 -08:00
  • 3cbaeebf2a Remove old debug. JoelKatz 2013-01-11 16:53:08 -08:00
  • 955c5c3a9c Bug fixes and performance improvements. JoelKatz 2013-01-11 16:40:37 -08:00
  • 2c38bfbbad Speed up ledger writing. JoelKatz 2013-01-11 16:40:04 -08:00
  • 9d0264a603 Fix a deadlock. JoelKatz 2013-01-11 15:50:18 -08:00
  • 9880b23e7f Typo. JoelKatz 2013-01-11 14:22:50 -08:00
  • d14d8cbf76 Helper functions. JoelKatz 2013-01-11 14:21:31 -08:00
  • 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. JoelKatz 2013-01-11 11:53:37 -08:00
  • ef9a0f3ed3 Can't call 'size' without the lock. JoelKatz 2013-01-11 11:28:24 -08:00
  • 88b27a19ed D'oh! This is what's burning the CPU. JoelKatz 2013-01-10 16:31:33 -08:00
  • 793843780c Filter out redundant node queries. JoelKatz 2013-01-10 16:27:22 -08:00
  • db1322f741 The priority scheme was backwards! JoelKatz 2013-01-10 15:29:52 -08:00
  • 83d1d3a122 Some who shall remain nameless (whose first name starts with 'Art' and ends with 'hur') broke the unit tests. JoelKatz 2013-01-10 15:25:21 -08:00
  • 3a96e7c1b6 A surprisingly simple fix to the InfoSub/websocketpp deadlock. JoelKatz 2013-01-10 09:55:48 -08:00
  • c29fdacc41 Remove an annoying log message. JoelKatz 2013-01-10 09:11:34 -08:00
  • cfcb1a2c11 Get rid of the redundant SSL contexts. JoelKatz 2013-01-10 09:10:40 -08:00
  • ce3ce7820b Raise the re-acquire interval. JoelKatz 2013-01-10 08:46:02 -08:00
  • e2bac0e7cd Optimize the startup code so we don't have long periods of slowness on startup. JoelKatz 2013-01-10 08:41:32 -08:00
  • d17a08c357 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-01-10 07:04:52 -08:00
  • 3bdba555eb Rate limit. JoelKatz 2013-01-10 07:04:35 -08:00
  • 14b63f7407 Tests: Print an error when timing out due to server crash. Stefan Thomas 2013-01-10 15:57:09 +01:00
  • 82d439ea8d Remove a FIXME, since it's **FIXED**. JoelKatz 2013-01-10 00:43:25 -08:00
  • 20712536b2 Use 'INSERT OR IGNORE' JoelKatz 2013-01-10 00:33:32 -08:00
  • d0fbcd64ba Fix typos. JoelKatz 2013-01-10 00:33:18 -08:00
  • c2922e5a16 Remove an unused variable. JoelKatz 2013-01-10 00:19:47 -08:00
  • c3498cbfcb Use WOL mode to avoid performance problems with large writes causing huge latency for small reads. See: http://www.sqlite.org/wal.html JoelKatz 2013-01-10 00:16:50 -08:00
  • 376f214a70 Make it easier to insert code between when the server is setup and when it's started. JoelKatz 2013-01-09 23:55:39 -08:00
  • 1e2b11fe80 Slight improvement. JoelKatz 2013-01-09 23:54:23 -08:00
  • 97e5223642 Improve sqlEscape performance. JoelKatz 2013-01-09 23:52:01 -08:00
  • 34411001e6 Mark a major FIXME. JoelKatz 2013-01-09 21:17:41 -08:00
  • dfbd99940a Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-01-09 20:49:17 -08:00
  • 99a8925fe5 Merge function to add all nodes from another database. JoelKatz 2013-01-09 20:48:56 -08:00
  • 90b1cc69c7 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-01-09 16:22:10 -08:00
  • 9b6ee7fc88 JS Add support for SourceTag and Destination tag. Arthur Britto 2013-01-09 16:21:57 -08:00
  • cf284897bb Fix a case where we might try too quickly to re-acquire a ledger. JoelKatz 2013-01-09 15:55:41 -08:00
  • 7ed37066cf Add some features to the KeyCache code so we can use it for ledger acquire failure tracking too. JoelKatz 2013-01-09 15:55:18 -08:00
  • d9ab92e88e Cleanup. JoelKatz 2013-01-09 11:06:07 -08:00
  • 38af346881 Fix some calls that bypass the cache. JoelKatz 2013-01-09 10:49:08 -08:00
  • d8b79aa0ee Fix bad log type. JoelKatz 2013-01-09 10:42:23 -08:00
  • 6cf1b3dbc1 Tiny cleanup. JoelKatz 2013-01-09 10:31:14 -08:00
  • 07634b5168 This is probably what was causing all the trouble. JoelKatz 2013-01-09 10:29:34 -08:00
  • 714b3fb0d0 Small fixes. JoelKatz 2013-01-09 10:14:18 -08:00
  • d2d84d2af7 More conservative check. JoelKatz 2013-01-09 09:53:39 -08:00
  • 1acdad8601 Make it compile. JoelKatz 2013-01-09 09:38:41 -08:00
  • cb6cf0dd8b Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-01-09 09:29:31 -08:00
  • fcabad79ae Fix the breakage. JoelKatz 2013-01-09 09:29:15 -08:00
  • e502badd2b Add test case for #7. Stefan Thomas 2013-01-09 18:29:12 +01:00
  • eadaaaa0fd Clean up debug. JoelKatz 2013-01-09 09:22:25 -08:00
  • 4f1619eb5e Extra debug. JoelKatz 2013-01-09 09:21:58 -08:00
  • 9a2e2d78c6 Extra debug JoelKatz 2013-01-09 09:21:48 -08:00
  • e714a16b95 Optimizations. JoelKatz 2013-01-09 07:14:07 -08:00
  • b5e78bda34 Fix GetObjByHash replies. JoelKatz 2013-01-09 03:28:20 -08:00
  • 0778a3ebae Don't blow up if asked to acquire a hash that's not a ledger. JoelKatz 2013-01-09 03:16:59 -08:00
  • c74a1b89e3 By careful how many GetObjectByHash requests we send. JoelKatz 2013-01-09 03:08:00 -08:00
  • e0a49f875a Fix more RPC error reporting. Arthur Britto 2013-01-08 18:59:59 -08:00
  • 8e801158b3 Improve error reporting for account not found. Arthur Britto 2013-01-08 18:04:00 -08:00
  • ef775727d4 Reduce some loging. JoelKatz 2013-01-08 17:21:31 -08:00
  • 4a4046f4b6 Some temporary logging to help find/fix a bug. JoelKatz 2013-01-08 17:05:10 -08:00
  • 26c976f4ac Fix a race condition. JoelKatz 2013-01-08 16:57:18 -08:00
  • ee5950b192 Better debug of missing hash issue. JoelKatz 2013-01-08 16:28:56 -08:00
  • 2de1b9eef8 Don't issue bogus 'missing skiplist' messages. JoelKatz 2013-01-08 16:23:58 -08:00
  • c43f6a54dc Optimize uint's operator== and operator!= to not do byte-by-byte compares. JoelKatz 2013-01-08 16:16:35 -08:00
  • aeb7a2af5d Optimize for the more common case. JoelKatz 2013-01-08 16:16:20 -08:00
  • 3712f0f2cb Remove a lot of unneeded hashing. JoelKatz 2013-01-08 15:33:13 -08:00
  • 9c9530b50f Add some comments. JoelKatz 2013-01-08 14:58:23 -08:00
  • bbd32faf05 Demote some older logs. JoelKatz 2013-01-08 14:50:45 -08:00
  • 607e2039e2 Add negative caching for HashedObject class. This massively reduces contention for the database lock under high network ledger fetch load. JoelKatz 2013-01-08 14:50:03 -08:00
  • fbac342e2e One more. JoelKatz 2013-01-08 14:12:45 -08:00
  • 8e5ce2dd4c More debug. JoelKatz 2013-01-08 14:10:49 -08:00
  • 120e758f01 More reasonable. JoelKatz 2013-01-08 02:03:29 -08:00
  • df1f3a66d5 Log message less imortant. JoelKatz 2013-01-08 02:02:51 -08:00
  • c0a64f672c Demote a non-serious log that sounds like an error. JoelKatz 2013-01-08 02:00:54 -08:00
  • 59c91d0413 Typo. JoelKatz 2013-01-08 01:54:29 -08:00
  • 0229a89445 Get the logic right. JoelKatz 2013-01-08 01:53:47 -08:00
  • 96eac78174 To be a recent failure, a failure must be recent. JoelKatz 2013-01-08 01:47:09 -08:00
  • 5eeef9d3fd Accelerated aging for special occasions. JoelKatz 2013-01-08 01:33:40 -08:00
  • 79c3f777aa Memory fixes. JoelKatz 2013-01-08 01:14:55 -08:00
  • 2626368b26 Remove chatty log. JoelKatz 2013-01-08 01:00:48 -08:00
  • 2a657a33c9 Make sure we leave need network ledger mode. JoelKatz 2013-01-08 00:41:07 -08:00
  • 69ac139485 Reduce log spew. JoelKatz 2013-01-08 00:36:13 -08:00
  • e34dafa839 Log some additional info. JoelKatz 2013-01-08 00:32:54 -08:00
  • fc1dc50afc Ledger load fixes. Quick and dirty check for filesystme space. JoelKatz 2013-01-07 23:57:06 -08:00
  • cc2588aba2 Make it possible to start from a specific chosen ledger. JoelKatz 2013-01-07 23:47:39 -08:00
  • 7a2f098ac4 Reduce some chatty logging. JoelKatz 2013-01-07 23:47:21 -08:00
  • 69f42e6f02 Fix a bug that causes excessive GetObjByHash queries. JoelKatz 2013-01-07 22:47:16 -08:00
  • c2a4cc8321 Get rid of transaction acquire entries ASAP. JoelKatz 2013-01-07 14:44:18 -08:00
  • ecc04b21f3 Be smarter about when we clean up ledger acquires. JoelKatz 2013-01-07 14:42:46 -08:00