Comments (8)
cc @justmoon @diminator @ameensol
from rfcs.
@emschwartz what will js-ilp-core
's client.quote
API look like, then? Should it accept a list of connectors to query?
from rfcs.
I am assuming that the quoting/discovery be out-of-ledger responsibilities?
from rfcs.
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.
@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.
@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.
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.
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)
- Formalize the use of the `peer.` address space (define some addressing best practice) HOT 15
- RFC-0033: Diagrams should be more connected to explanations HOT 1
- Delegated / pull payments HOT 29
- Cleanup naming of RFC 0000
- Rename RFC-0014 to "0014-paid-http-apis"
- RFC0035: Request header for Host not defined
- Change description of F04 error? HOT 3
- docs(0028): add CORS info HOT 1
- 0028: dynamic meta tags security issues HOT 7
- 0027 refers to spec 0025 which is deprecated.
- STREAM RFC: codify the conditions for a ConnectionAssetDetails frame being returned from a receiver. HOT 3
- Tracking: RFC Breaking Changes for STREAM V2 HOT 3
- Create PR for the README to propose new Spec process HOT 2
- Expiry on STREAM credentials HOT 9
- Submit Ping Protocol as an RFC Proposal HOT 1
- Add STREAM Receipts HOT 5
- Remove legacy ASN.1 definitions HOT 8
- Add ConnectionAssetDetailsRequestFrame HOT 1
- Enforce Boolean on SPSP receipts_enabled HOT 1
- Add Validation mechanism for SPSP HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rfcs.