|
|
@ -223,7 +223,7 @@ type Header interface { |
|
|
|
Logger(logger *zerolog.Logger) *zerolog.Logger |
|
|
|
Logger(logger *zerolog.Logger) *zerolog.Logger |
|
|
|
|
|
|
|
|
|
|
|
// GetShardState returns the deserialized shard state object.
|
|
|
|
// GetShardState returns the deserialized shard state object.
|
|
|
|
// Note that header encoded shard state only exists in the first block of the epoch
|
|
|
|
// Note that header encoded shard state only exists in the last block of the previous epoch
|
|
|
|
GetShardState() (shard.State, error) |
|
|
|
GetShardState() (shard.State, error) |
|
|
|
|
|
|
|
|
|
|
|
// Copy returns a copy of the header.
|
|
|
|
// Copy returns a copy of the header.
|
|
|
|