Questions tagged [nodes]

Related to running or maintaining a node (aka client) on a network.

Filter by
Sorted by
Tagged with
2 votes
1 answer
51 views

Do Polkadot Nodes Not Maintain the Complete Chain History?

I'm using Polkadot version 1.3.0-7c9fd83805c. When syncing a node with the command: ➜ ~ polkadot --tmp I've encountered an error preventing me from retrieving the genesis block: -32000: Client error:...
ALeSD's user avatar
  • 499
2 votes
0 answers
29 views

What is the rationale behind the node architecture (Runtime + Host)

Is the separation of the Runtime business logic from the host intended solely for enabling forkless upgrades, or does it also aim to facilitate compatibility with different hosts?
user2862's user avatar
  • 309
2 votes
1 answer
33 views

How to join substrate as infrastructure provider

I wanted to know the complete process of joining polkadot builders as infrastructure provider but could not get a proper guide explaining that. Can someone please tell the process and what happens in ...
Mrigesh Patni's user avatar
2 votes
0 answers
27 views

wasm compilation for later rust versions

I am running a parachain on Ubuntu 22.04 jammy. where i am using polkadot 9.43. I see that in release notes it is said that nightly-2023-05-22 was tested for this substrate version https://github.com/...
cocokick's user avatar
  • 165
2 votes
1 answer
52 views

How to create different accounts in Substrate?

I would like to build a blockchain with Substrate where people can trade with products. They can log in in web, where they can see only their balances and products.I created private/public keypairs to ...
Vamosz's user avatar
  • 55
2 votes
1 answer
41 views

How to debug/solve this frontier integration issue?

I am currently in the process of integrating the frontier with the solo chain. Following the integration, when I attempted to deploy the contract using Remix, it appears to be stuck, with no ...
Ajit's user avatar
  • 775
0 votes
1 answer
27 views

While authorizing specific nodes in building a blockchain i got the following error

