Commit Graph

  • 82b91a1c41 Avoid excessive resizing. JoelKatz 2013-03-14 10:00:44 -07:00
  • e56f7a8689 Fix a rare race condition. JoelKatz 2013-03-14 09:48:43 -07:00
  • bc2533caae ripple-lib version 0.7.4 Arthur Britto 2013-03-13 23:01:13 -07:00
  • 38ab300310 Minor cleanup. Arthur Britto 2013-03-13 22:28:15 -07:00
  • 91f7bab7e4 Don't let people send more XRP than they have. Arthur Britto 2013-03-13 22:14:24 -07:00
  • 7bd96e9f2f Make the transaction application parameters accessible from the LES. JoelKatz 2013-03-13 21:59:43 -07:00
  • 8fdd637828 JS: Hold requests until connection is established. Stefan Thomas 2013-03-13 19:15:37 +01:00
  • 7b60e3f87b JS: Fix orderbook subscribe on (re)connect. Stefan Thomas 2013-03-13 18:54:28 +01:00
  • 882f7d4305 JS: Don't count OfferCancel transactions as trades. Hurp Durp. Stefan Thomas 2013-03-13 18:54:08 +01:00
  • 2b3a39ddd9 JS: Better deal with buggy WebSocket implementations. Stefan Thomas 2013-03-13 17:57:54 +01:00
  • 1a7d542396 JS: Factored server-related logic out into separate Server class. Stefan Thomas 2013-02-19 17:33:36 +01:00
  • 0d5b2eb469 JS: state_now -> snapshot, both_sides -> both Stefan Thomas 2013-03-13 09:35:53 +01:00
  • f1e2e2f510 Reduce logging. JoelKatz 2013-03-12 22:43:48 -07:00
  • 77694b7d72 Change deprecated "start_now" to "state_now" to work with the current client which should switch to "snapshot" ASAP. JoelKatz 2013-03-12 22:19:23 -07:00
  • 2248d92a33 Wrap all peer socket accesses in a strand. This is needed to prevent a fatal race condition in composed intermediary functions. JoelKatz 2013-03-12 16:53:30 -07:00
  • c85fc7ef64 Bug that crashed client machine. JoelKatz 2013-03-12 15:57:25 -07:00
  • 983175fa61 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-03-12 15:45:56 -07:00
  • ee926f3a40 More parameter checking for RPC. Arthur Britto 2013-03-12 15:45:44 -07:00
  • e01fd6ce60 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-03-12 15:30:16 -07:00
  • dd387b840a Fix count JoelKatz 2013-03-12 15:29:56 -07:00
  • 8a6e477b5e Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-03-12 15:18:24 -07:00
  • 5a08930d65 Better parameter checking for RPC subscribe books. Arthur Britto 2013-03-12 15:17:45 -07:00
  • e9a02882f1 Don't let ledger fetching go too fast. JoelKatz 2013-03-12 15:17:26 -07:00
  • 0b52905cb7 Fix another thread race in the websocketpp data code. JoelKatz 2013-03-12 14:12:48 -07:00
  • e31eb67b10 Fix typo. JoelKatz 2013-03-12 14:05:33 -07:00
  • 455f60feae Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-03-12 14:03:32 -07:00
  • ba7d40ad63 TransID cannot be primary key. JoelKatz 2013-03-12 14:02:48 -07:00
  • f4a5c23f88 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-03-12 12:53:32 -07:00
  • 04a825298e Clean up and secure subscribe books. Arthur Britto 2013-03-12 12:53:06 -07:00
  • b4ba979ad7 Improve documentation. JoelKatz 2013-03-12 12:32:32 -07:00
  • ae26c6cc59 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-03-12 11:41:14 -07:00
  • d5c52df10d Revise url subscribe username and password API Arthur Britto 2013-03-12 11:41:04 -07:00
  • c9161b9b1c waitWrite could cause a deadlock. JoelKatz 2013-03-12 11:30:23 -07:00
  • e9324204ef Don't allow subscribe to invalid market. JoelKatz 2013-03-12 09:51:37 -07:00
  • 1d4cb0c943 Missing validity check. JoelKatz 2013-03-12 09:48:35 -07:00
  • 80233579f1 Add a function to check if a currency/issuer/currency/issuer set defines a valid order book. JoelKatz 2013-03-12 09:42:38 -07:00
  • 7285f98972 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-03-12 09:25:17 -07:00
  • b3c0b7b51f Mark a critical FIXME. JoelKatz 2013-03-12 09:24:55 -07:00
  • 7a65dbdcf4 JS: Emit orderbook events when trades happen. Stefan Thomas 2013-03-12 13:59:21 +01:00
  • 0963263f15 JS: Removed some debug code. Stefan Thomas 2013-03-12 13:19:12 +01:00
  • 51f47a8974 JS: Realtime orderbooks. Stefan Thomas 2013-03-12 13:09:39 +01:00
  • 049f92e882 Clean up orderbook-related variable naming. Stefan Thomas 2013-03-12 12:35:38 +01:00
  • 8792746ae1 JS: Fix Currency#is_valid. Stefan Thomas 2013-03-11 14:17:57 +01:00
  • 145eed041d Instrument HOS::retrieve. JoelKatz 2013-03-12 00:56:13 -07:00
  • b9433d4780 Correct chatty log. JoelKatz 2013-03-12 00:53:02 -07:00
  • 8874dd3f01 Remove chatty debug. JoelKatz 2013-03-11 23:33:09 -07:00
  • 52fb8e1f82 Typo. JoelKatz 2013-03-11 23:33:02 -07:00
  • a59e0f940b Fix. JoelKatz 2013-03-11 23:32:40 -07:00
  • 1cd65213d8 Simplify and fix possible bugs in the way accepted ledgers are written to SQL. Set up for ledger scraping. JoelKatz 2013-03-11 23:20:26 -07:00
  • 01655f4fe1 Remove abort. JoelKatz 2013-03-11 22:20:05 -07:00
  • 39d85b7b9e Missing lock. JoelKatz 2013-03-11 22:14:55 -07:00
  • 1aef1ca4f6 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-03-11 18:59:36 -07:00
  • 2e7a2fd696 Canonicalize API protocol. Arthur Britto 2013-03-11 18:58:47 -07:00
  • b51a9fc371 SQLite's query optimizer handles an INNER JOIN much better than a nested SELECT. JoelKatz 2013-03-11 18:42:21 -07:00
  • 566b36715d Simplify the ledger acquire logic. This fixes a few bugs related to it including the issue if you remove the ledger DB. JoelKatz 2013-03-11 17:57:12 -07:00
  • 2c88637cf9 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-03-11 15:31:45 -07:00
  • c2e072b431 Extra logging. JoelKatz 2013-03-11 15:31:32 -07:00
  • 774c38f99c Fix tie breaking in ledger validation during preClose consensus phase. JoelKatz 2013-03-11 15:30:55 -07:00
  • 19ee5c6c22 Remove incorrect comment. JoelKatz 2013-03-11 15:30:41 -07:00
  • 4407415692 Update CallRPC for revised RPC ledger. Arthur Britto 2013-03-11 12:04:36 -07:00
  • 87de433732 Fix the ledger selection bug. JoelKatz 2013-03-11 09:21:52 -07:00
  • c26726eff3 Bugfix for ledger acquired but not written to database with txns. JoelKatz 2013-03-11 09:19:54 -07:00
  • 6929579660 I like parentheses. JoelKatz 2013-03-11 09:05:13 -07:00
  • 58b6466a2d Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-03-11 07:22:57 -07:00
  • 489458364e Fix a broken scoped unlock. JoelKatz 2013-03-11 07:22:42 -07:00
  • f4e22a8968 Use emplace where we can. (On inserts into unordered maps.) JoelKatz 2013-03-11 03:58:27 -07:00
  • 384da92474 Revert SJCL downgrade. Stefan Thomas 2013-03-11 11:13:17 +01:00
  • 77ff48ebf2 JS: Make transaction signing not require remote. Arthur Britto 2013-03-11 03:04:22 -07:00
  • ddf0d7c2f9 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-03-11 02:58:11 -07:00
  • 4cc941d77e ripple-lib version 0.7.3 Arthur Britto 2013-03-11 02:58:04 -07:00
  • a874b02183 Add command line signing tool. Arthur Britto 2013-03-11 02:54:35 -07:00
  • f3b837eea6 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-03-11 02:21:36 -07:00
  • 23fa7ab67e Don't try to print ledger sequences using %d JoelKatz 2013-03-11 02:18:32 -07:00
  • 79e8734c54 Remove broken code. (Was commented out anyway.) JoelKatz 2013-03-11 02:14:25 -07:00
  • b31c2ea601 JS: Orderbook: Get current state when subscribing. Stefan Thomas 2013-03-11 09:28:37 +01:00
  • 99c2f44cfa JS: Fix missing boundary bytes in PathSet serialization. Stefan Thomas 2013-03-11 09:27:03 +01:00
  • 70711944ac JS: Utility function to convert ripple epoch to JS timestamp. Stefan Thomas 2013-03-10 21:42:44 +01:00
  • 204fed2fba A few last details. JoelKatz 2013-03-11 01:00:41 -07:00
  • 39f2b95140 More convenience functions. JoelKatz 2013-03-11 00:59:57 -07:00
  • 495ddae438 Fixes. JoelKatz 2013-03-11 00:44:55 -07:00
  • e287000438 Fixes. JoelKatz 2013-03-11 00:40:26 -07:00
  • 275a4a22d7 Fixes. JoelKatz 2013-03-10 21:55:33 -07:00
  • 466ac77527 Don't round so aggressively. JoelKatz 2013-03-10 21:36:00 -07:00
  • a85b38e8e3 Bugfixes. JoelKatz 2013-03-10 21:33:59 -07:00
  • 31134b06b1 Only round on first scaling divide. JoelKatz 2013-03-10 21:30:07 -07:00
  • 33bb64e4d7 Missing from previous commit. JoelKatz 2013-03-10 21:24:07 -07:00
  • 27a7ac75de Add, subtract, multiply, and divide with specified rounding direction. CAUTION: This is still untested and undebugged code. Only divRound has been even slightly tested. JoelKatz 2013-03-10 21:22:01 -07:00
  • 92318a47bd Log when we would disconnected, but don't actually disconnect for now. JoelKatz 2013-03-10 19:15:28 -07:00
  • 4b449b5c99 Fix sign. JoelKatz 2013-03-10 19:07:11 -07:00
  • 9cafb7a2a6 Fix load manager buglets. JoelKatz 2013-03-10 19:05:22 -07:00
  • 8d660736a8 Fix cases where we don't relay transactions. JoelKatz 2013-03-10 18:27:02 -07:00
  • 6f40e17bad Remove broken workaround. JoelKatz 2013-03-10 17:04:10 -07:00
  • 6f811f1e96 Back out some Ledger::ref uses that scare me. JoelKatz 2013-03-10 16:03:23 -07:00
  • 6cacfe8aaf Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-03-10 15:32:42 -07:00
  • ec77707c39 Make clear that transJson can only be used to publish transactions. Put a 'validated' field in published transactions. JoelKatz 2013-03-10 15:32:02 -07:00
  • 1479590af1 Rework RPC ledger. Arthur Britto 2013-03-10 15:18:35 -07:00
  • 667b8ee1e7 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2013-03-10 15:17:15 -07:00
  • dc69a41979 Renumber special ledger_indexes and move RPC ledger to new format. Arthur Britto 2013-03-09 18:28:08 -08:00
  • 60b0e5c41a Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2013-03-09 17:14:22 -08:00
  • ed871e6bc2 Some asserts to catch some possible causes of the SHAMap destructor crash. JoelKatz 2013-03-09 17:13:59 -08:00