Skip to main content

Questions tagged [networking]

The tag has no usage guidance.

19 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
14 votes
0 answers
92 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,194
12 votes
0 answers
224 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,194
5 votes
0 answers
121 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
115 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
54 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
37 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,194
2 votes
0 answers
23 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,194
1 vote
0 answers
30 views

Write node details to IPFS

I want to write the multi-addresses of all nodes in my network to a file on the IPFS. I see that there's this module that can be used to write data to IPFS, I was just wondering whether it would be ...
Discardo's user avatar
  • 436
1 vote
0 answers
62 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
63 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
129 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
64 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
1 answer
6 views

How to declare a RPC endpoint in the node config?

The public-addr option allows to declare the node p2p endpoint, allowing to use DNS for example, or different port than the listen port if using docker port mapping. --public-addr <PUBLIC_ADDR>.....
Hugo Trentesaux's user avatar
0 votes
1 answer
51 views

Substrate node handshake

I'm trying to do substrate node handshake. As far as I understand we first do Noise XX handshake with our initial request and then we proceed to upgrade the connection. With the following code the ...
themartto's user avatar
0 votes
0 answers
87 views

Connect a frontend application with a Substrate blockchain as a backend without using an RPC endpoint

I'd like to connect my frontend application (built on Rust) to be able to connect to my network without using any hardcoded endpoints to create a bottleneck for DDoS attacks. One possibility for this ...
Discardo's user avatar
  • 436
0 votes
0 answers
11 views

Getting MissingVotesFromCoordinator and disputes every block

I am running relay chain based on polkadot-v0.9.40 and I have a connected parachain. I am getting the following error for a couple of days now on the Validator nodes. 2023-12-24 11:51:12 New dispute ...
Zycon's user avatar
  • 63
0 votes
0 answers
33 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
74 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