I got this error while authorizing specific nodes in building a blockchain. It gives me error like this. error: failed to select a version for `bounded-collections`. ... required by package `sp-...
Preethi M's user avatar
1 vote
1 answer
67 views

kusama upload/download bandwidth speed so low

I'm running a Kusama node with a actual network speed ranging from over 100MB/s to 500MB/s on both sides. However, I'm facing issues with slow block propagation time and low upload/download bandwidth ...
jay p's user avatar
  • 61
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
26 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
2 votes
1 answer
54 views

Validating node, how connet to polkadot.js

For running validate nodes, through set up, now i can see my node on the telemetry. but I don't know how to connect to polkadot.js. polka wiki says "You can generate your Session keys in the ...
jay p's user avatar
  • 61
1 vote
1 answer
61 views

Rejected connection: Transport(handshake was not a GET request)

When I start my node in the M2, it is continuously showing this error .
Arunjot Singh's user avatar
9 votes
2 answers
223 views

Grandpa stuck at "Polling"

I am trying to spin up a small BABE PoS network of four nodes and not able to get GRANDPA to start. It's hard to know what exact pieces of information to provide, here are some notes. A few notes: I ...
Justin Frevert's user avatar
3 votes
1 answer
68 views

babe-worker failed after upgrade to 0.9.42

After upgrading to 0.9.42, we have ERROR tokio-runtime-worker sc_service::task_manager: Essential task babe-worker failed. Shutting down service. error starting the node using cargo run -- --dev. ...
Benjamin Gallois's user avatar
3 votes
0 answers
29 views

How to migrate / backup & restore ink smart contract storage?

Is there a way to backup ink smart contract storage and later restore on another chain? Lets say we have chain with 3 validators and deployed smart contract containing certain information in its ...
Alex 's user avatar
  • 83
1 vote
1 answer
34 views

How can i fetch the node identity from cli?

How we can fetch the node identity(local node identity in snapshort) after running the node i would need it so that i can make process automatic to start the second node by using that node key
Pankaj's user avatar
  • 1,896
2 votes
2 answers
72 views

Problems adding trusted Nodes on different machines on Windows 11(WSL)

I Cannot get the two Substrate Nodes to Work together in a local Network between two different PC running on Win11 + WSL I have followed the Tutorial and everything seems ok till the point that i am ...
amazing's user avatar
  • 63
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
3 votes
1 answer
43 views

Add ed25519 address to chain_spec.rs

Trying to add an ed25519 address to the chain_spec file. The node_template has the defaults vec![get_account_id_from_seed::<sr25519::Public>("Alice"), We would like to add a custom ...
donkeydonkey's user avatar
3 votes
0 answers
46 views

How do i upgrade the council through a runtime Upgrade?

I have written code for a storage migration but unfortunately the council members are not displaying after the runtime upgrade. Below is the code I wrote for the storage migration const COUNCIL_PREFIX:...
master chief's user avatar
3 votes
1 answer
46 views

Substrate Node wont restart

We are running a substrate node in testing/development and the server ran out of disk space. We cleared up space by deleting the log files and now the node wont start. Service(Client(RuntimeApiError(...
donkeydonkey's user avatar
0 votes
1 answer
31 views

Substrate Deployment for Prod/Staging

I am wondering where do you deploy your substrate nodes for production or staging? Do you deploy the nodes to some cloud servers? How many connected nodes are sufficient to keep the network running?
FWIDY's user avatar
  • 1
3 votes
2 answers
120 views

Is there anyway to tell if a transaction was submitted by a light client on a substrate blockchain?

Interested in calculating the number of transactions submitted by type of node. Ie seeing how many transactions are originating from light clients vs full-nodes.
olliecorbs's user avatar
0 votes
2 answers
145 views

Problem Connecting Digital Ocean RPC Node to Polkadot-JS (NGINX Configuration Problem?)

I have established an RPC node on a Digital Ocean droplet and configured NGINX and SSL according to the instructions at the polkadot wiki. Configurations below. Connecting on wss://koabd.rocks or wss:/...
KathrynColleen's user avatar
1 vote
1 answer
28 views

Public Tor dot Onion addresses for Polkadot, Kusama and Edgeware nodes

Hello Polkadot Ecosystem! There are several public node operators, however, I was not able to find one that had support for .onion addresses. Public .onion nodes is something that has been in the ...
flipchan's user avatar
  • 319
0 votes
1 answer
36 views

How to get PeerID or local node identity in bash script to enable running other node using it as bootnode in a command in script?

I want to write a script that runs node01, node02, node03 in relay chain network setup. How do I get local node identity generated from running node 01? Also I am confused on how the first validator ...
Rohitas_atr894's user avatar
2 votes
1 answer
65 views

Retrieve block index after transaction is sent

I am a developer integrating Polkadot JS to my app. I am creating an offline transaction which I am sending via the Polkadot Api RPC. In return I get the txid, but it does not help me to retrieve the ...
Dario Tsvetanoff's user avatar
1 vote
1 answer
67 views

Astar Startup Error after upgrading from version v4.23.0 to v4.33.0

Good day, everyone! I'm running an Astar validator node. When I upgraded the version from v4.23.0 to v4.33.0, an error occurred. 2022-11-24 02:06:57 Astar Collator 2022-11-24 02:06:57 :vサイン: version ...
Satish's user avatar
  • 23
3 votes
1 answer
63 views

How can a full node reconstruct the entire chain state using just block headers?

Reading the docs, something confused me : Although older blocks are discarded, full nodes retain all of the block headers from the genesis block to the most recent block to validate that the state is ...
Purple_Turtle's user avatar
2 votes
1 answer
179 views

Recovering From No Space on Device

Whilst running a Polkadot node, the VPS ran out of disk space. After re-sizing the box, restarting the service gives a DB version error: 0: Backend error: Database version cannot be read Is this ...
csknk's user avatar
  • 227
2 votes
1 answer
20 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
3 votes
0 answers
95 views

Error importing blocks after upgrading to v0.9.32

After upgrading the node to v0.9.32 I started seeing this error message: 2022-11-11 14:03:44 💔 Error importing block 0x2062a73f1dee2fd35ad6ac25c641b08bf94cf6390b9fc7a8480d7b8ea9412eab: consensus ...
Jorrin Bruns's user avatar
0 votes
1 answer
19 views

Is it possible to use Regex crate within a pallet?

I'm trying to get the regex crate to work on a pallet to check for an extrinsic input, but I can't get node to compile. Although I don't have the specific error to show, the question is if it is ...
andresvsm's user avatar
  • 1,104
1 vote
1 answer
39 views

tokenDecimals = 10 Causes Astronomical Fees - How To Change tokenDecimals On A Running Chain?

We have started a test chain with tokenDecimals = 10 in the chain spec JSON. The chain is running beautifully BUT fees are astronomical. For example, it takes 2.6 Billion to run for council. We are ...
KathrynColleen's user avatar
0 votes
1 answer
61 views

Add Validators to your substrate node template

I generate key pairs on my first machine and modify the customspec.json and generate customspecRaw.json and distribute my customspecRaw.json to other machines I want to add. Okay My question is that ...
Mohammad Abuzar's user avatar
1 vote
1 answer
53 views

How do nodes reach a consensus on storage items from a custom pallet?

If I have a StorageValue which is for example a rust BTree, and my custom pallets interacts with that BTree which should an invariant - let's say it's a BTree of integers, and n can be added to that ...
Ron Michal's user avatar
1 vote
1 answer
91 views

Change session keys in new chain spec

Chain spec primary_chain is defined under node/src/chain_spec.rs Steps to reproduce: generate default chain spec for primary_chain ./collator build-spec --chain primary_chain > spec.json Edit ...
Sudip Ghimire's user avatar
1 vote
1 answer
34 views

Forcing node traffic to local network

We would like to force all our local node traffic to use the local network instead of the internet to communicate between eachother. Any best practice to do this?
Zoltan75's user avatar
3 votes
0 answers
83 views

Block import error: Backend error: Can't canonicalize missing block number #{BLOCK_NUMBER} when importing {BLOCK_HASH}

I'm trying syncing a new Khala node (based on polkadot-v0.9.30 branch) from 0, few hours later, I can see the output like this: 2022-11-01 07:08:54 [Parachain] Block import error: Backend error: Can't ...
jasl's user avatar
  • 31
0 votes
1 answer
38 views

Are Periodic Grandpa Voter Errors To Be Expected?

We have been losing anywhere from one to three nodes at a time with Grandpa Voter Errors at random block numbers ranging from 1600 to over 183K. Thus far we have not found any configuration in the ...
KathrynColleen's user avatar
0 votes
0 answers
22 views

Node is loosing peers, it there a way to force lock a connection

One of our nodes is struggling to keep its peers and often gets disconnected from the other nodes. This node is in our set of bootnodes. Is there a way to flag the peers connection between (boot)nodes ...
Simson's user avatar
  • 1,110
1 vote
3 answers
73 views

How to check how many blocks of polkadot node are synced?

I've started the syncing of polkadot node and I want to check how many blocks have synced can anyone tell me how would I do that?
Shahbaz Ali's user avatar
1 vote
1 answer
135 views

How to get the hex decoded version of a Peer Id?

I see this example on Substrate's docs: Node key: c12b6d18942f5ee8528c8e2baf4e147b5c5c18710926ea492d09cbd9f6c9f82a PeerID (generated from the node key): ...
Darian Foulds's user avatar
1 vote
1 answer
85 views

Memory leak after upgrading client to polkadot-0.9.22

We just upgraded our node client to polkadot-0.9.22 and experienced regular memory leaks to all nodes. I tried to look into Prometheus but there is not much helpful information we can find out. Have ...
jpcoder's user avatar
  • 98
2 votes
1 answer
128 views

Grafana Dashboard not populating the basic node metrics data

I am unable to populate substrate node metrics data in Grafana dashboard. I was following the instructions as shared in substrate doc Visualise Node Metrics I am able to establish the connection ...
Vjendra Gaorh's user avatar
2 votes
1 answer
58 views

Running a listener node in ReadOnly mode

I would like to run a non-validator node (listener node) and prevent it from accepting and broadcasting transactions (ReadOnly mode). Except for accepting transactions, I would like it to behave like ...
Nahu's user avatar
  • 337
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
506 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
3 votes
2 answers
200 views

How to connect to cloud hosted node using WebSocket?

I'm currently running a node on a cloud machine and I'm running into several issues when trying to connect to it using the Polkadot Portal. I've tried doing it in two ways, the first is by running the ...
edmassarani's user avatar
2 votes
1 answer
142 views

How to connect two nodes running on different computers?

I'm currently trying to deploy a private blockchain and I'm having problems trying to have nodes running on different machines but still communicating with each other. I've created a docker image ...
edmassarani's user avatar