mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
updated minvotercap
This commit is contained in:
parent
f570befa8e
commit
6d0d7c9313
1 changed files with 3 additions and 0 deletions
|
|
@ -30,7 +30,10 @@ func NewValidator(transactOpts *bind.TransactOpts, contractAddr common.Address,
|
||||||
func DeployValidator(transactOpts *bind.TransactOpts, contractBackend bind.ContractBackend, validatorAddress []common.Address, caps []*big.Int, ownerAddress common.Address) (common.Address, *Validator, error) {
|
func DeployValidator(transactOpts *bind.TransactOpts, contractBackend bind.ContractBackend, validatorAddress []common.Address, caps []*big.Int, ownerAddress common.Address) (common.Address, *Validator, error) {
|
||||||
minDeposit := new(big.Int)
|
minDeposit := new(big.Int)
|
||||||
minDeposit.SetString("50000000000000000000000", 10)
|
minDeposit.SetString("50000000000000000000000", 10)
|
||||||
|
minVoterCap := new(big.Int)
|
||||||
|
minVoterCap.SetString("10000000000000000000", 10)
|
||||||
// Deposit 50K XDC
|
// Deposit 50K XDC
|
||||||
|
// Min Voter Cap 10 XDC
|
||||||
// 150 masternodes
|
// 150 masternodes
|
||||||
// Candidate Delay Withdraw 30 days = 1296000 blocks
|
// Candidate Delay Withdraw 30 days = 1296000 blocks
|
||||||
// Voter Delay Withdraw 2 days = 8640 blocks
|
// Voter Delay Withdraw 2 days = 8640 blocks
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue