Mininode does not currently include the fRelay field in its version messages, and so is technically sending malformed version messages. This PR fixes mininode's version messages.
fanquake added the label Tests on Oct 5, 2016
MarcoFalke
commented at 9:39 AM on October 6, 2016:
member
technically sending malformed version message
Are you sure that the field is required? The BIP implies that the field is optional:
If missing or true, no change in protocol behaviour occurs.
jnewbery
commented at 12:47 PM on October 6, 2016:
member
@MarcoFalke Yes - you're correct. I didn't read the BIP closely enough.
Still, I think mininode should specify the fRelay field. Even better: we should have a bloom filter test in qa which explicitly tests the field.
laanwj
commented at 10:57 AM on October 8, 2016:
member
MarcoFalke
commented at 11:16 AM on October 8, 2016:
member
Even better: we should have a bloom filter test in qa which explicitly tests the field.
Sure.
Please also make sure to deserialize nRelay and mention it in the repr.
jonasschnelli
commented at 4:33 PM on October 8, 2016:
contributor
Agree with @MarcoFalke, you should extend the change to the deserialization method.
jnewbery renamed this: [Testing] Include fRelay in mininode version messages [WIP] [Testing] Include fRelay in mininode version messages on Oct 11, 2016
MarcoFalke
commented at 5:35 PM on November 7, 2016:
member
jnewbery
commented at 2:35 AM on November 9, 2016:
member
@MarcoFalke : deserialization and repr methods updated.
MarcoFalke renamed this: [WIP] [Testing] Include fRelay in mininode version messages [Testing] Include fRelay in mininode version messages on Nov 9, 2016
MarcoFalke
commented at 7:36 PM on November 9, 2016:
member
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-30 12:15 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me