Files

30 lines
1022 B
Go

// Copyright (C) 2019-2025, Lux Industries, Inc. All rights reserved.
// See the file LICENSE for licensing terms.
// AP0 defines constants used during the initial network launch.
package genesisparams
import (
"github.com/luxfi/constants"
"github.com/luxfi/coreth/utils"
)
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 LUX that must be burned by an atomic tx.
//
AtomicTxFee = constants.MilliLux
// 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.
)