Documentation ¶
Overview ¶
Package context implements common context helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCtxWithGenesisInfo ¶
func GetCtxWithGenesisInfo(genesis *genesisAPI.Document) context.Context
GetCtxWithGenesisInfo returns a new context with values that contain additional from the given genesis file (e.g. token's symbol and token value's base-10 exponent, genesis document's hash).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.