Questions tagged [nodes]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 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:/...
0 votes
1 answer
5 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 ...
  • 141
1 vote
1 answer
22 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 ...
2 votes
1 answer
43 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 ...
1 vote
1 answer
44 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 ...
  • 13
1 vote
1 answer
30 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 ...
2 votes
1 answer
163 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 ...
  • 177
2 votes
1 answer
13 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 ...
  • 352
2 votes
0 answers
31 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 ...
0 votes
1 answer
15 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 ...
  • 1,014
1 vote
1 answer
25 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 ...
0 votes
1 answer
30 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 ...
1 vote
1 answer
36 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 ...
0 votes
1 answer
29 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 ...
0 votes
0 answers
30 views

How to get the list of addresses of all connected peers' IP?

I am trying to get the IP address of all validators in outer-node (not in the runtime) is there a struct or a map available that i can query to get the list of all connected peers and their IP ...
1 vote
1 answer
20 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?
2 votes
0 answers
54 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 ...
  • 21
0 votes
1 answer
31 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 ...
0 votes
0 answers
18 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 ...
  • 433
1 vote
3 answers
31 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?
0 votes
0 answers
31 views

How do I sync blocks of a particular number from a polkadot node?

When updating or restarting the Polkadot node, We want to run it in archive mode. But we don't need every block's information, we need certain blocks first. I don't need a full sync. Do you guys ...
  • 435
1 vote
1 answer
81 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): ...
1 vote
1 answer
61 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 ...
  • 78
2 votes
1 answer
47 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 ...
1 vote
0 answers
38 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 ...
  • 267
5 votes
0 answers
71 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 ...
3 votes
3 answers
239 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 ...
3 votes
2 answers
123 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 ...
1 vote
1 answer
73 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 ...
1 vote
0 answers
40 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?
  • 23
2 votes
1 answer
116 views

How to deploy a hardened, secure, production-ready Substrate node?

I'm currently looking for a way to deploy the blockchain I'm working on and it has been a struggle to find out the best practices for doing so. The chain is based on the substrate-node-template but it ...
1 vote
2 answers
74 views

Polkadot archive node running on docker uses a lot of space

I'm running a Polkadot and a Kusama node on (separate) docker containers. Both are archive nodes, so it takes some more space (according to the wiki 15 to 20 Go). I was counting on the fact that 1) ...
  • 287
2 votes
1 answer
42 views

How do I kill a running node once I close the terminal I launched it in? [closed]

I was running a Substrate node on my system but unknowingly I didn't stop the node by using 'CTRL+C' and closed the editor. After that I could see that on frontend, my node was running continuously ...
2 votes
0 answers
61 views

What should the cors origin be for localhost?

Blocked connection to WebSockets server from untrusted origin: Some("file://") I can't figure out what I should use as an argument for rpc-cors to make this websocket connection. I've ...
3 votes
1 answer
109 views

How to deploy a parachain node and connect it to an existing relay chain node?

I deployed a relay chain node using the provided docker container: docker run \ --detach \ --name=polkadot \ --volume="$(pwd)/data:/data" \ --network=host \ --entrypoint=...
  • 329
4 votes
1 answer
49 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 ...
  • 425
8 votes
3 answers
271 views

What are the latest minimum specs for running a Polkadot/Kusama node (full node/archive node)?

What I found related to specs/resource requirements (memory, disk space,...) was : These requirements for running a validator node and In the polkadot wiki page the space required for an archive node....
  • 1,168
5 votes
1 answer
63 views

How to limit libp2p traffic or set maximum number of peers

In running a polkadot node on the mainnet, i'd like to know how to limit the maximum number of peers, or if this functionality is already built into the protocol somehow. Since my network traffic is ...
6 votes
0 answers
93 views

BlockBuilderApi<Block> Trait bounds within node/src/service and rpc [closed]

I am having a problem satisfying all of the trait bounds within the node crate. I am using the polkadot-v0.9.17 branch of substrate, as was recommended on another question here. It is calling ...
  • 245
5 votes
1 answer
56 views

How do extrinsic weights apply to Raspbery Pi full-nodes?

I'm running a polkadot full-node on a Raspberry Pi 4. While the Substrate Fee system is determined by Weights & Benchmarking, how are different CPU architectures (when compared to the standard ...
0 votes
2 answers
75 views

The node template can't fetch the accounts from chain-spec.rs

pub fn development_config() -> Result<ChainSpec, String> { let wasm_binary = WASM_BINARY.ok_or_else(|| "Development wasm not available".to_string())?; Ok(ChainSpec::...
2 votes
1 answer
109 views

How to start a private network on 2 computers?

I've done the Start a private network tutorial. However, in this tutorial, they run 2 nodes on the same computer with different ports. Now I want to run a private network with different computers but ...
7 votes
2 answers
89 views

What is the difference between full nodes, authoring nodes, and/or collator nodes

What is the difference between the different types of nodes?