-
Notifications
You must be signed in to change notification settings - Fork 111
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
BTP Spec: Typo for ILQP subprotocol? #303
Comments
You could argue 'ilqp' would have been a better choice there, but it's not a typo. The reasoning is that ILQP and InterledgerProtocolPayment ('IPP'), with the ILP Error format they share, together form 'ilp', as they are exactly the two things that each connector needs to implement. Since then we discussed if it would be possible to have a connector that implements IPP but not ILQP, but in BTP, |
Ok, I can see that rationale, and thanks for the clarification -- in other words, the ILP payload for a message is I'll close this issue then. |
Whoa! Where is this documented? ILP and ILQP are different protocols that happen to share a common packet envelope. I have no intentions of implementing anything related to ILQP until we decide:
|
So, I was thinking more about this, and think that the usage of First, it breaks the boundary between Second, this problem becomes more acute when creating software to actually read a payload of data found in a particular subprotocol. Ordinarily, I would have something like I would argue that the subprotocol naming mechanism should be able to stand on its own, regardless of BTP envelope. This would mean the Message should have a subprotocol object of type |
ILP and ILQP use the same registry of packet types, as described in the ASN.1. You can always look at the first byte of the message to determine exactly what kind of ILP or ILQP message it is, without looking at the surrounding BTP message. Usually we expect ILP and ILQP to be implemented in the same module, so that's why the |
Ah, yes, great points - from that perspective, I think it does make sense to use As you can probably infer from my comments in this issue, I can't decide if I should think of ILQP and ILP as being the same thing, or two different things. I suppose Michiel's equation is the most accurate thing: |
The BTP spec under the
Message
request currently says:But shouldn't the protocol for ILPQ be
ilqp
?The text was updated successfully, but these errors were encountered: