Ways to make BTP more minimal?

Đang mở
#590 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
networking

Hướng nghiên cứu

Đọc RFC 0023 về động lực của BTP, RFC 0001 về các lớp giao thức và RFC 0035 về ILP-over-HTTP. So sánh các loại thông báo và hành vi của các giao thức con, sau đó xác định liệu có thể đặc tả một biến thể BTP tối thiểu hay không và cần những thay đổi nào trong các RFC được tham chiếu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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?

Ngôn ngữ chính
JavaScript
Star
513
Fork
109
Merge trung bình
2 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của interledger/rfcs

Tất cả issue của interledger/rfcs

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.