[Bitcoin-development] Feedback requested: "reject" p2p message
Gavin Andresen
gavinandresen at gmail.com
Tue Oct 29 05:37:11 UTC 2013
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>
More information about the bitcoin-dev
mailing list