atomicgas

package
v1.22.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2026 License: GPL-3.0, LGPL-3.0, LGPL-3.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// BlockGasCostStep is the rate at which the block gas cost changes per
	// second.
	//
	// This value modifies the previously used `blockgascost.BlockGasCostStep`.
	BlockGasCostStep = 200_000

	// TargetGas is the target amount of gas to be included in the window. The
	// target amount of gas per second equals [TargetGas] / `dynamicfee.WindowLen`.
	//
	// This value modifies the previously used `dynamicfee.TargetGas`.
	TargetGas = 15_000_000

	// BaseFeeChangeDenominator is the denominator used to smoothen base fee
	// changes.
	//
	// This value modifies the previously used `dynamicfee.BaseFeeChangeDenominator`.
	BaseFeeChangeDenominator = 36

	// AtomicGasLimit specifies the maximum amount of gas that can be consumed
	// by the atomic transactions included in a block.
	//
	// transactions where the cumulative atomic gas consumed is capped by the
	// atomic gas limit, similar to the block gas limit.
	AtomicGasLimit = 100_000

	// AtomicTxIntrinsicGas is the base amount of gas to charge per atomic
	// transaction. There are additional gas costs that can be charged per
	// transaction.
	AtomicTxIntrinsicGas = 10_000
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL