mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-26 00:16:18 +00:00
fixed params/config.go
This commit is contained in:
parent
2fa93cdbf2
commit
951ca28d08
2 changed files with 5 additions and 1 deletions
|
|
@ -221,6 +221,10 @@ func (c *ChainConfig) IsTIPSigning(num *big.Int) bool {
|
|||
return isForked(common.TIPSigning, num)
|
||||
}
|
||||
|
||||
func (c *ChainConfig) IsTIPRandomize(num *big.Int) bool {
|
||||
return isForked(common.TIPRandomize, num)
|
||||
}
|
||||
|
||||
// GasTable returns the gas table corresponding to the current phase (homestead or homestead reprice).
|
||||
//
|
||||
// The returned GasTable's fields shouldn't, under any circumstances, be changed.
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ const (
|
|||
PendingBlockNumber = BlockNumber(-2)
|
||||
LatestBlockNumber = BlockNumber(-1)
|
||||
EarliestBlockNumber = BlockNumber(0)
|
||||
LatestEpochNumber = EpochNumber(-1)
|
||||
LatestEpochNumber = EpochNumber(-1)
|
||||
)
|
||||
|
||||
// UnmarshalJSON parses the given JSON fragment into a BlockNumber. It supports:
|
||||
|
|
|
|||
Loading…
Reference in a new issue