nodecfg

package
v0.179.11 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 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 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 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