Re: [bitcoin-dev] New BIP - v2 peer-to-peer message transport protocol (former BIP151)

2019-03-25 Thread Eric Voskuil via bitcoin-dev
On 03/22/2019 02:04 PM, Jonas Schnelli via bitcoin-dev wrote: > Proposal: > > >   BIP: ??? >   Layer: Peer Services >   Title: Version 2 Peer-to-Peer Message Transport Protocol >   Author: Jonas Schnelli >   Status: Draft >   Type: Standards Track >   Created: 2019-03-08 >   License: PD > > >

Re: [bitcoin-dev] New BIP - v2 peer-to-peer message transport protocol (former BIP151)

2019-03-25 Thread Jonas Schnelli via bitcoin-dev
Hi Dave Thanks for the review... >> Short Command ID >> >> To save valuable bandwidth, the v2 message format supports message command >> short IDs for message types with high frequency. The ID/string mapping is a >> peer to peer arrangement and MAY be negotiated between the initiating

Re: [bitcoin-dev] New BIP - v2 peer-to-peer message transport protocol (former BIP151)

2019-03-25 Thread David A. Harding via bitcoin-dev
On Sun, Mar 24, 2019 at 09:29:10AM -0400, David A. Harding via bitcoin-dev wrote: > Why is this optional and only specified here for some message types > rather than being required by v2 and specified for all message types? Gregory Maxwell discussed this with me on IRC[1]. My summary of our

Re: [bitcoin-dev] New BIP - v2 peer-to-peer message transport protocol (former BIP151)

2019-03-24 Thread David A. Harding via bitcoin-dev
On Fri, Mar 22, 2019 at 10:04:46PM +0100, Jonas Schnelli via bitcoin-dev wrote: > === v2 Messages Structure === > > {|class="wikitable" > ! Field Size !! Description !! Data type !! Comments > [...] > | 1-13 || encrypted command || variable || ASCII command (or one byte short > command ID) >