Skip to content

Make pathFinder mode able to use n-length paths #9

@Reidmcc

Description

@Reidmcc

Describe the solution you'd like

I want to have pathFinder check n-length paths, instead of hard-coded three-asset paths as it does now.

Right now it does this path structure:

XLM ➡️ USD ➡️ EUR ➡️ XLM

With this feature it could also do, for example:

XLM ➡️ USD ➡️ EUR ➡️ CNY ➡️ XLM

Describe alternatives you've considered
This would be an adaptation of the n-path code that pathRequester already has; pathRequester itself was the alternative to pathFinder's current behavior but the rest of pathRequester didn't perform well.

Requirements

  • Change pathFinder's PaymentPath so it uses a list of pairs
  • Make MakePathPayment behave like makePathPaymentredux, but for rockfish's native structs instead of Horizon's json return
  • Update pathFinder's configuration to accommodate the changes

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions