Skip to content

Commit

Permalink
Find 'sabfd' paths
Browse files Browse the repository at this point in the history
This permits USD/GW1 to be bridged to USD/GW2 by BTC/GW3 or
USD/GW1 to be bridged to BTC/GW2 by CNY/GW3. See RIPD-335.
  • Loading branch information
JoelKatz authored and mtrippled committed Jul 7, 2014
1 parent 5714b42 commit b2f19e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ripple_app/paths/Pathfinder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ void Pathfinder::initPathTable()
list.push_back(CostedPath_t(6, makePath("safad")));
list.push_back(CostedPath_t(6, makePath("saxfd"))); // source -> gateway -> book to XRP -> book -> destination
list.push_back(CostedPath_t(6, makePath("saxfad")));
list.push_back(CostedPath_t(6, makePath("sabfd"))); // source -> gateway -> book -> book -> destination
list.push_back(CostedPath_t(7, makePath("saaad")));
}

Expand All @@ -927,6 +928,7 @@ void Pathfinder::initPathTable()
list.push_back(CostedPath_t(5, makePath("saxfd")));
list.push_back(CostedPath_t(5, makePath("sxfad")));
list.push_back(CostedPath_t(6, makePath("saxfad")));
list.push_back(CostedPath_t(6, makePath("sabfd")));
list.push_back(CostedPath_t(7, makePath("saafd")));
list.push_back(CostedPath_t(8, makePath("saafad")));
list.push_back(CostedPath_t(9, makePath("safaad")));
Expand Down

0 comments on commit b2f19e8

Please sign in to comment.