Ways to make BTP more minimal?

未关闭
#590 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
领域
networking

调研方向

阅读 RFC 0023 中关于 BTP 动机的内容、RFC 0001 中关于协议层的内容,以及 RFC 0035 中关于 ILP-over-HTTP 的内容。比较消息类型和子协议行为,然后确定是否可以规范定义一个最小 BTP 变体,以及在所引用的 RFC 中需要进行哪些更改。

由索引模型根据 Issue 内容生成。

描述

The stated motivation of BTP is to be a link-layer protocol like ILP-over-HTTP but using WebSockets instead of HTTP POST.

I understand BTP has to be more complex than ILP-over-HTTP because it needs to link responses to requests. This justifies the Request ID part of BTP, and I guess also the Message, Response and Error message types.

But first, what motivates the Transfer message type? If we can already do transfers with ILP's message types, do we still need BTP-level transfers?

And second, I understand how BTP Subprotocols can be handy, but if we think that such a feature is useful and we allow connectors to rely on it for their operation, then why don't we add it to other link protocols too? It seems a bit surprising that BTP has this extra functionality but ILP-over-HTTP doesn't.

Could we define a version of BTP that is as minimal as it can be, comparable to the current ILP-over-HTTP protocol?

主要语言
JavaScript
星标
513
派生
109
平均合并
2 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

interledger/rfcs 的其他 Issue

查看 interledger/rfcs 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。