Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70d08a5791 | ||
|
|
979bb8fca9 | ||
|
|
0080707fc7 | ||
|
|
b8413b129e |
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## v1.1.11
|
||||
|
||||
UPGRADE
|
||||
* [\#927](https://github.com/bnb-chain/bsc/pull/927) add readme for validators about how to enter/exit maintenance
|
||||
* [\#942](https://github.com/bnb-chain/bsc/pull/942) update the blockNumber of Euler Fork upgrade on BSC Mainnet
|
||||
|
||||
|
||||
## v1.1.10
|
||||
|
||||
FEATURE
|
||||
|
||||
@@ -124,7 +124,7 @@ This command will:
|
||||
|
||||
Steps:
|
||||
|
||||
1. Download the binary, config and genesis files from [release](https://github.com/bnb-chain/bsc/releases/tag/v1.1.10), or compile the binary by `make geth`.
|
||||
1. Download the binary, config and genesis files from [release](https://github.com/bnb-chain/bsc/releases/tag/v1.1.11), or compile the binary by `make geth`.
|
||||
2. Init genesis state: `./geth --datadir node init genesis.json`.
|
||||
3. Start your fullnode: `./geth --config ./config.toml --datadir ./node`.
|
||||
4. Or start a validator node: `./geth --config ./config.toml --datadir ./node -unlock ${validatorAddr} --mine --allow-insecure-unlock`. The ${validatorAddr} is the wallet account address of your running validator node.
|
||||
|
||||
47
docs/parlia/README-BEP-127.md
Normal file
47
docs/parlia/README-BEP-127.md
Normal file
@@ -0,0 +1,47 @@
|
||||
## BEP-127: Temporary Maintenance Mode for Validators
|
||||
|
||||
Temporary Maintenance is supposed to last one or a few hours. The validator seat will be temporarily dropped from the block producing rotation during the maintenance. Since long-time offline maintenance is not encouraged, the validator will still be slashed if the maintenance lasts too long. To lower the impact from poorly-operating validators who forget to claim its maintenance, they will be forced to enter Temporary Maintenance mode too.
|
||||
|
||||
- **enterMaintenance**: Validator can claim itself to enter scheduled maintenance by sending a transaction signed by the consensus key.
|
||||
- **exitMaintenance**: The validator can claim itself to exit maintenance by sending another transaction.
|
||||
|
||||
More details in [BEP-127](https://github.com/bnb-chain/BEPs/blob/master/BEP127.md).
|
||||
|
||||
|
||||
## How to enter/exit maintenance
|
||||
|
||||
### Running `geth`
|
||||
make sure you have unlocked the consensus address of your validator
|
||||
|
||||
### Running `built-in interactive`
|
||||
```shell
|
||||
$ geth attach geth.ipc
|
||||
```
|
||||
|
||||
This command will:
|
||||
* Start up `geth`'s built-in interactive [JavaScript console](https://geth.ethereum.org/docs/interface/javascript-console),
|
||||
(via the trailing `console` subcommand) through which you can interact using [`web3` methods](https://web3js.readthedocs.io/en/)
|
||||
(note: the `web3` version bundled within `geth` is very old, and not up to date with official docs),
|
||||
as well as `geth`'s own [management APIs](https://geth.ethereum.org/docs/rpc/server).
|
||||
|
||||
|
||||
### enter maintenance
|
||||
```
|
||||
web3.eth.sendTransaction({
|
||||
from: "consensus address of your validator",
|
||||
to: "0x0000000000000000000000000000000000001000",
|
||||
data: "0x9369d7de"
|
||||
})
|
||||
```
|
||||
|
||||
### exit maintenance
|
||||
```
|
||||
web3.eth.sendTransaction({
|
||||
from: "consensus address of your validator",
|
||||
to: "0x0000000000000000000000000000000000001000",
|
||||
data: "0x04c4fec6"
|
||||
})
|
||||
```
|
||||
|
||||
|
||||
|
||||
@@ -255,9 +255,7 @@ var (
|
||||
NielsBlock: big.NewInt(0),
|
||||
MirrorSyncBlock: big.NewInt(5184000),
|
||||
BrunoBlock: big.NewInt(13082000),
|
||||
|
||||
// TODO modify blockNumber
|
||||
EulerBlock: nil,
|
||||
EulerBlock: big.NewInt(18907621),
|
||||
|
||||
Parlia: &ParliaConfig{
|
||||
Period: 3,
|
||||
@@ -303,9 +301,7 @@ var (
|
||||
NielsBlock: big.NewInt(0),
|
||||
MirrorSyncBlock: big.NewInt(400),
|
||||
BrunoBlock: big.NewInt(400),
|
||||
|
||||
// TODO
|
||||
EulerBlock: nil,
|
||||
EulerBlock: nil,
|
||||
|
||||
Parlia: &ParliaConfig{
|
||||
Period: 3,
|
||||
|
||||
@@ -23,7 +23,7 @@ import (
|
||||
const (
|
||||
VersionMajor = 1 // Major version component of the current release
|
||||
VersionMinor = 1 // Minor version component of the current release
|
||||
VersionPatch = 10 // Patch version component of the current release
|
||||
VersionPatch = 11 // Patch version component of the current release
|
||||
VersionMeta = "" // Version metadata to append to the version string
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user