BitcoinAndLightningLayerSpecs / lsp

API specifications for Lightning Service Providers
MIT License
112 stars 31 forks source link

LSPS0: Consider introducing length prefix to allow including (optional) TLVs #103

Closed tnull closed 8 months ago

tnull commented 8 months ago

Currently, the Lightning network message used by LSPS0 is a simple BOLT8 type|payload format for which payload spans the rest of the message, i.e., does not include a length prefix but is expected to be the raw JSON object in UTF-8 string encoding.

We should at least consider this before finalizing LSPS0.

tnull commented 8 months ago

FTR, @ZmnSCPxj-jr gave a 'mild NACK' in the Telegram channel. As nobody else seems to be interested in TLV-based extensibility and I'm not feeling super strongly about it, I'm going to close this.