Questions tagged [networking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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
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
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
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
3 votes
1 answer
53 views

Circular dependency

I am in the process of making the block handler modular (https://github.com/paritytech/substrate/pull/14014 pending now). We have this scenario: build_network() expects all the components constructed/...
rusty's user avatar
  • 151
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
2 votes
1 answer
80 views

How can I set multiple bootnodes and have them communicate with each other?

I would like to know how i can set up multiple bootnodes that share the same state. Would doing this require the bootnodes to share the same database? I know this is basic substrate staff but it would ...
master chief's user avatar
2 votes
1 answer
17 views

Is it possible to delete the network peer database without deleting the chain data?

The Substrate chain and Parachain data directory contains 3 sub-directories, db, keystore, and network. A long time ago the network directory used to contain the database of peers, but now appears to ...
T9b's user avatar
  • 446
0 votes
2 answers
87 views

Why the elections are not happening in polkadot relay chain?

I have added election_phragmen pallet in westend chain but the elections are still not taking place so i am facing an issue in adding validators. The validators i am adding remain in waiting state.In ...
Ipsa Gupta's user avatar
1 vote
1 answer
44 views

Blocktime double than expected (Standalone network)

We are currently running a standalone network, with the blocktime set to 6000ms, but we are seeing fluctuating values as below As you can see, there is no real relation between blocksizes or ...
0xsierra's user avatar
  • 106
2 votes
1 answer
44 views

Can a node reconnect to a network without boot nodes

Is it possible to configure a full node to remember a list of last peers it connected to so when it restarts it doesn't need to rely on boot nodes to connect successfully to the chain network?
Mokhtar Naamani's user avatar
4 votes
1 answer
144 views

Node doesn't peer with a network specifying bootNodes

we have an existing parachain network consisting of one archive node and 4 rpc nodes that are peering and synced with the relay chain. They run inside docker containers in different virtual machines. ...
Gonzalo Montiel's user avatar
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
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
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
3 votes
1 answer
84 views

What is the best way to add additional libp2p protocols to Substrate client?

We want to reuse the clients libp2p instance for receiving threshold signature shares directly from our users, for key resharing/rotation as validators join/leave the active validator set, ...
Jake Hemmerle's user avatar
2 votes
1 answer
61 views

How to limit the outbound traffic (bandwidth)?

We are hosting some parachain full nodes on the cloud. However we found that 80% of the costs come from the internet traffic, and specifically, we found that the outbound traffic of the relaychain ...
h4x3rotab's user avatar
  • 717
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
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
0 votes
1 answer
38 views

What incentives exist for a full node to provide block headers to a light client?

As I understand it, substrate light clients (a.k.a smoldot) connect to full nodes in order to receive block headers. I am wondering about what incentives these full nodes have to keep providing block ...
Sacha Lansky's user avatar
  • 2,610
3 votes
1 answer
54 views

Is there a size limit on substrate messages?

So, substrate uses a bunch of network messages like block announce, grandpa message, block request-response, transaction. Substrate has notification substream open sending and receiving these messages ...
kishan sagathiya's user avatar
1 vote
1 answer
71 views

How do I get my nodes to find each other on macOS?

When I run Alice and Bob validators: ./target/release/polkadot --alice --validator --base-path /tmp/relay/alice --chain chainspec-raw.json --port 30333 --ws-port 9944 ./target/release/polkadot --bob -...
Bruno's user avatar
  • 8,130
3 votes
2 answers
96 views

How to check if a node's p2p endpoint is working properly?

Is there a way to verify that an endpoint is properly set up to receive p2p connections using ping, curl or some other tool? The reason I ask this is because I'd like to set up a proxy to use a custom ...
edmassarani's user avatar
5 votes
0 answers
85 views

How are polkadot bootnodes set up? [duplicate]

I'm trying to set up my own public blockchain and have been running into issues when setting up a bootnode to be accessible over DNS rather than IP4. Based on the Polkadot chain specification, their ...
edmassarani's user avatar
3 votes
3 answers
501 views

How to setup bootnode to use DNS address instead of IP4?

I currently have a node running on the cloud and I've set its websocket port to a custom domain following Polkadot's Nginx config (here). I would like to be able to use this node as a bootnode for ...
edmassarani's user avatar
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
2 votes
1 answer
99 views

How are solo chain validators protected against DoS?

It's clear that we must include the IP addresses to our validators on our chainspec if we are starting a solo-chain (Correct me if I am wrong here, does it need to be a validator IP or can it be any ...
Purple_Turtle's user avatar
2 votes
1 answer
407 views

What is an RPC node?

What is an RPC node and how to build one as a developer. Also, are there any resources available?
lewis's user avatar
  • 21
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
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
39 views

Is it possible to inspect which nodes are connected to your node via rpc or polakdot.js?

I am trying to get some information about the (other) nodes that are connected to my parachain node. I can see how many nodes are connected ( in telemetry and polkadotjs apps), but how can I find ...
T9b's user avatar
  • 446
6 votes
1 answer
82 views

What factors determine who can peer with my node?

From a security standpoint I'd like to understand who can peer with my node. Let's say I make the chainspec public, and someone comes along with a different node binary, and peers with my node, with a ...
Purple_Turtle's user avatar
2 votes
1 answer
129 views

Is it possible to connect to more than a single bootnode?

Right now I have one cloud instance running a node, and 2 local instances on the same computer. On my local instances, in the bootnodes flag I pass the address to my cloud instance. Initially I was ...
Purple_Turtle's user avatar
3 votes
0 answers
123 views

Troubleshooting : Peering connection failed due to libp2p error [closed]

Following the answer on this post : Need some help understanding this "unexpected end of file" error from my node trying to connect on remote TRACE tokio-runtime-worker sub-libp3p: Libp2p =&...
Purple_Turtle's user avatar
6 votes
1 answer
96 views

How-to extract a list of all nodes in blockchain X network and test they are connectable?

Where should I start and what advice can you give to help me get started with this task. I guess my goal is to build a network monitoring tool that can check the health, uptime and reputation of the ...
M Kemp's user avatar
  • 495
11 votes
1 answer
91 views

How-to bootstrap your new blockchain network without centralised infrastructure

I am looking for best practices around this topic. I liked how webrtc-star was easy to use, however I have not found anything in the rust ecosystem that is similar. In my mind it would be great if ...
M Kemp's user avatar
  • 495
2 votes
1 answer
199 views

Sometimes Polkadot JS won't connect to the local node, unless I enable rpc-cors all

I am using the polkadot js appimage and sometimes while connecting to my node, I see this : Blocked connection to WebSockets server from untrusted origin: Some("file://"). I've tried running ...
Purple_Turtle's user avatar
5 votes
1 answer
83 views

How to setup a special networking node

The goal of the node would be to export its list of peers on an interval and publish it on IPNS to provide a dynamic bootstrap option for new peers. This helps if the static list published in a ...
islami00's user avatar
  • 561