Message to Misbehaving nodes #2574

issue btcsharp opened this issue on April 26, 2013
  1. btcsharp commented at 7:51 AM on April 26, 2013: none

    I'm developing a bitcoin client. Clearly there are bugs in my code :-)

    I think it would be useful to define a new message (let's call it "mm", as "Misbehaving Message") used to alert the Misbehaving node that it's Misbehaving (and in which way). In this way if there is a bug it's easier to trace it. The node that receives this message could log it and so it would be clear why sometimes the connection is dropped. As it is, if a node bans you you only see a dropped connection, but you don't know why.

    Considering the unrecognized commands are simply discarded in ProcessMessage, I don't think it would break anything.

  2. laanwj commented at 7:37 AM on October 26, 2013: member

    This is essentially out of the scope of this issue tracker. New P2P commands/responses should be discussed on the mailing list (http://sourceforge.net/p/bitcoin/mailman/bitcoin-development/), and eventually submitted as a BIP proposal.

  3. laanwj closed this on Oct 26, 2013

  4. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 06:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me