erigon-pulse/core/block_builder_parameters.go
Andrew Ashikhmin eb497372ae
Interruptible PoS block building (#4438)
* Fix a typo

* BlockBuilder dummy

* BlockProposerParametersPOS -> BlockBuilderParameters

* Pass tx to MiningStep

* BlockBuilderFunc

* Interrupt in MiningExec Stage

* Draft implementation of BlockBuilder

* Fail back to empty header

* Add a comment

* cosmetic change

* Cosmetic change again

* It's not safe to pass transactions between goroutines
2022-06-13 15:43:09 +02:00

13 lines
398 B
Go

package core
import "github.com/ledgerwatch/erigon/common"
// Parameters for PoS block building
// See also https://github.com/ethereum/execution-apis/blob/v1.0.0-alpha.9/src/engine/specification.md#payloadattributesv1
type BlockBuilderParameters struct {
ParentHash common.Hash
Timestamp uint64
PrevRandao common.Hash
SuggestedFeeRecipient common.Address
}