signermsgs

package
v0.9.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigFileWalletEnabled                      = ffc("config.fileWallet.enabled", "Whether the Keystore V3 filesystem wallet is enabled", "boolean")
	ConfigFileWalletPath                         = ffc("config.fileWallet.path", "Path on the filesystem where the metadata files (and/or key files) are located", "string")
	ConfigFileWalletFilenamesWith0xPrefix        = ffc("config.fileWallet.filenames.with0xPrefix", "When true filenames will be resolved with an 0x prefix", "boolean")
	ConfigFileWalletFilenamesPrimaryExt          = ffc("config.fileWallet.filenames.primaryExt", "Extension for the primary file to look up for an address string (can be key file directly, or metadata file)", "string")
	ConfigFileWalletFilenamesPasswordExt         = ffc("config.fileWallet.filenames.passwordExt", "Optional to use to look up password files, that sit next to the key files directly. Alternative to metadata when you have a password per keystore", "string")
	ConfigFileWalletDefaultPasswordFile          = ffc("config.fileWallet.defaultPasswordFile", "Optional default password file to use, if one is not specified individually for the key (via metadata, or file extension)", "string")
	ConfigFileWalletSignerCacheSize              = ffc("config.fileWallet.signerCacheSize", "Maximum of signing keys to hold in memory", "number")
	ConfigFileWalletSignerCacheTTL               = ffc("config.fileWallet.signerCacheTTL", "How long ot leave an unused signing key in memory", "duration")
	ConfigFileWalletMetadataFormat               = ffc("config.fileWallet.metadata.format", "Set this if the primary key file is a metadata file. Supported formats: auto (from extension) / filename / toml / yaml / json (please quote \"0x...\" strings in YAML)", "string")
	ConfigFileWalletMetadataKeyFileProperty      = ffc("config.fileWallet.metadata.keyFileProperty", "Go template to look up the key-file path from the metadata. Example: '{{ index .signing \"key-file\" }}'", "go-template")
	ConfigFileWalletMetadataPasswordFileProperty = ffc("config.fileWallet.metadata.passwordFileProperty", "Go template to look up the password-file path from the metadata", "go-template")

	ConfigServerAddress      = ffc("config.server.address", "Local address for the JSON/RPC server to listen on", "string")
	ConfigServerPort         = ffc("config.server.port", "Port for the JSON/RPC server to listen on", "number")
	ConfigAPIPublicURL       = ffc("config.server.publicURL", "External address callers should access API over", "string")
	ConfigServerReadTimeout  = ffc("config.server.readTimeout", "The maximum time to wait when reading from an HTTP connection", "duration")
	ConfigServerWriteTimeout = ffc("config.server.writeTimeout", "The maximum time to wait when writing to a HTTP connection", "duration")
	ConfigAPIShutdownTimeout = ffc("config.server.shutdownTimeout", "The maximum amount of time to wait for any open HTTP requests to finish before shutting down the HTTP server", i18n.TimeDurationType)

	ConfigBackendChainID  = ffc("config.backend.chainId", "Optionally set the Chain ID of the blockchain. Otherwise the Network ID will be queried, and used as the Chain ID in signind", "number")
	ConfigBackendURL      = ffc("config.backend.url", "URL for the backend JSON/RPC server / blockchain node", "url")
	ConfigBackendProxyURL = ffc("config.backend.proxy.url", "Optional HTTP proxy URL", "url")
)
View Source
var (
	MsgInvalidOutputType            = ffe("FF22010", "Invalid output type: %s")
	MsgInvalidParam                 = ffe("FF22011", "Invalid parameter at position %d for method %s: %s")
	MsgRPCRequestFailed             = ffe("FF22012", "Backend RPC request failed")
	MsgReadDirFile                  = ffe("FF22013", "Directory listing failed")
	MsgWalletNotAvailable           = ffe("FF22014", "Wallet for address '%s' not available")
	MsgWalletFailed                 = ffe("FF22015", "Wallet for address '%s' could not be initialized")
	MsgBadGoTemplate                = ffe("FF22016", "Bad go template for '%s' - try something like '{{ index .signing \"key-file\" }}' syntax")
	MsgNoWalletEnabled              = ffe("FF22017", "No wallets enabled in configuration")
	MsgInvalidRequest               = ffe("FF22018", "Invalid request data")
	MsgInvalidParamCount            = ffe("FF22019", "Invalid number of parameters: expected=%d received=%d")
	MsgMissingFrom                  = ffe("FF22020", "Missing 'from' address")
	MsgQueryChainID                 = ffe("FF22021", "Failed to query Chain ID")
	MsgSigningFailed                = ffe("FF22022", "Signing failed: %s")
	MsgInvalidTransaction           = ffe("FF22023", "Invalid eth_sendTransaction input")
	MsgMissingRequestID             = ffe("FF22024", "Invalid JSON/RPC request. Must set request ID")
	MsgUnsupportedABIType           = ffe("FF22025", "Unsupported elementary type '%s' in ABI type '%s'")
	MsgUnsupportedABISuffix         = ffe("FF22026", "Unsupported type suffix '%s' in ABI type '%s' - expected %s")
	MsgMissingABISuffix             = ffe("FF22027", "Missing type suffix in ABI type '%s' - expected %s")
	MsgInvalidABISuffix             = ffe("FF22028", "Invalid suffix in ABI type '%s' - expected %s")
	MsgInvalidABIArraySpec          = ffe("FF22029", "Invalid array suffix in ABI type '%s'")
	MsgInvalidIntegerABIInput       = ffe("FF22030", "Unable to parse '%v' of type %T as integer for component %s")
	MsgInvalidFloatABIInput         = ffe("FF22031", "Unable to parse '%v' of type %T as floating point number for component %s")
	MsgInvalidStringABIInput        = ffe("FF22032", "Unable to parse '%v' of type %T as string for component %s")
	MsgInvalidBoolABIInput          = ffe("FF22033", "Unable to parse '%v' of type %T as boolean for component %s")
	MsgInvalidHexABIInput           = ffe("FF22034", "Unable to parse input of type %T as hex for component %s")
	MsgMustBeSliceABIInput          = ffe("FF22035", "Unable to parse input of type %T for component %s - must be an array")
	MsgFixedLengthABIArrayMismatch  = ffe("FF22036", "Input array is length %d, and required fixed array length is %d for component %s")
	MsgTupleABIArrayMismatch        = ffe("FF22037", "Input array is length %d, and required tuple component count is %d for component %s")
	MsgTupleABINotArrayOrMap        = ffe("FF22038", "Input type %T is not array or map for component %s")
	MsgTupleInABINoName             = ffe("FF22039", "Tuple child %d does not have a name for component %s")
	MsgMissingInputKeyABITuple      = ffe("FF22040", "Input map missing key '%s' required for tuple component %s")
	MsgBadABITypeComponent          = ffe("FF22041", "Bad ABI type component: %s")
	MsgWrongTypeComponentABIEncode  = ffe("FF22042", "Incorrect type expected=%s found=%T for ABI encoding of component %s")
	MsgInsufficientDataABIEncode    = ffe("FF22043", "Insufficient data elements on input expected=%d found=%d for ABI encoding of component %s")
	MsgNumberTooLargeABIEncode      = ffe("FF22044", "Numeric value does not fit in bit length %d for ABI encoding of component %s")
	MsgNotEnoughtBytesABIArrayCount = ffe("FF22045", "Insufficient bytes to read array index for component %s")
	MsgABIArrayCountTooLarge        = ffe("FF22046", "Array index %s too large for component %s")
	MsgNotEnoughtBytesABIValue      = ffe("FF22047", "Insufficient bytes to read %s value %s")
	MsgNotEnoughtBytesABISignature  = ffe("FF22048", "Insufficient bytes to read signature")
	MsgIncorrectABISignatureID      = ffe("FF22049", "Incorrect ID for signature %s expected=%s found=%s")
	MsgUnknownABIElementaryType     = ffe("FF22050", "Unknown elementary type %s for component %s")
	MsgUnknownTupleSerializer       = ffe("FF22051", "Unknown tuple serialization option %d")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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