Skip to content

Conversation

rebroad
Copy link
Contributor

@rebroad rebroad commented Dec 21, 2016

Although feeler connections are fairly brief (although not as brief as they used to be), we are not interested in receiving transactions from these connections therefore set relay to false when sending the version message.

@gmaxwell
Copy link
Contributor

Concept ACK on the relay suppression but I don't see a reason to reformat the sendmessage log entry.

@fanquake fanquake added the P2P label Dec 21, 2016
@rebroad
Copy link
Contributor Author

rebroad commented Dec 23, 2016

@gmaxwell it wasn't just a reformat, but now includes an indication whether relay is set true or false.

@gmaxwell
Copy link
Contributor

I know, but the change can be made without reformatting it, other than adding the field or without reformatting it at all. When you reformat log entries it breaks parsing tools, which encourages serious operations to delay their upgrades. We should be a little more conservative in breaking log entries.

Getpeerinfo already shows the state.

@rebroad
Copy link
Contributor Author

rebroad commented Dec 25, 2016

@gmaxwell the change is "made without reformatting it, other than adding the field" - not sure what other reformatting you are referring to. I've looked at the code there times now and cannot see any reformatting, other than adding the field.

@fanquake
Copy link
Member

fanquake commented Apr 2, 2017

Needs a rebase.

@fanquake
Copy link
Member

Closing as no follow up. Please rebase & re-open when ready.

@fanquake fanquake closed this May 17, 2017
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants