You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GossipEngine is the main long running parallel process that provides generalized gossip functinonality in substrate. It will also be required for BEEFY implementation. GossipEngine requires an implementation of the Network trait as well as the Syncing trait.
GossipEngine uses add_set_reserved and remove_set_reserved. Looks like Gossamer already support adding and removing reserved peers. In substrate from what I gather, there are authorized peers, and there are reserved peers. Reserved peers are peers that are in the authorized pool, that are assigned to a set for a given ProtocolName. We should be able to add/remove from the reserved set. Removing from the authorized set is done via peer reputation and I assume will be removed from any reserved sets if disconnected. peer_role() and ObservedRole are used qutie a bit in GossipEngine. report_peer is also used in GossipEngine. Doesn't seem like NetworkEventStream is actually used in GRANDPA client integration.
set_sync_fork_request is called by GossipEngine. announce_block is also called through GossipEngine.announce() via OutgoingMessages sink type in communication crate. Doesn't look like new_best_block_imported is actually used. event_stream is used in GossipEngine constructor.
Acceptance Criteria
Implement GossipEngine functionality
Unit tests using mock Network and Sync
The text was updated successfully, but these errors were encountered:
Issue Summary
From design doc:
Acceptance Criteria
GossipEngine
functionalityNetwork
andSync
The text was updated successfully, but these errors were encountered: