-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
23 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package types | ||
|
||
import ( | ||
"github.com/filecoin-project/go-state-types/crypto" | ||
"github.com/ipfs/go-cid" | ||
"github.com/shopspring/decimal" | ||
) | ||
|
||
type BlockHeader struct { | ||
Miner string | ||
Ticket *Ticket | ||
Parents []cid.Cid | ||
ParentWeight decimal.Decimal | ||
Height int64 | ||
ParentStateRoot cid.Cid | ||
ParentMessageReceipts cid.Cid | ||
Messages cid.Cid | ||
BLSAggregate *crypto.Signature | ||
Timestamp uint64 | ||
BlockSig *crypto.Signature | ||
ForkSignaling uint64 | ||
ParentBaseFee decimal.Decimal | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters