Questions tagged [networking]

The tag has no usage guidance.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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
12 votes
0 answers
192 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
5 votes
0 answers
118 views

Query node information from PeerId only

How do I get Listen addresses of a node (and possibly other info like agent, protocols etc..) given that I only have node's PeerId? Is there any existing solutions available for this? Simple enter ...
Matt Duncan's user avatar
5 votes
0 answers
100 views

New collators not peering - shouldHavePeers: false

In our parachain setup we have one healthy collator node producing blocks. I tried to add two bootnodes and one collator to the set (all of them connecting to the existing collator). So for the ...
Gonzalo Montiel's user avatar
3 votes
1 answer
25 views

How I use Database Snapshot Services correct

I want use Database Snapshot Services, because making genesis to last block takes too much time.... so I used POLKACHU site, the code is. " curl -o - -L https://snapshots.polkachu.com/snapshots/...
jay p's user avatar
  • 61
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
2 votes
0 answers
21 views

Are messages on parachains buffered on the network differently than they are in standalone environments?

We are adding custom networking/gossip logic to our codebase to handle other off-chain protocols over the gossip network. We experience reliability issues in the parachain environment that are both ...
Drew Stone's user avatar
  • 1,164
1 vote
0 answers
41 views

Parachain stuck at authoring runtime upgrade block

Our testnet parachain is stuck exactly at the block in which the runtime upgrade is authored. It was authorized and enacted via parachainSystem as recommended. The upgrade neither includes any ...
William Freudenberger's user avatar
1 vote
0 answers
47 views

Substrate standalone network : Peers disconnect and block production halts

We are currently running a 5 validator standalone network, after about ~1000 blocks the peers disconnect and block production stalls, all the nodes continue to produce blocks but does not gossip to ...
0xsierra's user avatar
  • 106
1 vote
1 answer
92 views

Connect external parachain node to local network relay chain

I currently have a local relay chain with 4 validators and 2 collator nodes from 2 different parachains running. I want to connect another node that is out of network to one of the parachains. Is this ...
Travis Carpenter's user avatar
1 vote
0 answers
47 views

What's the meaning of "low connectivity, authority lookup failed for too many validators"?

My validator node shows the issue "low connectivity, authority lookup failed for too many validators", what does this mean? And is it dangerous for the safety of the chain?
peilin's user avatar
  • 43
0 votes
0 answers
25 views

when running a validating nodes, firewall setting is essential?

when running a nodes, firewall is essential? i used this command sudo ufw allow 3033/tpc but it`s result is "ERROR: Bad port" what`s the problem? can i just done "sudo ufw enable" ...
jay p's user avatar
  • 61
0 votes
2 answers
49 views

duplicated sessionkey

In polkadot.js staking , when i put the session key, the result is "duplicated session key" I use the command in SSH "echo '{"id":1,"jsonrpc":"2.0","...
jay p's user avatar
  • 61
0 votes
0 answers
18 views

How to use NetworkWorker methods from a pallet?

I'm using NodeTemplate to build my blockchain and it seems that NetworkWorker is too low level kind of thing. Particularly I need a way to manage connected peers (list, disconnect).
psu's user avatar
  • 1