Commit Graph

  • a23788de77 Fix a small memory leak. JoelKatz 2012-12-14 08:51:33 -08:00
  • 0cf761b5b1 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-13 17:16:18 -08:00
  • b4175d73ea Fix the shutdown deadlock and a few other problems. Don't wait for SSL shutdown in the websocketpp strand. JoelKatz 2012-12-13 17:15:41 -08:00
  • 5b60c73489 Look in account for sfOwnerCount. Arthur Britto 2012-12-13 17:09:41 -08:00
  • 38650ec819 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-12-13 16:55:50 -08:00
  • df4d2ec149 Check field present for stOwnerCount. Arthur Britto 2012-12-13 16:55:37 -08:00
  • f8e98694c6 Emergency workaround. JoelKatz 2012-12-13 16:41:28 -08:00
  • 345d8013ca Merge branch 'master' into reserve Arthur Britto 2012-12-13 16:41:03 -08:00
  • 26915da1a4 Temporary workaround. JoelKatz 2012-12-13 16:36:20 -08:00
  • e65c390423 Allow larger amounts in normal notation. JoelKatz 2012-12-13 15:56:39 -08:00
  • 72d8811ad3 Add and use new owner_reserve. Arthur Britto 2012-12-13 15:45:49 -08:00
  • 7810cffd18 Sync to C++ code logic. One test fails, I'm tracking it down now. JoelKatz 2012-12-13 15:42:41 -08:00
  • 092fe4389e Tiny optimization -- don't find the entry twice. JoelKatz 2012-12-13 12:15:23 -08:00
  • 4a809a5d1c Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-13 12:10:31 -08:00
  • ef93881d71 Fix the deadlock. We were destroying the WSConnection while holding the MapLock causing a deadlock between the MapLock and MonitorLock. JoelKatz 2012-12-13 12:09:48 -08:00
  • 269abd0131 Fix infinite loop when using a zero amount in a multiplication. Stefan Thomas 2012-12-13 11:28:37 -08:00
  • 25abc284be Fix build issues. JoelKatz 2012-12-13 10:34:13 -08:00
  • 5275d915c9 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-13 00:07:26 -08:00
  • 48f5f25076 This gets as many of the "nice to get right" cases exactly right as possible without failing any of the critical cases. JoelKatz 2012-12-13 00:06:37 -08:00
  • 924e6e95b0 Extra logging. JoelKatz 2012-12-12 23:54:57 -08:00
  • 68327ab27f UT: Fixes for reserves. Arthur Britto 2012-12-12 23:08:18 -08:00
  • 6d3c82ab7b Merge branch 'reserve' Arthur Britto 2012-12-12 21:55:25 -08:00
  • f1735c5cdf Move from account create fee to reserve XRP. Arthur Britto 2012-12-12 21:54:56 -08:00
  • 93e4e4780a Try native*non-native too. JoelKatz 2012-12-12 21:53:13 -08:00
  • d7fcb5c7ba Fix a native*native bug. Add a test to make sure integer multiplications give exact results. JoelKatz 2012-12-12 21:50:07 -08:00
  • 7724b18aeb Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-12 21:17:32 -08:00
  • caf6be04b4 Fix the two bugs that are causing us the most pain. If we encounter an error while processing or handling a connection, don't destroy the endpoint. JoelKatz 2012-12-12 21:17:00 -08:00
  • 55a595a880 "Fix" multiply by disabling rounding - doesn't seem to produce correct results. Stefan Thomas 2012-12-12 20:56:55 -08:00
  • d3c4e704c4 Add tests for Amount#multiply. Stefan Thomas 2012-12-12 20:56:06 -08:00
  • 9e8a25ddb2 Fix semantic errors in Amount#multiply. Stefan Thomas 2012-12-12 20:52:45 -08:00
  • 038b9f3e2a Add product_human, fix ratio_human. Stefan Thomas 2012-12-12 19:27:50 -08:00
  • 02897d37f6 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-12-12 19:09:21 -08:00
  • be5087a9de Embed our own private copy of websocketpp. Arthur Britto 2012-12-12 19:07:03 -08:00
  • 7ec2e5cc3e Remove submodule websocketpp. Arthur Britto 2012-12-12 19:02:02 -08:00
  • 0d5f2d0012 Add ratio_human. Stefan Thomas 2012-12-12 17:39:18 -08:00
  • bc376f7645 JS: Do not retry as much to connect. Arthur Britto 2012-12-12 16:18:59 -08:00
  • 8f1d89cba4 UT: Loosen order of results for offer test. Arthur Britto 2012-12-12 15:42:32 -08:00
  • a15f82863d UT: Fix send balance check. Arthur Britto 2012-12-12 15:42:09 -08:00
  • 895a176611 Make pathfinder return best quality paths. Arthur Britto 2012-12-12 15:41:47 -08:00
  • dd95a4b25e Fix this to match. JoelKatz 2012-12-11 22:57:19 -08:00
  • f27d435bb3 Fix rounding for the last time. It's [(10X+5)(10Y+5)]/100 -- this passes every test I can imagine. (Tests added.) JoelKatz 2012-12-11 22:56:25 -08:00
  • 23790ccaae UT: Fix test setup. Arthur Britto 2012-12-11 21:26:07 -08:00
  • 4752c9ff4e UT: Fix payment test. Arthur Britto 2012-12-11 21:23:56 -08:00
  • 33d6508237 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-12-11 19:48:06 -08:00
  • 8c6419e65b Work in progress on pathfind. Arthur Britto 2012-12-11 19:47:53 -08:00
  • cc592256a1 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-11 18:42:33 -08:00
  • bb77dc2bc0 Cleanup. JoelKatz 2012-12-11 18:42:17 -08:00
  • 94e2affb93 lower account create fee. jed 2012-12-11 18:24:58 -08:00
  • 44b3c6eda7 Restore [(10X+3)(10Y+3)]/100 rounding. JoelKatz 2012-12-11 16:10:13 -08:00
  • 7652a75edb Start of fix. JoelKatz 2012-12-11 16:02:35 -08:00
  • 3d66e30e7e Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-11 15:48:17 -08:00
  • eac6fe88c1 Add support for multiple path finding and path length limiting. Arthur Britto 2012-12-11 15:31:55 -08:00
  • 8faa25e9ff Restore [(10X+3)(10Y+3)]/100 rounding. Arthur, please double check. JoelKatz 2012-12-11 15:12:21 -08:00
  • 154f4bc980 UT: Update tests for path finding. Arthur Britto 2012-12-11 14:03:53 -08:00
  • a1915bd899 Omit default paths from pathfinder results. Arthur Britto 2012-12-11 14:03:32 -08:00
  • 42e3453073 Our new rounding actually does nothing. So let's not round. JoelKatz 2012-12-11 00:17:11 -08:00
  • f2ff4b3773 Simplify multiplication. JoelKatz 2012-12-11 00:15:06 -08:00
  • d705bde28a Cleanup. JoelKatz 2012-12-11 00:09:33 -08:00
  • 1bb3db9a7d Don't set offsets to 'undefined' anymore. JoelKatz 2012-12-11 00:08:52 -08:00
  • 0ebdac4f91 JS: Fix non-XRP add and canonicalize. Arthur Britto 2012-12-10 23:47:14 -08:00
  • fe9610af70 JS: Better but still broken divide and friends again. Arthur Britto 2012-12-10 23:16:07 -08:00
  • 0f8ab00b11 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-12-10 22:33:46 -08:00
  • 2537e47fc0 JS: Better but still broken divide and friends. Arthur Britto 2012-12-10 22:33:33 -08:00
  • 21a611f8e6 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-10 22:05:42 -08:00
  • ddcf87cdb6 Tiny optimization. JoelKatz 2012-12-10 22:05:23 -08:00
  • 13dc3ac1d7 Added some test cases for Amount.add(). Stefan Thomas 2012-12-10 20:36:22 -08:00
  • b520a15ce6 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-10 17:40:01 -08:00
  • 8f0089fc01 Bugfix. JoelKatz 2012-12-10 17:39:48 -08:00
  • dd00d886a0 Use less funky rounding. Tiny optimization. JoelKatz 2012-12-10 17:36:48 -08:00
  • 10935c1773 Fix is_negative for new unified neg. number handling. Stefan Thomas 2012-12-10 17:02:01 -08:00
  • 2ce23c45b2 Add support for mixed operands to divide(). Stefan Thomas 2012-12-10 15:07:02 -08:00
  • 0436928249 expose Seed Vahe Hovhannisyan 2012-12-10 16:05:20 -08:00
  • e6e2ecd80c JS: Export Seed. Arthur Britto 2012-12-10 14:47:54 -08:00
  • 88904e3345 Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-12-10 14:42:37 -08:00
  • 9fc885e1ea JS: Add Seed support and big fix for Amount. Arthur Britto 2012-12-10 14:42:32 -08:00
  • 16c8bebf44 Workaround websocketpp's bad exception logic. JoelKatz 2012-12-10 14:27:43 -08:00
  • 52fc3af69b Fix segfault on start. Stefan Thomas 2012-12-10 13:47:42 -08:00
  • eea2739f53 add seq to offer json jed 2012-12-10 12:05:50 -08:00
  • 35ec825d8c Tie the peer code into the new load management code. JoelKatz 2012-12-10 06:27:52 -08:00
  • 5cbc8f0018 Put this code in the repository for discussion. The goal is to make a simple way to create a tree of parameters that can have compile-time defaults, configuration file overrides, command line overrides, and run-time get/set functionality without having to write any additional code for each parameter. JoelKatz 2012-12-09 21:41:16 -08:00
  • b1dd6c2523 Load types. JoelKatz 2012-12-09 20:37:57 -08:00
  • 92ffca7f42 Get rid of this, merging with LoadManager. JoelKatz 2012-12-09 20:28:08 -08:00
  • 6e6cbe19af JS: Fix for divide. Arthur Britto 2012-12-09 00:15:31 -08:00
  • 50aa2df4aa Merge branch 'master' of github.com:jedmccaleb/NewCoin Arthur Britto 2012-12-09 00:11:22 -08:00
  • ea42fbce26 JS: Amount add multiply and divide. Arthur Britto 2012-12-09 00:03:54 -08:00
  • afabfc8eac JS: Reorder Amount functions alphabetically. Arthur Britto 2012-12-08 23:27:46 -08:00
  • 4ed1b4f267 Dispatch all websocket commands to our pool. This should fix the deadlocks. JoelKatz 2012-12-08 19:54:32 -08:00
  • 66021ab284 Don't lose the thread head when a threaded node (like an offer or contract) is deleted. JoelKatz 2012-12-08 19:12:29 -08:00
  • c9fb25e869 Merge branch 'master' of github.com:jedmccaleb/NewCoin JoelKatz 2012-12-08 19:00:10 -08:00
  • 62611771ac Remove redunant check. JoelKatz 2012-12-08 18:59:56 -08:00
  • e955bc5bb9 JS: Fixes for add and subtract. Arthur Britto 2012-12-08 18:15:37 -08:00
  • f8587c36c3 JS: Add is_zero and compareTo to Amount. Arthur Britto 2012-12-08 17:55:37 -08:00
  • 4126d149cc JS: Add abs, add, and subtract to Amount. Arthur Britto 2012-12-08 17:31:55 -08:00
  • 8801a95409 JS: Rework NaN testing for Amount. Arthur Britto 2012-12-08 17:08:15 -08:00
  • a67f9b9a21 Add link to ripple.txt wiki page. Stefan Thomas 2012-12-08 16:08:31 -08:00
  • 08602614e8 Added CORS requirement for ripple.txt. Stefan Thomas 2012-12-08 16:05:15 -08:00
  • cbeacc5a30 Stray space. JoelKatz 2012-12-08 11:21:07 -08:00
  • bdfa1d03f8 Fix a metadata corrupting bug. You can't use std::sort on a boost ptr_vector. JoelKatz 2012-12-08 11:15:37 -08:00
  • 78f6294832 Don't create a new context for each connection. JoelKatz 2012-12-08 10:42:25 -08:00
  • 502df2f1dd Close the file. JoelKatz 2012-12-08 10:39:48 -08:00