mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
remove collation type not part of this PR/branch
Former-commit-id: 62179e39610ce42eae3f2e716c01be8a5dda1c42 [formerly cf4fe8cf7839f178f3d3d27da0b92fe1f83746a5] Former-commit-id: 8199f36a3b617a55c1fd0ad63b79223e095b0665
This commit is contained in:
parent
2315677271
commit
92a48ed5a7
@ -1,23 +0,0 @@
|
||||
package types
|
||||
|
||||
import (
|
||||
"github.com/ethereum/go-ethereum/common"
|
||||
)
|
||||
|
||||
type Collation struct {
|
||||
Header CollationHeader // Header metadata
|
||||
TxList []Transaction // List of transaction in this collation
|
||||
}
|
||||
|
||||
type CollationHeader struct {
|
||||
ShardID uint64 // Shard ID of the shard
|
||||
ExpectedPeriodNumber uint64 // Expected number in which this collation expects to be included
|
||||
PeriodStartPrevhash common.Hash // Hash of the last block before the expected period starts
|
||||
ParentCollectionHash common.Hash // Hash of the parent collation
|
||||
TxListRoot common.Hash // Root hash of the trie holding the transactions included in this collation
|
||||
Coinbase common.Address // Address chose by the creater of the shard header
|
||||
PostStateRoot common.Hash // New state root of the shard after this collation
|
||||
ReceiptsRoot common.Hash // Root hash of the receipt trie
|
||||
|
||||
// TODO: Add signature
|
||||
}
|
Loading…
Reference in New Issue
Block a user