BIP 37 protocol incompatibility #2534

issue jgarzik opened this issue on April 15, 2013
  1. jgarzik commented at 6:32 PM on April 15, 2013: contributor

    https://en.bitcoin.it/wiki/BIP_0037 states that "version" P2P message is extended by one byte. bitcoind's code appears to read this,

            if (!vRecv.empty())
                vRecv >> pfrom->fRelayTxes; // set to true after we get the first fi
    lter* message
            else
                pfrom->fRelayTxes = true;
    

    but does not appear to send the fRelayTxes byte:

        PushMessage("version", PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
                    nLocalHostNonce, FormatSubVersion(CLIENT_NAME, CLIENT_VERSION, std::vector<string>()), nBestHeight);
    
  2. rebroad commented at 12:51 AM on April 22, 2013: contributor

    How is this an incompatibility?

  3. sipa commented at 8:45 AM on June 17, 2013: member

    Fixed by #2763

  4. sipa closed this on Jun 17, 2013

  5. luke-jr referenced this in commit 4ca705ac04 on Feb 1, 2016
  6. 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-20 00:16 UTC

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