Commit Graph

24 Commits

Author SHA1 Message Date
JoelKatz
d193608aa1 More PFRequest work. Advanced features. 2013-05-02 01:04:16 -07:00
JoelKatz
9df93f4202 Break the ripple line cache into its own structure 2013-04-30 15:57:11 -07:00
JoelKatz
568c27ef86 Return the "destination_currencies" field. 2013-04-09 20:48:53 -07:00
JoelKatz
9f1c975268 Include XRP in usAccountSourceCurrencies so that it can't get included twice. 2013-04-09 00:43:22 -07:00
JoelKatz
b2853161df Fix previous commit. 2013-04-08 19:20:44 -07:00
JoelKatz
24295031c1 Don't produce any paths where the input and output are the same account, same currency. 2013-04-08 19:18:29 -07:00
JoelKatz
f9b18254ab Fix some paths we missed. 2013-04-08 01:17:55 -07:00
JoelKatz
6d9a27e593 Count a path to the destination extra. 2013-04-07 23:55:54 -07:00
JoelKatz
ae7fc56e6b Statistical path exploration. Phase one. 2013-04-07 23:21:26 -07:00
JoelKatz
a47b89422f Cleanup. 2013-04-07 20:46:33 -07:00
JoelKatz
f405a492a4 Avoid redundant exploration. 2013-04-07 20:15:01 -07:00
JoelKatz
ef3dd3ca77 Don't recompute the OrderBookDB too many times more than needed. 2013-02-13 09:31:52 -08:00
JoelKatz
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.)
2013-02-13 05:27:31 -08:00
JoelKatz
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.
2013-02-12 20:39:00 -08:00
jed
62f6d030c6 still working 2013-01-31 10:59:19 -08:00
Arthur Britto
8df9519a1c Add a default for currencies for ripple_find_path. 2013-01-11 18:55:13 -08:00
JoelKatz
8a1033caad Second round of removing extraneous copy constructor and destructor calls. 2012-12-17 20:31:26 -08:00
Arthur Britto
eac6fe88c1 Add support for multiple path finding and path length limiting. 2012-12-11 15:31:55 -08:00
Arthur Britto
01f1e6c337 Work on path finding. 2012-12-05 18:02:24 -08:00
Arthur Britto
6d8afeca47 Work on path finder integration. 2012-11-30 17:14:25 -08:00
Arthur Britto
64ec8a7b6f Make ripple_path_find more robust and clean up. 2012-11-22 19:10:43 -08:00
Arthur Britto
5c1605ab35 Rough cut at ripple_path_find. 2012-11-22 14:03:32 -08:00
Arthur Britto
4e713c58ad Work toward ripple_path_find. 2012-11-22 11:51:40 -08:00
Stefan Thomas
fa3fab5816 Moved cpp code to src/cpp and js code to src/js. 2012-11-07 12:49:50 -08:00