Commit Graph

5053 Commits

Author SHA1 Message Date
JoelKatz
03a72b3e08 Create lines databases. 2013-03-19 03:26:44 -07:00
JoelKatz
87840de307 Merge branch 'master' of github.com:jedmccaleb/NewCoin into new_pathfinding 2013-03-19 03:01:33 -07:00
Arthur Britto
d5a2c96907 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-19 02:34:35 -07:00
Arthur Britto
9a7cbe0ce7 Only use c++11 for gcc 4.7 or later. 2013-03-19 02:34:22 -07:00
Arthur Britto
05e8caa50a More work on browser.js. 2013-03-19 01:58:32 -07:00
JoelKatz
5bc7e36df5 Fix the fix. 2013-03-18 21:22:54 -07:00
JoelKatz
1fdf27ca72 Fix bug that causes ledger synching take much more CPU and memory than it should. 2013-03-18 21:18:07 -07:00
JoelKatz
86222495cd Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-18 18:07:23 -07:00
JoelKatz
42c7ec7965 Make sure we maintain cluster connections. 2013-03-18 18:07:03 -07:00
Arthur Britto
f30624bb3d Work on browser.js. 2013-03-18 17:20:16 -07:00
JoelKatz
7a6a199df4 Take advantage of perfect forwarding in a few more places. 2013-03-18 03:10:54 -07:00
JoelKatz
125c5273a6 Dispatch transaction from job queue, not I/O service. Mark a FIXME where we don't do this. 2013-03-18 03:10:20 -07:00
JoelKatz
00913f838f Fix the 'getAccountHash() == mAccountStateMap->getHash()' bug.
'getNeededHashes' can do the wrong thing (report no needed hashes when we
need them all) if we have a ledger's root node but not the root node of the
tree we're querying.
2013-03-17 22:04:34 -07:00
JoelKatz
9edfd51430 Reduce some log severities. 2013-03-17 21:24:56 -07:00
JoelKatz
6bc474c461 tryLocal should only check the hash database. 2013-03-17 17:30:35 -07:00
JoelKatz
a4c4ada7e2 Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-17 16:51:58 -07:00
JoelKatz
1994ed96dd Try to catch the acquire ledger bug earlier. 2013-03-17 16:51:44 -07:00
Stefan Thomas
39c63550ee JS: Expose Meta class. 2013-03-17 20:09:57 +01:00
JoelKatz
74bf47c73d Defer acquire timeouts if ledger data is backing up. 2013-03-16 18:30:26 -07:00
JoelKatz
a12c72f422 Be more careful not to tamper with an acquired ledger/map after
it has completed.
2013-03-16 18:22:35 -07:00
JoelKatz
47ffc5ff12 Some extra debug logging. 2013-03-16 16:41:13 -07:00
JoelKatz
efcc7b885c Use a special pair with the inner objects const when looking up order books.
See: http://ideone.com/QggSh9
2013-03-16 04:59:52 -07:00
JoelKatz
e477bcd6a9 Merge branch 'master' of github.com:jedmccaleb/NewCoin into new_pathfinding 2013-03-16 04:53:05 -07:00
JoelKatz
b9456c8fd7 Except when interacting with boost, use std::function and std::bind
when C++11 is available. See: http://stackoverflow.com/questions/14617835
2013-03-16 03:27:43 -07:00
JoelKatz
606dff758c Support compiling with C++11 rules. Compile C++11 by default.
This gives us some significant performance boosts when containers and binds.
2013-03-16 02:38:05 -07:00
JoelKatz
2c7bbc0ea8 Preprocessor fix. 2013-03-16 01:57:59 -07:00
JoelKatz
9db1711d38 Preprocessor likes spaces between some tokens. 2013-03-16 01:55:57 -07:00
JoelKatz
986cce6335 Fix case sensitive header issues. 2013-03-16 01:09:34 -07:00
JoelKatz
51320d8746 Whitespace fix. 2013-03-16 01:08:55 -07:00
JoelKatz
e310b49353 Fix parsing of split headers. 2013-03-16 00:21:44 -07:00
JoelKatz
f222544048 Do the same thing for timer entry. 2013-03-15 22:50:26 -07:00
JoelKatz
e392366c63 Get ledger acquire work off the main thread and out of the master lock.
Prioritize ledger acquire work appripriately. This should help prevent the
server from becoming overly sluggish while acquiring ledgers. Still todo:
Finish all pending receive operations before sending out any data requests.
2013-03-15 22:34:55 -07:00
JoelKatz
7a76cfe7da Fix handling of some edge auto-detect SSL cases. This should fix the Dart
issue.
2013-03-15 16:54:27 -07:00
JoelKatz
5f35afc645 This makes more sense. 2013-03-15 02:38:47 -07:00
JoelKatz
64b2a50e8b Temporarily disable dropCache. 2013-03-15 02:25:59 -07:00
JoelKatz
4322403987 Fix unrouted log. 2013-03-15 02:22:54 -07:00
JoelKatz
abbbe6d05a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-15 01:25:09 -07:00
JoelKatz
a8552ec4f6 Fix a ledger acquire race that caused a crash. 2013-03-15 01:19:49 -07:00
JoelKatz
98a4dfe015 Tweaks. 2013-03-15 01:15:29 -07:00
Arthur Britto
1ceb383eb3 JS: Fix access to Transaction. 2013-03-14 20:56:22 -07:00
Arthur Britto
1bca0154da JS: Export Transaction. 2013-03-14 20:38:50 -07:00
Arthur Britto
96286afca6 JS: Add ImmediateOrCancel and FillOrKill to Transaction flags. 2013-03-14 19:33:48 -07:00
JoelKatz
d102f2d942 Merge branch 'master' of github.com:jedmccaleb/NewCoin into new_pathfinding 2013-03-14 18:54:40 -07:00
JoelKatz
0baccf10b0 Cleanups needed to support new code. 2013-03-14 18:46:52 -07:00
Arthur Britto
e18666424a Merge branch 'master' of github.com:jedmccaleb/NewCoin 2013-03-14 18:04:08 -07:00
Arthur Britto
fde60c1b19 UT: New test for quality payment. 2013-03-14 18:03:51 -07:00
Arthur Britto
56308f39ce UT: Verify quality setting. 2013-03-14 16:40:43 -07:00
Arthur Britto
d3e787307d JS: Adjust request_ripple_balance results. 2013-03-14 16:40:15 -07:00
Arthur Britto
bbef32bcd7 UT: Revise for new request_ripple_balance. 2013-03-14 15:35:30 -07:00
Arthur Britto
b53cbe6dca JS: Enhance request_ripple_balance. 2013-03-14 15:34:19 -07:00