Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal: Interledger RPC (instead of LLL) #260

Closed
wants to merge 1 commit into from

Conversation

emschwartz
Copy link
Member

slightly different take on #251 and #256
based on conversations with @michielbdejong, @sharafian, @justmoon

By separating the transfer contents from whether they are part of a
bilateral (e.g. trustline) or multilateral (e.g. centralized ledger)
relationship, the transfer protocol becomes much more general and thus
makes sense to include alongside the "core" ILP data formats.

InterledgerRpc wraps the InterledgerPacket types in an envelope that
adds a to, from (either or both of which can be set to empty strings if
they are implied, as is the case in a bilateral connection), a requestId
to correlate requests and responses, and sideProtocolData for
extensibility.

Any type of InterledgerRpc request can become a paid request by
including a Transfer or ConditionalTransfer in it (which themselves can
contain other InterledgerPackets -- InterledgerProtocolPayments or any
other type of data that you might want/need to pay for).

slightly different take on:
#251
and #256
based on conversations with @michielbdejong, @sharafian, @justmoon

By separating the transfer contents from whether they are part of a
bilateral (e.g. trustline) or multilateral (e.g. centralized ledger)
relationship, the transfer protocol becomes much more general and thus
makes sense to include alongside the "core" ILP data formats.

InterledgerRpc wraps the InterledgerPacket types in an envelope that
adds a to, from (either or both of which can be set to empty strings if
they are implied, as is the case in a bilateral connection), a requestId
to correlate requests and responses, and sideProtocolData for
extensibility.

Any type of InterledgerRpc request can become a paid request by
including a Transfer or ConditionalTransfer in it (which themselves can
contain other InterledgerPackets -- InterledgerProtocolPayments or any
other type of data that you might want/need to pay for).
@emschwartz emschwartz changed the title docs(asn1): add Interledger RPC Proposal: Interledger RPC (instead of LLL) Aug 4, 2017
@emschwartz
Copy link
Member Author

@sharafian convinced me that it is better to have the LLL as a properly separate protocol with a different type registry so I'm closing this PR in favor of #261

@emschwartz emschwartz closed this Aug 4, 2017
@adrianhopebailie adrianhopebailie deleted the es-interledger-rpc branch May 24, 2018 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant