forked from ghostchain/ghost-node
minimal requirements lowered to two stakerers at minimum
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
f9b87d0d08
commit
aaf842f57b
@ -360,10 +360,10 @@ fn casper_staging_config_genesis() -> serde_json::Value {
|
|||||||
serde_json::json!({
|
serde_json::json!({
|
||||||
"balances": {
|
"balances": {
|
||||||
"balances": endowed_accounts
|
"balances": endowed_accounts
|
||||||
.iter()
|
.iter()
|
||||||
.map(|k: &AccountId| (k.clone(), ENDOWMENT))
|
.map(|k: &AccountId| (k.clone(), ENDOWMENT))
|
||||||
.chain(initial_authorities.iter().map(|x| (x.0.clone(), STASH)))
|
.chain(initial_authorities.iter().map(|x| (x.0.clone(), STASH)))
|
||||||
.collect::<Vec<_>>(),
|
.collect::<Vec<_>>(),
|
||||||
},
|
},
|
||||||
"session": {
|
"session": {
|
||||||
"keys": initial_authorities
|
"keys": initial_authorities
|
||||||
@ -384,7 +384,7 @@ fn casper_staging_config_genesis() -> serde_json::Value {
|
|||||||
},
|
},
|
||||||
"staking": {
|
"staking": {
|
||||||
"validatorCount": 50,
|
"validatorCount": 50,
|
||||||
"minimumValidatorCount": 4,
|
"minimumValidatorCount": 2,
|
||||||
"stakers": initial_authorities
|
"stakers": initial_authorities
|
||||||
.iter()
|
.iter()
|
||||||
.map(|x| {
|
.map(|x| {
|
||||||
|
Loading…
Reference in New Issue
Block a user