Why Nostr? What is Njump?
2023-06-09 12:52:53
in reply to

ZmnSCPxj [ARCHIVE] on Nostr: šŸ“… Original date posted:2018-11-15 šŸ“ Original message: Good morning Conner et ...

šŸ“… Original date posted:2018-11-15
šŸ“ Original message:
Good morning Conner et al,

> > > 5. `len` - one byte or two? I believe we tend to use two bytes for various
> > > lengths.
> > >
> >
> > Maybe varint? One byte is not enough for all lengths, but two seems excessive
> > for uint8 or even uint32.
>
> Given that messages are currently only up to 65536 bytes total, is that not a bit much?

Sorry, I misunderstood.

This is varint, correct? http://learnmeabitcoin.com/glossary/varint

If so, I think this is good idea.
It seems we do not have varint currently in Lightning (at least the parts I am familiar with).
I suppose the t-l-v being in a different BOLT would let us make some section or part for describing `varint`.

Regards,
ZmnSCPxj
Author Public Key
npub1g5zswf6y48f7fy90jf3tlcuwdmjn8znhzaa4vkmtxaeskca8hpss23ms3l