Add a comment to indicate new fields

pull/362/head
Rongjian Lan 6 years ago
parent 8ecef22cbe
commit 328b5056f9
  1. 1
      core/types/block.go

@ -91,6 +91,7 @@ type Header struct {
Extra []byte `json:"extraData" gencodec:"required"`
MixDigest common.Hash `json:"mixHash" gencodec:"required"`
Nonce BlockNonce `json:"nonce" gencodec:"required"`
// Additional Fields
ShardID ShardID `json:"shardID" gencodec:"required"`
PrepareSignature [48]byte `json:"signature" gencodec:"required"`
PrepareBitmap []byte `json:"bitmap" gencodec:"required"` // Contains which validator signed

Loading…
Cancel
Save