Anthony Towns [ARCHIVE] on Nostr: 📅 Original date posted:2020-08-20 📝 Original message:On Fri, Aug 14, 2020 at ...
📅 Original date posted:2020-08-20
📝 Original message:On Fri, Aug 14, 2020 at 03:28:41PM -0400, Suhas Daftuar via bitcoin-dev wrote:
> In thinking about the mechanism used there, I thought it would be helpful to
> codify in a BIP the idea that Bitcoin network clients should ignore unknown
> messages received before a VERACK. A draft of my proposal is available here
> [2].
Rather than allowing arbitrary messages, maybe it would make sense to
have a specific feature negotiation message, eg:
VERSION ...
FEATURE wtxidrelay
FEATURE packagerelay
VERACK
with the behaviour being that it's valid only between VERSION and VERACK,
and it takes a length-prefixed-string giving the feature name, optional
additional data, and if the feature name isn't recognised the message
is ignored.
If we were to support a "polite disconnect" feature like Jeremy suggested,
it might be easier to do that for a generic FEATURE message, than
reimplement it for the message proposed by each new feature.
Cheers,
aj
📝 Original message:On Fri, Aug 14, 2020 at 03:28:41PM -0400, Suhas Daftuar via bitcoin-dev wrote:
> In thinking about the mechanism used there, I thought it would be helpful to
> codify in a BIP the idea that Bitcoin network clients should ignore unknown
> messages received before a VERACK. A draft of my proposal is available here
> [2].
Rather than allowing arbitrary messages, maybe it would make sense to
have a specific feature negotiation message, eg:
VERSION ...
FEATURE wtxidrelay
FEATURE packagerelay
VERACK
with the behaviour being that it's valid only between VERSION and VERACK,
and it takes a length-prefixed-string giving the feature name, optional
additional data, and if the feature name isn't recognised the message
is ignored.
If we were to support a "polite disconnect" feature like Jeremy suggested,
it might be easier to do that for a generic FEATURE message, than
reimplement it for the message proposed by each new feature.
Cheers,
aj