Lock-voting (#1254)

* Optionally long lock voting

* Lock voting.

* Fix tests

* Comment update

* Comments

* Minor grumbles

* Docs.
This commit is contained in:
Gav Wood
2018-12-13 18:58:50 +01:00
committed by Robert Habermeier
parent 025bcdda0f
commit 27f69def9a
9 changed files with 267 additions and 100 deletions
+2
View File
@@ -92,6 +92,7 @@ fn staging_testnet_config_genesis() -> GenesisConfig {
voting_period: 5 * MINUTES, // 3 days to discuss & vote on an active referendum
minimum_deposit: 50 * DOLLARS, // 12000 as the minimum deposit for a referendum
public_delay: 0,
max_lock_periods: 6,
}),
council_seats: Some(CouncilSeatsConfig {
active_council: vec![],
@@ -213,6 +214,7 @@ pub fn testnet_genesis(
voting_period: 18,
minimum_deposit: 10,
public_delay: 0,
max_lock_periods: 6,
}),
council_seats: Some(CouncilSeatsConfig {
active_council: endowed_accounts.iter()