Ways to make BTP more minimal?

Aperta
#590 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Ambito
networking

Direzione di ricerca

Leggere RFC 0023 sulla motivazione di BTP, RFC 0001 sui livelli del protocollo e RFC 0035 su ILP-over-HTTP. Confrontare i tipi di messaggio e il comportamento dei sottoprotocolli, quindi determinare se sia possibile specificare una variante minima di BTP e quali modifiche sarebbero necessarie nei RFC indicati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
JavaScript
Stelle
513
Fork
109
Merge medio
2m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di interledger/rfcs

Tutte le issue di interledger/rfcs

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.