Skip to main content
10 votes
Accepted

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

The specs that you see in the wiki are up to date: CPU: Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz Storage: A NVMe solid state drive. Should be reasonably sized to deal with blockchain growth. Starting ...
Oliver Tale-Yazdi's user avatar
9 votes

How to add validators and bootnodes in PoA, when sudo isn't there?

The bootnodes are configured in the chain spec. When you launch additional nodes, you can add bootnodes for that node. Have you taken a look at the node-authorization pallet? It has a concept of ...
Bruno's user avatar
  • 8,315
8 votes

Performance tuning of Substrate node

I will try to respond with my findings and hopefully others will join with their tips & tricks as well Compile for concrete CPU - you can find out type of CPU of your target machine via rustc --...
Petr Mensik's user avatar
7 votes
Accepted

Why only top 256 nominators are rewarded for an oversubscribed validator on Polkadot?

Two reasons, the former being more important: It somehow encourages decentralization. One very large validator, despite being very profitable, will have a limited capacity for nominators to join and ...
kianenigma's user avatar
  • 2,799
6 votes
Accepted

Which Operating Systems are officially supported?

The only "safe" choice is Linux. As you already mentioned, we only test on Linux, and most validators also run on Linux. For macOS, we only ensure that it compiles because a lot of ...
bkchr's user avatar
  • 11.6k
5 votes
Accepted

Why are finalized blocks zero?

For grandpa the keys need to exist before starting grandpa. As you have inserted the keys after you have started the node, grandpa isn't picking them up. So, restarting the node will make finality ...
bkchr's user avatar
  • 11.6k
5 votes

What might be the reasons that my validator nodes are receiving significant less era points at the moment?

For rewards, most points are gotten from validating parachains - if your nodes aren't properly set up to validate parachains, you will be missing out on a lot of rewards. There's a handful of ...
dominique's user avatar
  • 1,693
5 votes

How to add validators and bootnodes in PoA, when sudo isn't there?

For your scenario you might find useful the following pallets: Validator-manager This one is used in Rococo network (PoA). Substrate-validator-set Which can be used for add/remove validators in PoA ...
Alejandro Martínez's user avatar
5 votes
Accepted

In polkadot staking what's the difference between Validators and Para Validators?

Validators are selected and assigned to parachains by the randomized Validator Assignment routine on-chain. Let's look at this snapshot of parachain validation on https://polkadot.js.org/apps/#/...
DrW3RK's user avatar
  • 981
4 votes

How does a collator or validator choose their signing key?

This is what session.set_keys achieves, it declares that an on-chain account (presumably with keys in some form of cold storage) will sign blocks/consensus messages with some other key. When a node ...
joepetrowski's user avatar
  • 2,955
4 votes
Accepted

Is it possible to integrate node-authorization pallet after genesis?

I am not sure if your node will break including the pallet without a genesis, but there are a few functions like: /// Reset all the well known nodes. This will not remove the ownership and additional /...
Shawn Tabrizi's user avatar
  • 16.1k
4 votes
Accepted

What event marks a Validator as selected for next session

There is an even in the Staking pallet: StakersElected, however this event does not itself contain all the new stakers that were selected since that list can be large, and just as easily queried if ...
Shawn Tabrizi's user avatar
  • 16.1k
4 votes
Accepted

Getting "UnknownBlock: State already discarded" while fetch block data from Validator node

(repost from here, since your title should be easier to find): Polkadot nodes are configured to prune old blocks to save disk space. The default configuration is set to 256 past blocks (wiki link). If ...
Oliver Tale-Yazdi's user avatar
4 votes

How to setup the network of a validator node?

Generally speaking you should allow inbound connections as well, it contributes positively to the overall connectivity of the network. Lately there has been some issues opened on the Substrate ...
Aaro Altonen's user avatar
4 votes

Validation of Transactions Executed in on_finalised Function within the Hook

You mean on_finalize? There are no transactions executed in that. It is called by the block author to finalize the built block. But all state changes that happen in there are guarded by consensus and ...
Oliver Tale-Yazdi's user avatar
3 votes
Accepted

