Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
540ac2a1b7 |
@@ -1,4 +1,6 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
## v1.0.6
|
||||||
|
* [\#68](https://github.com/binance-chain/bsc/pull/68) apply mirror sync upgrade on mainnet
|
||||||
|
|
||||||
## v1.0.5
|
## v1.0.5
|
||||||
|
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ func SetupGenesisBlockWithOverride(db ethdb.Database, genesis *Genesis, override
|
|||||||
// if we just continued here.
|
// if we just continued here.
|
||||||
// The full node of two BSC testnets may run without genesis file after been inited.
|
// The full node of two BSC testnets may run without genesis file after been inited.
|
||||||
if genesis == nil && stored != params.MainnetGenesisHash &&
|
if genesis == nil && stored != params.MainnetGenesisHash &&
|
||||||
stored != params.ChapelGenesisHash && stored != params.RialtoGenesisHash {
|
stored != params.ChapelGenesisHash && stored != params.RialtoGenesisHash && stored != params.BSCGenesisHash {
|
||||||
return storedcfg, stored, nil
|
return storedcfg, stored, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -227,7 +227,7 @@ var (
|
|||||||
MuirGlacierBlock: big.NewInt(0),
|
MuirGlacierBlock: big.NewInt(0),
|
||||||
RamanujanBlock: big.NewInt(0),
|
RamanujanBlock: big.NewInt(0),
|
||||||
NielsBlock: big.NewInt(0),
|
NielsBlock: big.NewInt(0),
|
||||||
MirrorSyncBlock: big.NewInt(0),
|
MirrorSyncBlock: big.NewInt(5184000),
|
||||||
Parlia: &ParliaConfig{
|
Parlia: &ParliaConfig{
|
||||||
Period: 3,
|
Period: 3,
|
||||||
Epoch: 200,
|
Epoch: 200,
|
||||||
@@ -498,7 +498,6 @@ func (c *ChainConfig) IsOnMirrorSync(num *big.Int) bool {
|
|||||||
return configNumEqual(c.MirrorSyncBlock, num)
|
return configNumEqual(c.MirrorSyncBlock, num)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// IsMuirGlacier returns whether num is either equal to the Muir Glacier (EIP-2384) fork block or greater.
|
// IsMuirGlacier returns whether num is either equal to the Muir Glacier (EIP-2384) fork block or greater.
|
||||||
func (c *ChainConfig) IsMuirGlacier(num *big.Int) bool {
|
func (c *ChainConfig) IsMuirGlacier(num *big.Int) bool {
|
||||||
return isForked(c.MuirGlacierBlock, num)
|
return isForked(c.MuirGlacierBlock, num)
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ import (
|
|||||||
const (
|
const (
|
||||||
VersionMajor = 1 // Major version component of the current release
|
VersionMajor = 1 // Major version component of the current release
|
||||||
VersionMinor = 0 // Minor version component of the current release
|
VersionMinor = 0 // Minor version component of the current release
|
||||||
VersionPatch = 5 // Patch version component of the current release
|
VersionPatch = 6 // Patch version component of the current release
|
||||||
VersionMeta = "" // Version metadata to append to the version string
|
VersionMeta = "" // Version metadata to append to the version string
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user