Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Consensus gossip refactoring#1988

Closed
arkpar wants to merge 19 commits intomasterfrom
a-neighbour-packet
Closed

Consensus gossip refactoring#1988
arkpar wants to merge 19 commits intomasterfrom
a-neighbour-packet

Conversation

@arkpar
Copy link
Copy Markdown
Member

@arkpar arkpar commented Mar 13, 2019

The substrate_network::gossip module no delegates actual gossiping to the validator.

@arkpar arkpar added the A0-please_review Pull request needs code review. label Mar 13, 2019
@arkpar arkpar requested review from andresilva and rphmeier March 13, 2019 16:31
}

/// Filter out departing messages.
fn should_send_to(&self, _who: NodeIndex, _topic: &H, _data: &[u8]) -> bool {
Copy link
Copy Markdown
Contributor

@rphmeier rphmeier Mar 18, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a bit unfortunate that we've got to re-decode all messages each time we try to send them out.

In GRANDPA we'll likely do it by topic, so it'll be zero-cost...

@arkpar arkpar changed the title Consensus status packet Consensus gossip refactoring Mar 18, 2019
@rphmeier rphmeier added A8-looksgood and removed A0-please_review Pull request needs code review. A8-looksgood labels Mar 21, 2019
@arkpar arkpar removed the A5-grumble label Mar 22, 2019
@arkpar arkpar requested a review from andresilva March 26, 2019 14:12
@andresilva
Copy link
Copy Markdown
Contributor

This and #2110 should be ready to merge, but let's wait until 1.0 gets cut. We can ship this in 1.1 after we test it properly on the testnets.

@arkpar
Copy link
Copy Markdown
Member Author

arkpar commented Apr 1, 2019

Closing in favor of #2110

@arkpar arkpar closed this Apr 1, 2019
@arkpar arkpar deleted the a-neighbour-packet branch August 7, 2019 19:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants