mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 18:41:03 +00:00
Improve parachain liveness by reducing required number of backing votes (#5016)
* Let node side take advantage reduced requirements in the runtime and hopefully improve liveness of parachains by means of that. * Fix tests.
This commit is contained in:
@@ -168,6 +168,9 @@ impl<H> Default for ProcessedCandidates<H> {
|
||||
}
|
||||
|
||||
/// Number of backing votes we need for a valid backing.
|
||||
///
|
||||
/// WARNING: This check has to be kept in sync with the node side check in the backing
|
||||
/// subsystem.
|
||||
pub fn minimum_backing_votes(n_validators: usize) -> usize {
|
||||
// For considerations on this value see:
|
||||
// https://github.com/paritytech/polkadot/pull/1656#issuecomment-999734650
|
||||
|
||||
Reference in New Issue
Block a user