remove collation type not part of this PR/branch

Former-commit-id: 62179e39610ce42eae3f2e716c01be8a5dda1c42 [formerly cf4fe8cf7839f178f3d3d27da0b92fe1f83746a5]
Former-commit-id: 8199f36a3b617a55c1fd0ad63b79223e095b0665
This commit is contained in:
Preston Van Loon 2018-01-15 16:46:33 -05:00
parent 2315677271
commit 92a48ed5a7

View File

@ -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
}