mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 12:16:25 +00:00
Docs.
This commit is contained in:
1 parent
3788e47ce9
commit
cf7bd8a6cd
1 file changed
+4
-3
@@ -19,10 +19,11 @@
|
||||
//!
|
||||
//! For now this is limited to a simple qualified majority vote (whose parameter is retrieved from
|
||||
//! storage) between validators. A single vote may be proposed per era, and at most one approval
|
||||
//! vote may be cast by each validator. The tally is maintained
|
||||
//!
|
||||
//!
|
||||
//! vote may be cast by each validator. The tally is maintained through a simple tag in storage for
|
||||
//! each validator that has approved.
|
||||
//!
|
||||
//! At the end of the era, all validators approvals are tallied and if there are sufficient to pass
|
||||
//! the proposal then it is enacted. All items in storage concerning the proposal are reset.
|
||||
|
||||
use runtime_support::Vec;
|
||||
use keyedvec::KeyedVec;
|
||||
|
||||
Reference in new issue
Block a user