Commit Graph

5754 Commits

Author SHA1 Message Date
JoelKatz
45915d262e Fix memory leak. 2013-04-11 14:02:19 -07:00
JoelKatz
aad99f4955 Cleanup. 2013-04-11 14:02:13 -07:00
JoelKatz
5e834ae652 Pathfinding performance improvements. 2013-04-11 14:01:51 -07:00
JoelKatz
4d1ce12505 Cleanup. 2013-04-11 14:01:46 -07:00
JoelKatz
c03ae4accb Missing free in error case. 2013-04-11 14:01:26 -07:00
JoelKatz
7589d2f6e1 Don't let the ripple address cache grow infinitely. 2013-04-11 14:01:18 -07:00
JoelKatz
d0c4dd0222 Typo. 2013-04-11 14:01:12 -07:00
JoelKatz
4c30671372 Be sure not to include XRP twice. 2013-04-11 14:01:06 -07:00
JoelKatz
4abae1d11a Temporarily revert part of previous patch. 2013-04-11 14:00:57 -07:00
JoelKatz
a00ae8864a Widen the ripple paths we explore close to the beginning but narrow them in the middle.
Conflicts:
	src/cpp/ripple/Pathfinder.cpp
2013-04-11 14:00:45 -07:00
JoelKatz
8c3d04caff Include XRP in usAccountSourceCurrencies so that it can't get included twice. 2013-04-11 13:59:21 -07:00
JoelKatz
228a3b5a67 Fix previous commit. 2013-04-11 13:59:11 -07:00
JoelKatz
a132df0535 Don't produce any paths where the input and output are the same account, same currency. 2013-04-11 13:59:04 -07:00
JoelKatz
183a6dbd2c Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-11 13:57:00 -07:00
JoelKatz
49b1da8a09 Add destination account. 2013-04-11 13:56:44 -07:00
Arthur Britto
13b26a95e6 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-09 22:13:15 -07:00
Arthur Britto
1947b56a84 Fix createHumanCurrency() to always output instead of throwing. 2013-04-09 22:13:03 -07:00
JoelKatz
568c27ef86 Return the "destination_currencies" field. 2013-04-09 20:48:53 -07:00
JoelKatz
c93cd6e011 Fix memory leak. 2013-04-09 20:25:12 -07:00
JoelKatz
289e86483a Cleanup. 2013-04-09 20:08:19 -07:00
JoelKatz
fd296b4411 Pathfinding performance improvements. 2013-04-09 19:42:57 -07:00
JoelKatz
ab751ffb27 Cleanup. 2013-04-09 17:01:08 -07:00
JoelKatz
bd3780abbc Missing free in error case. 2013-04-09 17:00:46 -07:00
JoelKatz
21ead9e866 Don't let the ripple address cache grow infinitely. 2013-04-09 17:00:14 -07:00
JoelKatz
dbff221da9 Typo. 2013-04-09 15:50:09 -07:00
JoelKatz
23b94cdbc9 Be sure not to include XRP twice. 2013-04-09 14:21:48 -07:00
JoelKatz
05095ec71d Temporarily revert part of previous patch. 2013-04-09 14:13:17 -07:00
JoelKatz
821fc8abe9 Widen the ripple paths we explore close to the beginning but narrow them in the middle. 2013-04-09 14:09:23 -07:00
Arthur Britto
e810a7c3b4 Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-09 01:21:42 -07:00
Arthur Britto
f2dd80c004 Disallow and remove IOUs denominated in XRP. 2013-04-09 01:21:26 -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
859ff7784d Correctly handle one-element paths. Don't call setCanonical, it's broken. 2013-04-08 18:01:26 -07:00
JoelKatz
c0049542a2 Correctly handle one-element paths. Don't call setCanonical, it's broken. 2013-04-08 17:44:04 -07:00
JoelKatz
46dbd3e967 Emergency fix. boost::format doesn't have the thread safety we thought. 2013-04-08 17:17:16 -07:00
JoelKatz
96e4a078d9 Emergency fix. boost::format doesn't have the thread safety we thought. 2013-04-08 17:16:18 -07:00
Arthur Britto
66db6eac6a Merge branch 'develop' of github.com:jedmccaleb/NewCoin into develop 2013-04-08 16:14:49 -07:00
Arthur Britto
85321afd44 JSON API clean up. 2013-04-08 16:14:35 -07:00
jatchili
6313041025 Disable verbosity by default in account_tx-test.js (still commented out) 2013-04-08 16:05:11 -07:00
JoelKatz
f9b18254ab Fix some paths we missed. 2013-04-08 01:17:55 -07:00
JoelKatz
c4432bfc0c Fix some paths we missed. 2013-04-08 01:17:20 -07:00
JoelKatz
0be086b1a4 Count a path to the destination extra. 2013-04-08 00:10:51 -07:00
JoelKatz
950d6b3f55 Off by one error. Thank you unit tests. 2013-04-08 00:10:41 -07:00
JoelKatz
f78424a2d5 Statistical path exploration. Phase one. 2013-04-08 00:10:36 -07:00
JoelKatz
3f3374d1d8 This is the correct fix. 2013-04-08 00:10:25 -07:00
JoelKatz
56fe0457d6 Add an extra phase to the process of deciding which ripple lines to explore.
It will make sense shortly.
2013-04-08 00:10:09 -07:00
JoelKatz
ebb77d668a Cleanup. 2013-04-08 00:10:01 -07:00
JoelKatz
14a720ebdc Avoid redundant exploration. 2013-04-08 00:09:46 -07:00
JoelKatz
4af8b40e3a Some small optimizations. 2013-04-08 00:09:31 -07:00