Commit Graph

  • 2de9ffe4dc Up target latencies for client commands. JoelKatz 2013-02-20 14:28:16 -08:00
  • 52c378411d If we start seeing acquire timeouts, don't start new acquires. The link could be overloaded. JoelKatz 2013-02-20 13:30:57 -08:00
  • 25c52b1a4d Use getSLEi to get an immutable SLE. This lets us cache them. JoelKatz 2013-02-20 12:00:38 -08:00
  • ba37349b95 Function to get map entry with its hash. JoelKatz 2013-02-20 11:59:33 -08:00
  • 24355e17fb I apologize for this moderate buchery, but we need to save the calls to base58::ToString JoelKatz 2013-02-20 11:58:57 -08:00
  • 3191bd4922 Limit paths returned by pathfinder. Arthur Britto 2013-02-20 11:06:57 -08:00
  • 4ad437c783 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-20 11:05:18 -08:00
  • 4bc9a9fdb0 Allow -3 to select last fully-validated ledger. JoelKatz 2013-02-20 09:41:23 -08:00
  • 7552f9eacf Some optimizations. JoelKatz 2013-02-20 09:33:09 -08:00
  • c375d2d96b Logging reduction. JoelKatz 2013-02-19 15:44:12 -08:00
  • 4d6bf6fd43 Logging reductions. JoelKatz 2013-02-19 15:41:03 -08:00
  • 7c7944a82c Disambiguate rpcSRC_ACT_NOT_FOUND errors so it's clear when it's the secret that's at fault. JoelKatz 2013-02-19 13:48:46 -08:00
  • 637b7e5431 Make the CA servers used for outbound HTTPS connections configurable. JoelKatz 2013-02-19 13:48:25 -08:00
  • fb5637d3e0 Add hotwallets to ripple-example.txt Arthur Britto 2013-02-19 13:38:49 -08:00
  • 6c6e8777f4 Log outbound connection certificate verification failures. JoelKatz 2013-02-19 13:11:24 -08:00
  • 875b47ca75 Typo. JoelKatz 2013-02-19 07:59:21 -08:00
  • 47167a4e36 Typo. JoelKatz 2013-02-19 07:57:57 -08:00
  • 6ba2d4fd61 Make types compatible. JoelKatz 2013-02-18 12:06:43 -08:00
  • 9f3f86fe4e Extra constructor. JoelKatz 2013-02-18 12:06:18 -08:00
  • ea00a06dba Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-18 12:05:21 -08:00
  • 97b748afe7 Fix startup with no configured peer_ip. JoelKatz 2013-02-18 12:04:06 -08:00
  • d3b7a59b91 CLI: Add help for account_tx. Stefan Thomas 2013-02-18 15:07:27 +01:00
  • 594e3d7f3f JS: Correct object reference in Account. Stefan Thomas 2013-02-18 14:59:22 +01:00
  • 68403ae1a2 JS: Fix Add for Amount. Arthur Britto 2013-02-18 00:41:57 -08:00
  • 8d249e2403 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-17 23:20:13 -08:00
  • 4c8d405cc1 JS: Fix add of zero for non-XRP. Arthur Britto 2013-02-17 23:19:31 -08:00
  • 46223e26bf Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-17 23:00:04 -08:00
  • 2ad9ccdc10 JS: Amount set_currency() nows sets _is_native. Arthur Britto 2013-02-17 22:57:12 -08:00
  • 0d18274a69 JS: Add is_positive() to Amount. Arthur Britto 2013-02-17 22:04:44 -08:00
  • fbc619c2e3 Move gateways option to opts instead of config. Arthur Britto 2013-02-17 21:07:09 -08:00
  • 676fb5462a Set the 'validated' field a bit more logically. JoelKatz 2013-02-17 17:10:17 -08:00
  • 72ee15afe9 Improve account_tx. Better performance, identify fully-validated transactions. JoelKatz 2013-02-17 16:49:57 -08:00
  • bff793916e Missing type. JoelKatz 2013-02-17 16:49:53 -08:00
  • a941a575ec Make sure we always have a "last validated ledger". JoelKatz 2013-02-17 16:49:37 -08:00
  • 84a2af37f9 Add 'getValidatedSeq'. JoelKatz 2013-02-17 16:49:24 -08:00
  • 862dbd7234 Add NetworkOPs::isValidate functions to check if a ledger is fully validated. JoelKatz 2013-02-15 19:01:48 -08:00
  • fd009a750a Validated check was backwards. JoelKatz 2013-02-15 10:40:00 -08:00
  • 78f058d710 Add a 'validated' field to the 'tx' output. If true, the transaction metadata came from a fully-validated ledger. JoelKatz 2013-02-15 09:32:24 -08:00
  • 690672348d NPM: Add grunt dependency. Needed for new grunt installation method. Stefan Thomas 2013-02-15 14:55:29 +01:00
  • efbc62b126 Git fix: Re-add meta.js Stefan Thomas 2013-02-15 14:51:52 +01:00
  • ba198b7806 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-15 05:40:55 -08:00
  • 792fa050ef JS: Correctly calculate affected accounts when routing account events. Stefan Thomas 2013-02-15 14:43:24 +01:00
  • dc7f026bb2 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-15 05:39:28 -08:00
  • dbfce52d53 JS: Correctly calculate affected accounts when routing account events. Stefan Thomas 2013-02-15 14:43:24 +01:00
  • 158aa7c454 Make the 'tx' command return metadata if possible. Allow the ledger to be specified a bit more flexibly in account_tx. JoelKatz 2013-02-15 05:38:19 -08:00
  • 7bbf01e114 Function to get just txn metadata. JoelKatz 2013-02-15 05:38:01 -08:00
  • dd7f8aa8d1 Add strict option to RPC account_info and allow last closed ledger to be specified. Arthur Britto 2013-02-14 23:51:57 -08:00
  • 636987a61b Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-14 22:23:32 -08:00
  • c559fd2fb3 JS: Fix Account class realtime event processing. Stefan Thomas 2013-02-14 07:14:50 +01:00
  • 9ac327f6cb UT: Add a path find test. (disabled) Arthur Britto 2013-02-13 21:07:14 -08:00
  • e62e5f5fa2 Fixes for brute force path finding. Arthur Britto 2013-02-13 17:00:30 -08:00
  • 235ab44728 Add RPC ping. Arthur Britto 2013-02-13 14:50:05 -08:00
  • 73f96aa0d5 JS: Account class keeps track of AccountRoot entry. Stefan Thomas 2013-02-13 18:32:36 +01:00
  • 0c3c79211e JS: Allow an integer factor in Amount#product_human. Stefan Thomas 2013-02-13 18:32:14 +01:00
  • 8fbfeb082b JS: Typo. Stefan Thomas 2013-02-13 18:13:29 +01:00
  • ef3dd3ca77 Don't recompute the OrderBookDB too many times more than needed. JoelKatz 2013-02-13 09:31:52 -08:00
  • ef82b050ed Fix a bug Arthur caught. JoelKatz 2013-02-13 08:48:51 -08:00
  • d767da37d8 Shamelessly stolen from the 'fastertest' patch. This makes the unit tests run about 70% faster and solves a long-standing annoyance that running in standalone mode could contaminate your databases. JoelKatz 2013-02-13 05:37:15 -08:00
  • fa2283f234 Micro-optimization. JoelKatz 2013-02-13 05:34:19 -08:00
  • cf02cfd089 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-13 05:28:16 -08:00
  • ca57bf8290 Don't wipe the order book while it's being used. Fix OrderBookDB::getBooks so it can return something. Fix some cases of the find/[] anti-pattern. (You don't need to search twice.) JoelKatz 2013-02-13 05:27:31 -08:00
  • 85f9f67865 JS: Fix Transaction#paths. Stefan Thomas 2013-02-13 12:57:59 +01:00
  • 1bac4cb1f2 JS: Prevent duplicate WebSocket objects. Stefan Thomas 2013-02-13 09:53:09 +01:00
  • 57a9f6afdc Logging reductions. JoelKatz 2013-02-13 00:09:12 -08:00
  • 25109d7298 Fix a race condition that can cause a crash on startup. JoelKatz 2013-02-12 23:20:20 -08:00
  • 62170d194a Suppress a warning. Micro-optimization. JoelKatz 2013-02-12 22:08:55 -08:00
  • 73fe72bfa3 Track whether a message is a broadcast. If a broadcast, log at a lower level. JoelKatz 2013-02-12 22:05:46 -08:00
  • 1cf14d68be Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-12 20:40:30 -08:00
  • cb111b6318 Path finding fixes: Track path finding and order book creation time and latency. Use a ledger snapshot for path finding. You can't call getCurrentLedger from an unlocked context. Pathfinding called from the transaction sign function held the master lock. JoelKatz 2013-02-12 20:39:00 -08:00
  • 5715cf35c2 Document [path_search_size] in rippled-example.cfg. Arthur Britto 2013-02-12 18:57:32 -08:00
  • ef5069a706 Make pathfinder search size configurable, reduce to 5. Arthur Britto 2013-02-12 18:41:52 -08:00
  • e5b75c66a1 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-12 16:05:15 -08:00
  • 7e271ce509 Pathfinding now verifies source and destination accounts exist. Arthur Britto 2013-02-12 16:05:03 -08:00
  • 8a4820cf34 JS: Add some more canonical event names as alternatives. Stefan Thomas 2013-02-12 18:54:45 +01:00
  • 5942f2dd9f JS: Handle account events through Account class. Stefan Thomas 2013-02-12 18:35:30 +01:00
  • 7d8624d0e7 Fix two minor bugs with reporting load fees. JoelKatz 2013-02-11 23:30:35 -08:00
  • 61c84eba2e UT: Add test for OfferCreate respecting reserves and unfunded source. Arthur Britto 2013-02-11 23:02:13 -08:00
  • 046c158dfa Fix OfferCreate noticing unfunded source after fees. Arthur Britto 2013-02-11 23:01:20 -08:00
  • b05c5c3892 Fix calculation of XRP available after reserve. Arthur Britto 2013-02-11 22:59:50 -08:00
  • dce8a65fbc Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-11 22:23:52 -08:00
  • 92292a178b Bring some sanity to integer->STAmount constructors. JoelKatz 2013-02-11 22:19:21 -08:00
  • f425d2b1ec Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-11 22:02:53 -08:00
  • 33154e4ef5 Two more missing constructor bugs. Cleanup. JoelKatz 2013-02-11 22:01:55 -08:00
  • 9740b994a4 Tiny cleanup. JoelKatz 2013-02-11 21:42:02 -08:00
  • 8501f0000b Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-11 21:27:53 -08:00
  • 1dedb2b190 Arthur found a missing constructor that breaks handling negative native amounts. JoelKatz 2013-02-11 21:24:42 -08:00
  • 632bcafa7e Cosmetic. Arthur Britto 2013-02-11 18:39:19 -08:00
  • 0d03c1fb4a Fix a bug that causes outbound notifications to URLs to fail. JoelKatz 2013-02-11 18:00:22 -08:00
  • 341d198ffe Must check sequence before checking fee and signature. Otherwise lots of bad things happen: 1) We needlessly check signatures on applied. 2) We return the wrong error code if a transaction that was already applied has an insufficient fee. JoelKatz 2013-02-11 16:48:52 -08:00
  • b512ed3df2 Correctly handle local failures in the consensus transaction application process. Local failures are not retriable. JoelKatz 2013-02-11 16:43:29 -08:00
  • d0e85ff4b4 Make sure all fee schedule changes are reported to clients. JoelKatz 2013-02-11 14:50:15 -08:00
  • 4261b1c2d0 Quick hack to stop core dumps on shutdown. The client needs to be shutdown before the job queue. This just prevents it from tripping. JoelKatz 2013-02-11 07:00:09 -08:00
  • 35eb2d71ea Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-02-11 02:34:44 -08:00
  • 3f05907f23 Fix one-liner. JoelKatz 2013-02-11 02:34:17 -08:00
  • ef4e75318f JS: Fixes for load. Arthur Britto 2013-02-10 23:55:12 -08:00
  • fc0611916e JS: Fixes for load. newcoin 2013-02-10 23:52:42 -08:00
  • a1a12682ab More verbose logging about subscribing. Arthur Britto 2013-02-10 21:49:08 -08:00
  • a62c72d79b More verbose logging about publishing. Arthur Britto 2013-02-10 21:48:42 -08:00
  • 7ac4bced80 Warn if configuration has wrong number of lines when single expected. Arthur Britto 2013-02-10 21:48:03 -08:00
  • fffc276d7a Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-02-10 17:14:44 -08:00