OSDN Git Service

Delete tendermint's types.
[bytom/bytom.git] / types / block_meta.go
diff --git a/types/block_meta.go b/types/block_meta.go
deleted file mode 100644 (file)
index 8e5bd43..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-package types
-
-type BlockMeta struct {
-       BlockID BlockID `json:"block_id"` // the block hash and partsethash
-       Header  *Header `json:"header"`   // The block's Header
-}
-
-func NewBlockMeta(block *Block, blockParts *PartSet) *BlockMeta {
-       return &BlockMeta{
-               BlockID: BlockID{block.Hash(), blockParts.Header()},
-               Header:  block.Header,
-       }
-}