mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-23 12:07:17 +00:00
eb497372ae
* 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
13 lines
398 B
Go
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
|
|
}
|