package
0.0.0-20250119000602-809120120630
Repository: https://github.com/n42blockchain/n42.git
Documentation: pkg.go.dev
# Functions
ApplyDAOHardFork modifies the state database according to the DAO hard-fork rules, transferring all balances of a set of DAO accounts to a single refund contract.
CalcBaseFee calculates the basefee of the header.
VerifyEip1559Header verifies some header attributes which were changed in EIP-1559, - gas limit check - basefee check.
VerifyGaslimit verifies the header gas limit according increase/decrease in relation to the parent gas limit.
# Variables
ErrBadNoDAOExtra is returned if a header does support the DAO fork on a no- fork client.
ErrBadProDAOExtra is returned if a header doesn't support the DAO fork on a pro-fork client.