Questions tagged [npos]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
45 views

Maintained Substrate-NPoS-template?

Substrate has a substrate-node-template with Aura consensus which is well maintained and updated time to time. Do we have a same kind of template for NPoS consensus which is well maintained and ...
Immanuel John's user avatar
1 vote
1 answer
26 views

Patent for NPoS (Nominated Proof of Stake)

Does anyone know where this patent is discussed in the Polkadot or Substrate docs? Does anyone know the patent details, numbers, etc.?
Begley Brothers Inc's user avatar
4 votes
1 answer
235 views

Why we should choose DPOS over NPOS or NPOS over DPOS?

I want to understand if we want to integrate the proof of stake consensus for our chain. So which consensus we should go for NPOS(Nominated proof of stake) or DPOS (Delegated proof of stake)? How we ...
Pankaj's user avatar
  • 1,896
0 votes
1 answer
70 views

`UnknownTransaction::CannotLookup` error on each extrinsic

I've implemented unified accounts in a NPoS consensus-based substrate chain, and modified the polkadot-js/apps accordingly as well. The transactions through metamask go through successfully, but I'm ...
Discardo's user avatar
  • 382
0 votes
1 answer
49 views

Fixed Validator Rewards in an NPoS Substrate chain

Is it possible to have fixed validator rewards on each epoch in a NPoS consensus based substrate chain. This suggests that the rewards are based on inflation and stake rate, and I've not seen any ...
Discardo's user avatar
  • 382
0 votes
0 answers
38 views

staking.StakingElectionFailed in a Substrate NPOS chain

I've developed an EVM compatible chain with NPOS as its consensus mechanism, but on the completion of each era, I get this error that staking.StakingElectionFailed. What could be the reason for this? ...
Discardo's user avatar
  • 382
0 votes
0 answers
76 views

build NPOS EVM commpatible chain

What's the best project setup to build an NPoS and EVM Compatible chain at this moment? Which version/branch of polkadot release to use? such as polkadot-v0.9.22 or polkadot-v0.9.18? Use ORML or ...
Muhammad Talha Dar's user avatar
0 votes
1 answer
58 views

How could I get that reward amount of the nominator

As a developer,I want to use the interface to search this information: which can get the amount which nominator has been rewarded at every era and staking?
Rose's user avatar
  • 305
0 votes
2 answers
134 views

Babe PoA to NPoS migration

Here's my babe pallet configuration: I suppose that for PoA we want to keep the same authority set impl pallet_babe::Config for Runtime { type EpochDuration = EpochDuration; type ...
mr_bovo's user avatar
  • 171
3 votes
0 answers
52 views

NPOS not working after adding the EVM to node config in substrate

I have implemented the NPOS with EVM blockchain using the substrate. NPOS working fine but after adding EVM to Genesis config in node the NPOS is not working and the staking election failed. Smart ...
Muhammad Zaryab Rafique's user avatar
5 votes
0 answers
86 views

fp_evm::GenesisAccount causes StakingElection.fail

As the title says, I have added EVM Compatibility to my NPoS runtime(using chainsafe/substrate-node-template), and when i run my node with Alice and Bob validators, the StakingElection begins to fail. ...
Muhammad Talha Dar's user avatar
0 votes
1 answer
147 views

NPoS with Aura - no planned era

UPDATE: The election always finalizes with Election Fallback and set of validators doesnt't and neither does the Era, but sessions keep increasing. I understand that an era is just a couple of ...
Muhammad Talha Dar's user avatar
1 vote
0 answers
31 views

Polkadot Election Failure

I created a Polkadot private chain with 5 validator candidates and 4 validator active. If I set 1 epoch = 1 era and shutdown one active validator, there is no problem, the standby validator takes over ...
Aiden Pearce's user avatar
8 votes
2 answers
137 views

When inserting authority keys, should I choose the controller derivation, the stash derivation, or just the vanilla secret?

Starting a PoS network, I realised that my local node requires keys to start producing blocks. Unlike in test networks where I could simply pass --alice and have the validator keys inserted into the ...
Purple_Turtle's user avatar
10 votes
1 answer
106 views

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

According to the Wiki article - https://wiki.polkadot.network/docs/learn-nominator#oversubscribed-validators only the top 256 nominators of an oversubscribed validator receive rewards. It also ...
DrW3RK's user avatar
  • 956
11 votes
1 answer
413 views

How to upgrade consensus engine of a live chain from PoA to PoS? [duplicate]

I am working on a substrate based blockchain that is in production. We started the node using PoA consensus but now we want to switch to PoS consensus. I did the necessary changes i.e added necessary ...
Fenn Saji's user avatar
  • 145
10 votes
2 answers
78 views

What is MAX_NOMINATIONS?

In this code : sp_npos_elections::generate_solution_type!( #[compact] pub struct NposCompactSolution16::< VoterIndex = u32, TargetIndex = u16, Accuracy = sp_runtime::...
RoboT's user avatar
  • 377
5 votes
1 answer
89 views

What is the difference between pallet_elections_phragmen and sp_npos_solution?

Just breezing through the docs for both crates, I can see that they both provide an implementation of phragmen's election algorithm, where sp_npos_elections provides an additional PhragMMS and ...
Purple_Turtle's user avatar