nodecfg

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 19, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

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 MigrateNodeConfig(db *sql.DB) error

func SaveConfigWithTx

func SaveConfigWithTx(tx *sql.Tx, c *params.NodeConfig) error

func SaveNewWakuNode added in v0.179.27

func SaveNewWakuNode(db *sql.DB, nodeAddress string) error

func SaveNodeConfig

func SaveNodeConfig(db *sql.DB, c *params.NodeConfig) error

func SetLightClient added in v0.171.21

func SetLightClient(db *sql.DB, enabled bool) error

func SetLogLevel added in v0.171.21

func SetLogLevel(db *sql.DB, logLevel string) error

func SetMaxLogBackups added in v0.179.27

func SetMaxLogBackups(db *sql.DB, maxLogBackups uint) error

func SetStoreConfirmationForMessagesSent added in v0.182.35

func SetStoreConfirmationForMessagesSent(db *sql.DB, enabled bool) error

func SetWakuV2CustomNodes added in v0.171.21

func SetWakuV2CustomNodes(db *sql.DB, customNodes map[string]string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL