mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-21 19:20:39 +00:00
d69b20bc4e
Prerequisites: https://github.com/ledgerwatch/interfaces/pull/187 & https://github.com/ledgerwatch/erigon-lib/pull/1069. Also implement https://github.com/ethereum/execution-apis/pull/426.
20 lines
632 B
Go
20 lines
632 B
Go
package core
|
|
|
|
import (
|
|
libcommon "github.com/ledgerwatch/erigon-lib/common"
|
|
|
|
"github.com/ledgerwatch/erigon/core/types"
|
|
)
|
|
|
|
// Parameters for PoS block building
|
|
// See also https://github.com/ethereum/execution-apis/blob/main/src/engine/cancun.md#payloadattributesv3
|
|
type BlockBuilderParameters struct {
|
|
PayloadId uint64
|
|
ParentHash libcommon.Hash
|
|
Timestamp uint64
|
|
PrevRandao libcommon.Hash
|
|
SuggestedFeeRecipient libcommon.Address
|
|
Withdrawals []*types.Withdrawal // added in Shapella (EIP-4895)
|
|
ParentBeaconBlockRoot *libcommon.Hash // added in Dencun (EIP-4788)
|
|
}
|