Commit Graph

  • 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. JoelKatz 2013-04-19 14:22:52 -07:00
  • 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. JoelKatz 2013-04-19 14:22:52 -07:00
  • 0ff8190ea8 Sorry, I broke the unit tests. JoelKatz 2013-04-19 01:57:40 -07:00
  • 38e3ab2b97 Release the master lock sooner and don't reacquire it unless we have to. JoelKatz 2013-04-19 02:04:19 -07:00
  • 510dd048ba Sorry, I broke the unit tests. JoelKatz 2013-04-19 01:57:40 -07:00
  • 257e4bfb06 Prevent spurious log entries. JoelKatz 2013-04-19 01:28:03 -07:00
  • 43d6a0ad86 Complete the log rotate even if we can't rename the existing log file. JoelKatz 2013-04-19 00:39:10 -07:00
  • 67021f5db9 Fix a rare race condition. JoelKatz 2013-04-19 00:15:25 -07:00
  • 36a3b84dba Fix a rare race condition. JoelKatz 2013-04-19 00:15:25 -07:00
  • 8d0f0e31f8 Fix bogus error reporting. JoelKatz 2013-04-18 20:21:20 -07:00
  • f5643cd308 Fix bogus error reporting. JoelKatz 2013-04-18 20:21:20 -07:00
  • 6e9f1255e4 Hanging locks. JoelKatz 2013-04-18 20:14:28 -07:00
  • 57c5eb8c5c Don't hold sqlite locks across invocations. JoelKatz 2013-04-18 19:56:28 -07:00
  • bd3dc23f9e Hanging locks. JoelKatz 2013-04-18 20:14:28 -07:00
  • 3b90dfdcd1 Don't hold sqlite locks across invocations. JoelKatz 2013-04-18 19:56:28 -07:00
  • 47ddbfb333 Move background hashed object writes to their own DB connection. JoelKatz 2013-04-18 17:31:06 -07:00
  • e296a81c83 Move background hashed object writes to their own DB connection. JoelKatz 2013-04-18 17:31:06 -07:00
  • 2f6c1025e4 No reason to setup checkpointing on hash node db. All writes come from a lazy writing thread. JoelKatz 2013-04-18 16:21:08 -07:00
  • d6df59010b Small WAL cleanup. JoelKatz 2013-04-18 16:16:52 -07:00
  • d9db560d9f Don't let WAL files grow without bound. JoelKatz 2013-04-18 16:06:18 -07:00
  • fbaee6e323 No reason to setup checkpointing on hash node db. All writes come from a lazy writing thread. JoelKatz 2013-04-18 16:21:08 -07:00
  • 51b1cb17a0 Small WAL cleanup. JoelKatz 2013-04-18 16:16:52 -07:00
  • 4f87d95add Don't let WAL files grow without bound. JoelKatz 2013-04-18 16:06:18 -07:00
  • 60f62c3a79 Make it actually compile. JoelKatz 2013-04-17 23:28:09 -07:00
  • 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). JoelKatz 2013-04-17 23:19:33 -07:00
  • 8b94a15c54 Coerce round to zero was broken due to a bad sign. JoelKatz 2013-04-17 23:17:12 -07:00
  • 6bdb26d5d4 Reduce logging in OfferCreateTransactor. JoelKatz 2013-04-17 22:27:40 -07:00
  • d7ac3cf5cf Remove an assert that can false trigger. JoelKatz 2013-04-17 15:48:57 -07:00
  • 395a36a47f Remove an assert that can false trigger. JoelKatz 2013-04-17 15:48:57 -07:00
  • b2fdee7bb9 Fix a deadlock reported by cn_smi between the PeerSet lock and the master lock. JoelKatz 2013-04-17 13:06:41 -07:00
  • bade087b4e Fix a deadlock reported by cn_smi between the PeerSet lock and the master lock. JoelKatz 2013-04-17 13:06:41 -07:00
  • 3263693c94 The next part of the reserve/fee change code. JoelKatz 2013-04-17 08:37:25 -07:00
  • a8fa6c595a The next part of the reserve/fee change code. JoelKatz 2013-04-17 08:37:25 -07:00
  • 805862f719 Fix calcNodeRipple to use correct rate. Arthur Britto 2013-04-17 02:19:13 -07:00
  • 48c310c110 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop Arthur Britto 2013-04-17 02:19:25 -07:00
  • 7d3517c197 Fix calcNodeRipple to use correct rate. Arthur Britto 2013-04-17 02:19:13 -07:00
  • f17a6859e0 Simplify and improve the WAL code. JoelKatz 2013-04-17 00:06:37 -07:00
  • eb957cc662 Simplify and improve the WAL code. JoelKatz 2013-04-17 00:06:37 -07:00
  • ee393aef36 Stop processing on dead connections ASAP JoelKatz 2013-04-16 20:45:48 -07:00
  • c15de1db76 Aggregate client load into a queue. This will prevent large numbers of commands from a single client from flooding the job queue. JoelKatz 2013-04-16 17:28:53 -07:00
  • 11306ff061 Tiny cleanup. JoelKatz 2013-04-16 20:48:00 -07:00
  • 7f7bda9742 Stop processing on dead connections ASAP JoelKatz 2013-04-16 20:45:48 -07:00
  • 5c89093e5f Aggregate client load into a queue. This will prevent large numbers of commands from a single client from flooding the job queue. JoelKatz 2013-04-16 17:28:53 -07:00
  • 531dad6cfc Merge fixes. JoelKatz 2013-04-16 12:01:25 -07:00
  • 1e09e89c28 Small fixes. JoelKatz 2013-04-16 11:57:43 -07:00
  • 71c15310d9 Small fix. JoelKatz 2013-04-16 11:57:02 -07:00
  • 09e4f6a4fe Merge fixes. JoelKatz 2013-04-16 11:53:50 -07:00
  • 644d97a332 Add a getLedgerNext that takes into account changes in the LES. JoelKatz 2013-04-16 11:42:04 -07:00
  • aa984592ca Avoid assert. JoelKatz 2013-04-16 11:43:37 -07:00
  • bdf1ed2584 Add a getLedgerNext that takes into account changes in the LES. JoelKatz 2013-04-16 11:42:04 -07:00
  • 148b5b42a5 Transactor for change/fee. JoelKatz 2013-04-16 11:16:52 -07:00
  • efb3c24518 Change/Fee transactor. JoelKatz 2013-04-15 22:59:16 -07:00
  • 8ed0d107fd Allow administrators to submit transactions that don't meet the local load fee. JoelKatz 2013-04-15 17:14:20 -07:00
  • 61efda89a5 This keeps the two timing schemes compatible. JoelKatz 2013-04-15 09:57:10 -07:00
  • 9feb97e530 Timing change to avoid allowing a server to race ahead of the majority of validators. Enforce minimum ledger open time which is extended if there are too few validations. JoelKatz 2013-04-15 09:50:23 -07:00
  • 0c1c14f49a This keeps the two timing schemes compatible. JoelKatz 2013-04-15 09:57:10 -07:00
  • 0bc9c0b737 Timing change to avoid allowing a server to race ahead of the majority of validators. Enforce minimum ledger open time which is extended if there are too few validations. JoelKatz 2013-04-15 09:50:23 -07:00
  • a68acc92bc Merge branch 'master' of github.com:jedmccaleb/NewCoin into cherry JoelKatz 2013-04-15 07:15:21 -07:00
  • b7eccd1dce Reset mLedger if request is invalid to ensure that findPaths fails. JoelKatz 2013-04-15 07:14:48 -07:00
  • 8d6de40e52 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop JoelKatz 2013-04-15 05:45:33 -07:00
  • 7f82b95dbd Don't send a zero amount. JoelKatz 2013-04-15 05:44:35 -07:00
  • a12d2648fc Don't send a zero amount. JoelKatz 2013-04-15 05:44:35 -07:00
  • ec081cd2dc Make RPC account_lines support specify the peer account. Arthur Britto 2013-04-14 23:15:58 -07:00
  • f102097ef3 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop Arthur Britto 2013-04-14 22:38:52 -07:00
  • 0f2d889987 Cache RippleAddress validity. Arthur Britto 2013-04-14 22:38:37 -07:00
  • 17cc6edc2b Bump to version 3.7.16.2 JoelKatz 2013-04-14 05:18:13 -07:00
  • fe2b838d49 Make the code match the comment. JoelKatz 2013-04-14 04:38:46 -07:00
  • f30ce4171a Don't count forced issuer nodes after exchanges because we didn't have to find them. Drop the default maximum path length to four because exchanges to non-XRP aren't overcounted. JoelKatz 2013-04-12 16:11:51 -07:00
  • 1ca88a8a14 Don't explore paths if we don't have enough path length left to use them. JoelKatz 2013-04-12 16:03:57 -07:00
  • d69bccc797 Misuse of scoped lock. JoelKatz 2013-04-12 18:35:49 -07:00
  • 7d97f314f1 Remove mLedger from PathState. It's not used and it's scary (because an LES could amend it). JoelKatz 2013-04-13 19:17:32 -07:00
  • 298a29ebc6 Some extra assert's and stricter checks. JoelKatz 2013-04-14 03:17:00 -07:00
  • 632ce3d8bd Use isSet rather than isValid to avoid needless crypto operations. JoelKatz 2013-04-14 03:16:42 -07:00
  • f561acd4c8 add 'isSet' to tell if a RippleAddress is non-empty. JoelKatz 2013-04-14 03:16:27 -07:00
  • 1058df99ea Reject objects with duplicate keys. JoelKatz 2013-04-13 21:53:35 -07:00
  • b7484e9264 Make sure we don't use an invalid LES. (Adds asserts.) JoelKatz 2013-04-13 20:25:06 -07:00
  • 8bf3f4f2e3 Use LES::duplicate function instead of copy/bumpSeq. (It does the same thing.) JoelKatz 2013-04-13 19:39:35 -07:00
  • 199029b8b5 Remove mLedger from PathState. It's not used and it's scary (because an LES could amend it). JoelKatz 2013-04-13 19:17:32 -07:00
  • 1f5d380546 Mark some code that doesn't do what it might appear to. JoelKatz 2013-04-13 19:11:55 -07:00
  • 4cf9cae063 More logging for RippleCalc. Arthur Britto 2013-04-13 13:11:27 -07:00
  • 6fe348d7c7 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop Arthur Britto 2013-04-13 12:33:48 -07:00
  • ef499920ba Remove old debug code. JoelKatz 2013-04-13 03:06:06 -07:00
  • bd06b22384 Use the fees that apply, not the transfer rate. JoelKatz 2013-04-13 02:52:58 -07:00
  • 58903e9ed5 Grr! These are way too easy to do by mistake. The following code does nothing useful: ScopedLock(theApp->getMasterLock()); Must be: ScopedLock sl(theApp->getMasterLock()); JoelKatz 2013-04-12 18:36:31 -07:00
  • e5fdc99dd0 Grr! These are way too easy to do by mistake. The following code does nothing useful: ScopedLock(theApp->getMasterLock()); Must be: ScopedLock sl(theApp->getMasterLock()); JoelKatz 2013-04-12 18:36:31 -07:00
  • 3c3f9d3fea Add a way to test if the master lock is held by someone else. JoelKatz 2013-04-12 18:36:03 -07:00
  • 455c73ce4d Misuse of scoped lock. JoelKatz 2013-04-12 18:35:49 -07:00
  • 0359ab5d46 Don't count forced issuer nodes after exchanges because we didn't have to find them. Drop the default maximum path length to four because exchanges to non-XRP aren't overcounted. JoelKatz 2013-04-12 16:11:51 -07:00
  • 2e39dfc15a Don't explore paths if we don't have enough path length left to use them. JoelKatz 2013-04-12 16:03:57 -07:00
  • a38394e1e7 package.json version 0.7.5 Arthur Britto 2013-04-12 10:52:52 -07:00
  • b052975790 Manual fixes. JoelKatz 2013-04-11 14:40:13 -07:00
  • 057adef333 Avoid redundant exploration. JoelKatz 2013-04-07 20:15:01 -07:00
  • aaaa898930 Add destination account. JoelKatz 2013-04-11 13:56:44 -07:00
  • 5542ed51cc Fix createHumanCurrency() to always output instead of throwing. Arthur Britto 2013-04-09 22:13:03 -07:00
  • 3981727293 Return the "destination_currencies" field. JoelKatz 2013-04-09 20:48:53 -07:00
  • 45915d262e Fix memory leak. JoelKatz 2013-04-09 20:25:12 -07:00
  • aad99f4955 Cleanup. JoelKatz 2013-04-09 20:08:19 -07:00
  • 5e834ae652 Pathfinding performance improvements. JoelKatz 2013-04-09 19:42:57 -07:00
  • 4d1ce12505 Cleanup. JoelKatz 2013-04-09 17:01:08 -07:00
  • c03ae4accb Missing free in error case. JoelKatz 2013-04-09 17:00:46 -07:00