mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 13:07:17 +00:00
37ccbc53d6
* Bump MaxPendingPayloads * UnknownPayload error * Improve ExchangeTransitionConfigurationV1 comment * Extract MakeEmptyHeader * Move MakeEmptyHeader to chain_makers * Start with empty block as pending payload * Only build payloads with the right parent hash * Double check parent hash in SpawnMiningCreateBlockStage * Simpler error formatting * ReadHeadBlockHash instead of ReadHeadHeaderHash * Avoid rebuilding already built blocks * getPayload should stop the build process * Tweaking stageLoopIsBusy * Don't update pending payload after engine_getPayload
12 lines
350 B
Go
12 lines
350 B
Go
package core
|
|
|
|
import "github.com/ledgerwatch/erigon/common"
|
|
|
|
// See https://github.com/ethereum/execution-apis/blob/main/src/engine/specification.md#payloadattributesv1
|
|
type BlockProposerParametersPOS struct {
|
|
ParentHash common.Hash
|
|
Timestamp uint64
|
|
PrevRandao common.Hash
|
|
SuggestedFeeRecipient common.Address
|
|
}
|