Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TranslatePacket ¶
TranslatePacket translates the block runtime ids for the packet.
Types ¶
type Store ¶
type Store struct { I int64 // contains filtered or unexported fields }
Store is a block store, used for translating the block state ids.
func (*Store) HashFromRuntime ¶
HashFromRuntime converts a runtime id to a block hash.
func (*Store) Import ¶
func (store *Store) Import(blocks []interface{})
Import imports an array of blocks into the block store.
func (*Store) RuntimeFromHash ¶
RuntimeFromHash converts a block hash to a block runtime id.
Click to show internal directories.
Click to hide internal directories.