Commit Graph

9612 Commits

Author SHA1 Message Date
JoelKatz
0359ab5d46 Don't count forced issuer nodes after exchanges because we didn't have to find them.
Drop the default maximum path length to four because exchanges to non-XRP aren't overcounted.
2013-04-12 16:11:51 -07:00
JoelKatz
2e39dfc15a Don't explore paths if we don't have enough path length left to use them. 2013-04-12 16:03:57 -07:00
Arthur Britto
a38394e1e7 package.json version 0.7.5 2013-04-12 10:52:52 -07:00
JoelKatz
b052975790 Manual fixes. 2013-04-11 14:40:13 -07:00
JoelKatz
057adef333 Avoid redundant exploration.
Conflicts:
	src/cpp/ripple/Pathfinder.cpp
	src/cpp/ripple/Pathfinder.h
2013-04-11 14:08:49 -07:00
JoelKatz
aaaa898930 Add destination account. 2013-04-11 14:02:38 -07:00
Arthur Britto
5542ed51cc Fix createHumanCurrency() to always output instead of throwing. 2013-04-11 14:02:30 -07:00
JoelKatz
3981727293 Return the "destination_currencies" field. 2013-04-11 14:02:24 -07:00
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