Documentation ¶
Index ¶
- func OpenDB(rootDir string) (dbm.DB, error)
- func OpenTraceWriter(traceWriterFile string) (w io.Writer, err error)
- func ParseJsonFromFile[T any](path string) ([]T, error)
- func RegisterDenoms(denom, baseDenom string, decimals int64)
- func SetPrefixes(config *sdk.Config, accountAddressPrefix string)
- func WaitForQuitSignals() server.ErrorCode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseJsonFromFile ¶
ParseJsonFromFile parses a json file into a slice of type T
func RegisterDenoms ¶
RegisterDenoms registers the base and display denominations to the SDK.
func SetPrefixes ¶
Set config for prefixes
func WaitForQuitSignals ¶
WaitForQuitSignals waits for SIGINT and SIGTERM and returns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.