Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChainIDFromHome ¶
GetChainIDFromHome returns the chain ID from the client configuration in the given home directory.
func OpenDB ¶
func OpenDB(_ types.AppOptions, home string, backendType dbm.BackendType) (dbm.DB, error)
OpenDB opens a database based on the specified backend type. It takes the home directory where the database data will be stored, along with the backend type. It opens a database named "application" using the specified backend type and the data directory. It returns the opened database and an error (if any). If the database opens successfully, the error will be nil.
NOTE: this is included in builds without rocksdb. When building the binary with rocksdb, the code in 'rocksdb.go' will be included instead of this
func OpenReadOnlyDB ¶
OpenReadOnlyDB opens rocksdb backend in read-only mode.
func SetBip44CoinType ¶
SetBip44CoinType sets the global coin type to be used in hierarchical deterministic wallets.
Types ¶
This section is empty.