Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Iterator ¶
type Iterator[T any] struct { // contains filtered or unexported fields }
func NewIterator ¶
func (*Iterator[T]) HasPrevious ¶
type StateHash ¶
type StateHash struct {
Name, Properties string
}
StateHash is a struct that may be used as a map key for block states. It contains the name of the block state and an encoded version of the properties.
func HashState ¶
func HashState(state blockupgrader.BlockState) StateHash
HashState produces a hash for the block properties held by the blockState.
Click to show internal directories.
Click to hide internal directories.