Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Vb5Cq-0003nH-Hf for bitcoin-development@lists.sourceforge.net; Tue, 29 Oct 2013 09:03:20 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.160.46 as permitted sender) client-ip=209.85.160.46; envelope-from=wtogami@gmail.com; helo=mail-pb0-f46.google.com; Received: from mail-pb0-f46.google.com ([209.85.160.46]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Vb5Cp-0007Vm-H0 for bitcoin-development@lists.sourceforge.net; Tue, 29 Oct 2013 09:03:20 +0000 Received: by mail-pb0-f46.google.com with SMTP id un4so1967291pbc.19 for ; Tue, 29 Oct 2013 02:03:13 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.68.6.138 with SMTP id b10mr430456pba.149.1383036959717; Tue, 29 Oct 2013 01:55:59 -0700 (PDT) Received: by 10.66.158.129 with HTTP; Tue, 29 Oct 2013 01:55:59 -0700 (PDT) In-Reply-To: References: <274a1888-276c-4aa6-a818-68f548fbe0fa@me.com> <9DCDB8F6-E3B2-426B-A41E-087E66B3821A@gmail.com> <526B45DB.2030200@jerviss.org> <526DD18A.7060201@jerviss.org> Date: Mon, 28 Oct 2013 22:55:59 -1000 Message-ID: From: "Warren Togami Jr." To: Gavin Andresen Content-Type: multipart/alternative; boundary=bcaec53963cab2066404e9dd62ec X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: doubleclick.net] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (wtogami[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1Vb5Cp-0007Vm-H0 Cc: Bitcoin Development , Andreas Schildbach Subject: Re: [Bitcoin-development] Feedback requested: "reject" p2p message X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 09:03:20 -0000 --bcaec53963cab2066404e9dd62ec Content-Type: text/plain; charset=UTF-8 How about rejection codes to notify you that you have been rate limited? Warren On Mon, Oct 28, 2013 at 7:37 PM, Gavin Andresen wrote: > > Thanks for the feedback, everybody, gist updated: > https://gist.github.com/gavinandresen/7079034 > > Categories are: > > 0x01-0x0f Protocol syntax errors0x10-0x1f Protocol semantic errors0x40-0x4fServer > policy rule > > > 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 > > > ------------------------------------------------------------------------------ > Android is increasing in popularity, but the open development platform that > developers love is also attractive to malware creators. Download this white > paper to learn more about secure code signing practices that can help keep > Android apps secure. > http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk > _______________________________________________ > Bitcoin-development mailing list > Bitcoin-development@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bitcoin-development > > --bcaec53963cab2066404e9dd62ec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
How about rejection codes to notify you that you have been= rate limited?

Warren


On Mon, Oct 28, 2013 at 7:37 PM, Gav= in Andresen <gavinandresen@gmail.com> wrote:

Thanks for t= he feedback, everybody, gist updated:

Categories are:

0x01-0x0f Protocol syntax errors
0x10-0x1f Protocol semantic errors
0x40-0x4fServer policy rule


RE: w= hy not a varint: =C2=A0because we're never ever going to run out of rej= ect codes. =C2=A0Eight 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 squar= e holes.

--
--Gavin Andresen

-----------------------------------------------------------------------= -------
Android is increasing in popularity, but the open development platform that=
developers love is also attractive to malware creators. Download this white=
paper to learn more about secure code signing practices that can help keep<= br> Android apps secure.
http://pubads.g.doubleclick.net/gam= pad/clk?id=3D65839951&iu=3D/4140/ostg.clktrk
___________________= ____________________________
Bitcoin-development mailing list
Bitcoin-develo= pment@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bitcoin-de= velopment


--bcaec53963cab2066404e9dd62ec--