Giter Site home page Giter Site logo

Comments (8)

emschwartz avatar emschwartz commented on May 29, 2024

cc @justmoon @diminator @ameensol

from rfcs.

sentientwaffle avatar sentientwaffle commented on May 29, 2024

@emschwartz what will js-ilp-core's client.quote API look like, then? Should it accept a list of connectors to query?

from rfcs.

diminator avatar diminator commented on May 29, 2024

I am assuming that the quoting/discovery be out-of-ledger responsibilities?

from rfcs.

emschwartz avatar emschwartz commented on May 29, 2024

I think that information would be stored in the (core client's) routing table. I don't have a totally clear picture of how this would work. @justmoon could you explain what you're thinking about this?

from rfcs.

justmoon avatar justmoon commented on May 29, 2024

@emschwartz is correct, you'd configure it via the routing table. I.e. 99% of the time client would put a single catch-all connector ("gateway"?).

from rfcs.

adrianhopebailie avatar adrianhopebailie commented on May 29, 2024

@emschwartz my understanding of this was that it returned an opaque ledger-specific identifier for the connectors so that the client could pass transfers to the ledger and direct them at a specific connector.

How would the client know the local-to-the-ledger identifier for the connector?

i.e. The client (and connectors) communicate with each other to get quote and route data and populate their routing tables but when they need to make a transfer to a neighboring connector they do so by addressing that transfer to the connector using it's local address. Can we assume that connectors will store local/ledger specific addresses for their neighboring connectors in their routing tables?

from rfcs.

justmoon avatar justmoon commented on May 29, 2024

How would the client know the local-to-the-ledger identifier for the connector?

The routing table has a column "Next Hop" which is the ILP address of the connector, e.g.

I want to send/forward to us.wf.bob, the only ledger I'm connected to is cn.alipay. So I look for the longest matching prefix known to me, which is us. in my routing table. The Next Hop for that entry is cn.alipay.yuhao. So I send to cn.alipay.yuhao.

from rfcs.

adrianhopebailie avatar adrianhopebailie commented on May 29, 2024

The routing table has a column "Next Hop" which is the ILP address of the connector

How is this populated?

from rfcs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.