mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
32 lines
1.5 KiB
Go
32 lines
1.5 KiB
Go
// Copyright 2024 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 miner
|
|
|
|
import "github.com/ethereum/go-ethereum/metrics"
|
|
|
|
// blockRecommitFeeGaugeName is the name of the metrics collection that tracks
|
|
// the block fees generated by each recommit round (relative to the latest).
|
|
var blockRecommitFeeGaugeName = "miner/fees/recommits"
|
|
|
|
// blockProposedFeeGauge is the metric tracking the best fee proposed based on the
|
|
// local transaction pool.
|
|
var blockProposedFeeGauge = metrics.NewRegisteredResettingGauge("miner/fees/proposed", nil)
|
|
|
|
// blockIncludedFeeGauge is the metric tracking the final fee of the block as
|
|
// seen on chain. In case of a detected MEV block, it will be the MEV fees, not
|
|
// the block proposal fees.
|
|
var blockIncludedFeeGauge = metrics.NewRegisteredResettingGauge("miner/fees/included", nil)
|