Documentation
¶
Index ¶
Constants ¶
View Source
const (
DBVersion uint32 = 2
)
Variables ¶
View Source
var (
CoreComponent *app.CoreComponent
)
View Source
var ParamsDatabase = &ParametersDatabase{}
Functions ¶
This section is empty.
Types ¶
type ParametersDatabase ¶
type ParametersDatabase struct {
Tangle struct {
// Path defines the path to the tangle database folder.
Path string `default:"database/tangle" usage:"the path to the tangle database folder"`
}
UTXO struct {
// Path defines the path to the UTXO database folder.
Path string `default:"database/utxo" usage:"the path to the UTXO database folder"`
}
// Debug defines whether to ignore the check for corrupted databases (should only be used for debug reasons).
Debug bool `default:"false" usage:"ignore the check for corrupted databases (should only be used for debug reasons)"`
}
ParametersDatabase contains the definition of the parameters used by the ParametersDatabase.
Click to show internal directories.
Click to hide internal directories.