When staking polkadot on the Ledger Live app, how do I select validators to avoid the error - There are no active nominations?

Although the minimum amount to submit nomination intent is 10 DOT, the minimum nomination amount to receive staking rewards on Polkadot is dynamic and can change from era to era (each era is a day on ...
DrW3RK's user avatar
  • 981
3 votes
Accepted

How to call session.set_keys from the CLI?

For cli, you can use the polkadot-js api-cli - $ polkadot-js-api --seed ... --tx tx.session.setKeys 0x.... There is also a docker image available with all the polkadot-js/tools tools.
RosaryBeads's user avatar
3 votes

How can I generate and sign session keys and insert it to the keystore before starting my node?

You can insert the pre-generated session keys to the node by calling rpc author_insertKey. However you will need to take care of the encoding of the keys, since the content of the session keys in ...
h4x3rotab's user avatar
  • 717
3 votes

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

Practically, when running a Kusama parachain (a program with both a live parachain client and a relay chain client), we give it 4 cores and 8 Gb RAM on GCP. Two cores are sufficient for one client. ...
h4x3rotab's user avatar
  • 717
3 votes

Is there a way for a validator node to store relay chain db and parachain data in different partitions

The db/full/parachains will currently will be always put under the path of the main db. So, you could run your collator with collator -- -d /some/path/for/db. And then the parachains db will end in /...
bkchr's user avatar
  • 11.6k
3 votes

Validator not being onboarded due to Election NoFallback error, possibly

2022-03-08 22:34:48.034 DEBUG offchain-worker runtime::election-provider: [#199] 🗳 pre-dispatch checks failed for mined solution: Module { index: 19, error: 1, message: Some("...
kianenigma's user avatar
  • 2,799
3 votes
Accepted

How to associate stash accounts with host via RPC/JS/shell

Where are you getting this list of candidate validators from? The hasKey query is for checking if a node contains a specific session key. That is, you would not pass an account ID or address to it. I ...
joepetrowski's user avatar
  • 2,955
3 votes
Accepted

How to check if an address is a validator?

Yes, you can check if it is a key in the Validators storage map.
joepetrowski's user avatar
  • 2,955
3 votes
Accepted

How does a validator know that a given collator can author?

The relay chain validator can not know this and doesn't know this. It will accept any PoV and it should fail at validation if the author isn't the correct one. This is the job of the validation code ...
bkchr's user avatar
  • 11.6k
3 votes

Help for Staking Pallet! Preventing oversubscription on validator nodes

maxNominatorsCount is the maximum number of nomination intentions that can be set. In other words, it is limit on the maximum number of nominators. If set to None, no limit will exist. ...
kianenigma's user avatar
  • 2,799
3 votes
Accepted

what affect the change of the minimum stake of a Nominator?

The minimum nomination stake is not a fixed number. The minimum stake of a nominator for an election round is the smallest nomination stake that is backing at least one validator that will be part of ...
gpestana's user avatar
  • 263
3 votes
Accepted

Fixed Validator Rewards in an NPoS Substrate chain

Totally possible. The reward paid our per era is provided to staking as type EraPayout, which can be anything that implements trait EraPayout. You can have an implementation for this trait that ...
kianenigma's user avatar
  • 2,799
2 votes

On our own rococo staging chain is it possible to bypass the long onboarding process for parachains, with Sudo?

It takes 2 sessions for the chain to fully onboard as a parathread. https://docs.substrate.io/tutorials/v3/cumulus/rococo/#register-as-a-parathread
Bruno's user avatar
  • 8,315
2 votes

On our own rococo staging chain is it possible to bypass the long onboarding process for parachains, with Sudo?

You can compile polkadot with --features fast-runtime and most actions (onboarding, democracy) will require a lot less time.
Squirrel's user avatar
  • 3,849
2 votes

Is there a way for a validator node to store relay chain db and parachain data in different partitions

You can move the parachain or relaychain database to another partition, and then make a soft symlink pointing to the new location in the original directory. This is a widely used trick in Khala mining ...
h4x3rotab's user avatar
  • 717

Only top scored, non community-wiki answers of a minimum length are eligible