More standard staking miner deposits (#3621)

This commit is contained in:
Kian Paimani
2021-08-11 23:08:16 +02:00
committed by GitHub
parent 4e89b6adde
commit ecf71233c3
3 changed files with 31 additions and 16 deletions
+2 -5
View File
@@ -331,11 +331,8 @@ parameter_types! {
// signed config
pub const SignedMaxSubmissions: u32 = 128;
pub const SignedDepositBase: Balance = deposit(1, 0);
// A typical solution occupies within an order of magnitude of 50kb.
// This formula is currently adjusted such that a typical solution will spend an amount equal
// to the base deposit for every 50 kb.
pub const SignedDepositByte: Balance = deposit(1, 0) / (50 * 1024);
pub const SignedDepositBase: Balance = deposit(2, 0);
pub const SignedDepositByte: Balance = deposit(0, 10) / 1024;
// Each good submission will get 1 WND as reward
pub SignedRewardBase: Balance = 1 * UNITS;
// fallback: emergency phase.