Documentation ¶
Index ¶
- Constants
- func GetNodeConfigFromDB(db *sql.DB) (*params.NodeConfig, error)
- func MigrateNodeConfig(db *sql.DB) error
- func SaveConfigWithTx(tx *sql.Tx, c *params.NodeConfig) error
- func SaveNewWakuNode(db *sql.DB, nodeAddress string) error
- func SaveNodeConfig(db *sql.DB, c *params.NodeConfig) error
- func SetLightClient(db *sql.DB, enabled bool) error
- func SetLogLevel(db *sql.DB, logLevel string) error
- func SetMaxLogBackups(db *sql.DB, maxLogBackups uint) error
- func SetWakuV2CustomNodes(db *sql.DB, customNodes map[string]string) error
Constants ¶
View Source
const BootNodes = "boot"
View Source
const DiscV5BootstrapNodes = "discV5boot"
View Source
const PushNotificationsServers = "pushnotification"
View Source
const RendezvousNodes = "rendezvous"
View Source
const StaticNodes = "static"
View Source
const TrustedMailServers = "trusted_mailserver"
View Source
const WakuNodes = "waku"
Variables ¶
This section is empty.
Functions ¶
func GetNodeConfigFromDB ¶ added in v0.98.5
func GetNodeConfigFromDB(db *sql.DB) (*params.NodeConfig, error)
func MigrateNodeConfig ¶
func SaveConfigWithTx ¶
func SaveConfigWithTx(tx *sql.Tx, c *params.NodeConfig) error
func SaveNewWakuNode ¶ added in v0.179.27
func SaveNodeConfig ¶
func SaveNodeConfig(db *sql.DB, c *params.NodeConfig) error
func SetMaxLogBackups ¶ added in v0.179.27
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.