Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UtxoConfig ¶
type XLedgerConf ¶
type XLedgerConf struct {
// kv storage type
KVEngineType string `yaml:"kvEngineType,omitempty"`
OtherPaths []string `yaml:"otherPaths,omitempty"`
StorageType string `yaml:"storageType,omitempty"`
Utxo UtxoConfig `yaml:"utxo,omitempty"`
BlockCacheSize int `yaml:"blockCacheSize,omitempty"`
TxCacheSize int `yaml:"txCacheSize,omitempty"`
MempoolTxLimit int `yaml:"mempoolTxLimit,omitempty"`
}
func GetDefLedgerConf ¶
func GetDefLedgerConf() *XLedgerConf
func LoadLedgerConf ¶
func LoadLedgerConf(cfgFile string) (*XLedgerConf, error)
Click to show internal directories.
Click to hide internal directories.