What is Nostr?
Gavin Andresen [ARCHIVE] /
npub1s4lā€¦44kw
2023-06-07 15:08:11
in reply to nevent1qā€¦n599

Gavin Andresen [ARCHIVE] on Nostr: šŸ“… Original date posted:2013-10-29 šŸ“ Original message:Thanks for the feedback, ...

šŸ“… Original date posted:2013-10-29
šŸ“ Original message:Thanks for the feedback, everybody, gist updated:
https://gist.github.com/gavinandresen/7079034

Categories are:

0x01-0x0fProtocol syntax errors0x10-0x1fProtocol semantic errors0x40-0x4fServer
policy rule
<https://gist.github.com/gavinandresen/7079034#rejection-codes-common-to-all-message-types>;

RE: why not a varint: because we're never ever going to run out of reject
codes. Eight are defined right now, if we ever defined eight more I'd be
surprised.

RE: why not use HTTP codes directly: because we'd be fitting round pegs
into square holes.

--
--
Gavin Andresen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20131029/606c3950/attachment.html>;
Author Public Key
npub1s4lj77xuzcu7wy04afcr487f0r3za0f8n2775xrpkld2sv639mjqsd44kw