ap0

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2025 License: GPL-3.0, LGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

AP0 defines constants used during the initial network launch.

Index

Constants

View Source
const (
	// MinGasPrice is the minimum gas price of a transaction.
	//
	// This value was modified by `ap1.MinGasPrice`.
	MinGasPrice = 470 * utils.GWei

	// AtomicTxFee is the amount of AVAX that must be burned by an atomic tx.
	//
	// This value was replaced with the Apricot Phase 3 dynamic fee mechanism.
	AtomicTxFee = units.MilliAvax

	// Note: MaximumExtraDataSize has been reduced to 32 in Geth, but is kept the same in Coreth for
	// backwards compatibility.
	MaximumExtraDataSize = 64 // Maximum size extra data may be after Genesis.

	MinGasLimit          = 5000               // Minimum the gas limit may ever be.
	MaxGasLimit          = 0x7fffffffffffffff // Maximum the gas limit (2^63-1).
	GasLimitBoundDivisor = 1024               // The bound divisor of the gas limit, used in update calculations.
)

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