Skip to content

Commit

Permalink
update usage for improved geth bls command (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
buddh0 authored Dec 7, 2023
1 parent 1ab0342 commit 201159f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/validator/create-val.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ You are incentivized to set a voting key which will be used for fast finality vo
geth bls account new --datadir ./node
```

This command will create a bls wallet and generate a voting key. During the process, you will need to set the wallet password and another password used to encrypt the voting key. The former is required when running the validator, and the latter is only used to import the voting key into the existing wallet. Do not disclose the voting key, otherwise it may be used for malicious voting!
This command will create a bls wallet and generate a voting key. During the process, you will need to set the wallet password to encrypt the voting key. The wallet password is required when running the validator. Do not disclose the voting key, otherwise it may be used for malicious voting!

If you already have a voting key, create a bls wallet and use the keyfile to recover it:
```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/validator/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Running your validators with the same consensus keys and voting keys concurrentl
1. **10000 staked BNB** will be slashed for the validator.
2. The Double-Sign Jail time is **2^63-1 seconds**, which means the candidate cannot become a validator anymore.

> Note: **Rewards for submitting Malicious Vote evidence:** **50BNB**. Only relayers can submit a slash request on BSC with the evidence of Malicious Vote of BSC for now, which should contain the **2 votes**, signed by the offending validator. Open access to anyone is planned.
> Note: **Rewards for submitting Malicious Vote evidence:** **5BNB**. Only relayers can submit a slash request on BSC with the evidence of Malicious Vote of BSC for now, which should contain the **2 votes**, signed by the offending validator. Open access to anyone is planned.

#### Loss for Offline Slash
Expand Down
3 changes: 1 addition & 2 deletions docs/validator/run-val.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ OR

- Step 1. Create a voting key first: `./geth bls account new --datadir <path>`

- It will generate a wallet if it has not been created before, you have to keep the wallet password. If the wallet has been created before, you only need to provide the password.
- Then it will create an account, you have to keep the account password too, the password length should >=10 characters.
- It will generate a wallet if it has not been created before, you have to keep the wallet password. If the wallet has been created before, you only need to provide the password. The password length should >=10 characters. Then it will create an account.

Note: Remember, you can create several accounts, but only one will be used.

Expand Down
2 changes: 1 addition & 1 deletion docs/validator/slash-fee.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ If the evidence is valid:

1. **10,000BNB** would be slashed from the **self-delegated** BNB of the validator
2. If the self-delegator’s stake amount on the validator is less than 10,000BNB, then the unbonded delegation balance would be slashed if it exists until totally 10,000BNB slashed from the self-delegator of the validator. However, if all the slashed BNB is less than 10,000, all the remaining stake of the self-delegator will be slashed
3. **50BNB** would allocate to the submitter from the systemreward contract as a reward if the validator is active when the evidence submitted
3. **5BNB** would allocate to the submitter from the systemreward contract as a reward if the validator is active when the evidence submitted
4. The slashed BNB will allocate to the custody addresses of which validators would take part in the next distribution. If no matched validators found, then the slashed BNB will allocate to validators on BC as block fee
5. Set the validator ‘jailed’ with a duration of 292 years, and remove it from validator set by an instance BSC validator set update Cross-Chain update

Expand Down

0 comments on commit 201159f

Please sign in to comment.