signerconfig

package
v0.9.13 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// BackendChainID optionally set the Chain ID manually (usually queries network ID)
	BackendChainID = ffc("backend.chainId")
	// FileWalletEnabled if the Keystore V3 wallet is enabled
	FileWalletEnabled = ffc("fileWallet.enabled")
	// FileWalletPath the path of the Keystore V3 wallet path
	FileWalletPath = ffc("fileWallet.path")
	// FileWalletFilenamesWith0xPrefix whether or not to expect the 0x prefix on filenames
	FileWalletFilenamesWith0xPrefix = ffc("fileWallet.filenames.with0xPrefix")
	// FileWalletFilenamesPrimaryExt extension to append to the "from" address string to find the file (see metadata section for file types). All filenames must be lower case on disk.
	FileWalletFilenamesPrimaryExt = ffc("fileWallet.filenames.primaryExt")
	// FileWalletFilenamesPasswordExt extension to append to the "from" address string to find the password file (if not using a metadata file to specify the password file)
	FileWalletFilenamesPasswordExt = ffc("fileWallet.filenames.passwordExt")
	// FileWalletDefaultPasswordFile default password file to use if neither the metadata, or passwordExtension find a password
	FileWalletDefaultPasswordFile = ffc("fileWallet.defaultPasswordFile")
	// FileWalletSignerCacheSize the number of signing keys to keep in memory
	FileWalletSignerCacheSize = ffc("fileWallet.signerCacheSize")
	// FileWalletSignerCacheTTL the time to keep an unused signing key in memory
	FileWalletSignerCacheTTL = ffc("fileWallet.signerCacheTTL")
	// FileWalletMetadataFormat format to parse the metadata - supported: auto (from extension) / filename / toml / yaml / json (please quote "0x..." strings in YAML)
	FileWalletMetadataFormat = ffc("fileWallet.metadata.format")
	// FileWalletMetadataKeyFileProperty use for toml/yaml/json to find the name of the file containing the keystorev3 file
	FileWalletMetadataKeyFileProperty = ffc("fileWallet.metadata.keyFileProperty")
	// FileWalletMetadataPasswordFileProperty use for toml/yaml to find the name of the file containing the keystorev3 file
	FileWalletMetadataPasswordFileProperty = ffc("fileWallet.metadata.passwordFileProperty")
)
View Source
var BackendConfig config.Section
View Source
var CorsConfig config.Section
View Source
var ServerConfig config.Section

Functions

func Reset

func Reset()

Types

This section is empty.

Jump to

Keyboard shortcuts

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