mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 23:56:43 +00:00
* feat(beacon): introduce soft blocks * feat: update api.go * chore(ci): update CI * feat: update L1Origin * feat: update `verifyHeader` * test: update tests * feat: update consensus * feat: update consensus * feat: update genesis * feat: remove timestamp check in prepareWork * feat: merge changes in #281 * Update eth/catalyst/api.go Co-authored-by: maskpp <maskpp266@gmail.com> * Update internal/ethapi/taiko_preconf.go Co-authored-by: maskpp <maskpp266@gmail.com> * fix consensus test * revert commit f1df58 * fix consensus test (#349) * Update eth/catalyst/api.go Co-authored-by: maskpp <maskpp266@gmail.com> * feat: add back timestamp check in worker * add genesis * temp fix for old l1origin * nil value * feat: rename to `L1OriginLegacy` * feat: change `common.Big0` as the default value for legacy l1Origin, to make `IsSoftblock` return `false` * feat(beacon): change the reorg log level (#350) * use debug log level to avoid logging too many logs when frequently soft block reorg. * use debug log level to avoid logging too many logs when frequently soft block reorg. * feat: check --taiko flag --------- Co-authored-by: David <david@taiko.xyz> * add rlp optional flag (#353) * fix lint * fix test case * feat(l1Origin): remove the reverted l1Origins (#355) * remove the reverted l1Origins * feat: add more comments --------- Co-authored-by: David <david@taiko.xyz> * only forward txs * chore: update ci --------- Co-authored-by: maskpp <maskpp266@gmail.com> Co-authored-by: Jeffery Walsh <cyberhorsey@gmail.com>
47 lines
1.7 KiB
Go
47 lines
1.7 KiB
Go
// Copyright 2022 The go-ethereum Authors
|
|
// This file is part of the go-ethereum library.
|
|
//
|
|
// The go-ethereum library is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU Lesser General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// The go-ethereum library is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU Lesser General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU Lesser General Public License
|
|
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
package flags
|
|
|
|
import "github.com/urfave/cli/v2"
|
|
|
|
const (
|
|
EthCategory = "ETHEREUM"
|
|
BeaconCategory = "BEACON CHAIN"
|
|
DevCategory = "DEVELOPER CHAIN"
|
|
StateCategory = "STATE HISTORY MANAGEMENT"
|
|
TxPoolCategory = "TRANSACTION POOL (EVM)"
|
|
BlobPoolCategory = "TRANSACTION POOL (BLOB)"
|
|
PerfCategory = "PERFORMANCE TUNING"
|
|
AccountCategory = "ACCOUNT"
|
|
APICategory = "API AND CONSOLE"
|
|
NetworkingCategory = "NETWORKING"
|
|
MinerCategory = "MINER"
|
|
GasPriceCategory = "GAS PRICE ORACLE"
|
|
VMCategory = "VIRTUAL MACHINE"
|
|
LoggingCategory = "LOGGING AND DEBUGGING"
|
|
MetricsCategory = "METRICS AND STATS"
|
|
MiscCategory = "MISC"
|
|
TestingCategory = "TESTING"
|
|
DeprecatedCategory = "ALIASED (deprecated)"
|
|
// CHANGE(taiko): Add a new flag category for Taiko network
|
|
TaikoCategory = "TAIKO"
|
|
)
|
|
|
|
func init() {
|
|
cli.HelpFlag.(*cli.BoolFlag).Category = MiscCategory
|
|
cli.VersionFlag.(*cli.BoolFlag).Category = MiscCategory
|
|
}
|