This commit is contained in:
Gav
2018-01-21 23:00:36 +01:00
parent 3788e47ce9
commit cf7bd8a6cd
@@ -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;