Questions tagged [gossip]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
52 views

Usage of Pre-Runtime Digest to gossip data from block creator node with PoW

I'm playing around with a variation a of Substrate's PoW block production. Contrary to existing PoW engine my design relies on a PoW generation mechanism which is external to Substrate. The PoW ...
Yury Yukhananov's user avatar
4 votes
0 answers
32 views

Does Substrate's underlying gossip network use MACs to authenticate message validity?

Overview In the gossip network used by Substrate (based on Libp2p) messages are sent between peers. A few questions come to mind when building on top of this gossip network (sending new messages and ...
Drew Stone's user avatar
  • 1,164
1 vote
1 answer
86 views

Help on Gossip-Intensive Collator/Substrate Nodes! [closed]

Context: We're running gossip intensive apps and if the workloads get too large, we see all communication drop which breaks down our protocols. Question: Where can I learn learn more about design ...
Josh's user avatar
  • 415
3 votes
0 answers
27 views

Is sc_network safe to use for offchain gossip protocols in a parachain context?

I want to leverage the Substrate peerset to build an offchain gossip protocol. This protocol will send lots of messages at the beginning of every session. Are there reasons this would be a bad idea? ...
Drew Stone's user avatar
  • 1,164
5 votes
1 answer
103 views

Are transaction always submitted to non-validator nodes?

Reading the Polkadot docs, I've run into the following statement: Validators should only run the Polkadot binary, and they should not listen on any port other than the configured p2p port. So far, ...
andresvsm's user avatar
  • 1,104
12 votes
0 answers
193 views

How to receive P2P messages using sc-network-gossip

Overview I'm interested to understand how to use sc-network-gossip's GossipEngine to receive P2P messages, not just gossip messages. The motivation is that I would like to send specific peers specific ...
Drew Stone's user avatar
  • 1,164
14 votes
0 answers
78 views

Outbound network traffic linearly growing with offchain protocol and recommendations for handling traffic growth

Issue We are experiencing a behaviour on our standalone/parachain node where the Network Bps on our cloud provider linearly increases throughout the lifecycle of our protocol. The increase continues ...
Drew Stone's user avatar
  • 1,164
0 votes
1 answer
29 views

`add_set_reserved_peer` with Unknown Protocol

I have just integrated BEEFY into my runtime. A single node works well. But it can not gossip. add_set_reserved_peer with unknown protocol: /paritytech/beefy/1 How to fix this?
AurevoirXavier's user avatar