What is Nostr?
Wladimir [ARCHIVE] /
npub1xqs…mc2p
2023-06-07 15:22:57
in reply to nevent1q…mw44

Wladimir [ARCHIVE] on Nostr: 📅 Original date posted:2014-06-17 📝 Original message:On Tue, Jun 17, 2014 at ...

📅 Original date posted:2014-06-17
📝 Original message:On Tue, Jun 17, 2014 at 10:02 AM, Matt Whitlock <bip at mattwhitlock.name> wrote:
> On Tuesday, 17 June 2014, at 9:57 am, Wladimir wrote:
>> Yes, as I said in the github topic
>> (https://github.com/bitcoin/bitcoin/pull/4351) I suggest we adapt a
>> string-based name space for extensions.
>
> Why use textual strings? These fields are not for human consumption. Why not use UUIDs, which are fixed length and will not waste as much bandwidth in the protocol? Or if you'd prefer a hierarchical namespace, you could use OIDs, a la ASN.1.

Come on, this is only sent over the line at connection time at most
once. No need to overdesign a scheme here.

Anyhow, if we like to bike-shed so much:
- UUIDs are 16 bytes -- most human-recognizable strings are shorter.
And they're ugly to use as well.
- OIDs need central and hierarchical coordination, just what we're
trying to avoid.

Wladimir
Author Public Key
npub1xqshkqv2g7uea4xzqwvmgjcz7u8vfavw6aazs999v0azsv3w7u3qpymc2p