2019-07-25 22:15:03 +00:00
|
|
|
package types
|
|
|
|
|
|
|
|
import "github.com/ipfs/go-cid"
|
|
|
|
|
|
|
|
type FullBlock struct {
|
2019-08-01 20:40:47 +00:00
|
|
|
Header *BlockHeader
|
|
|
|
BlsMessages []*Message
|
|
|
|
SecpkMessages []*SignedMessage
|
2019-07-25 22:15:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (fb *FullBlock) Cid() cid.Cid {
|
|
|
|
return fb.Header.Cid()
|
|
|
|
}
|