Shared types used across the node, wallet, and GUI code.
Types
Name |
Description |
Details about a configuration initialization failure. |
|
Instructions for how a PSBT should be signed or filled with information. |
|
Stored settings. This struct combines settings from the command line, a read‐only configuration file, and a read‐write runtime settings file. |
|
Accessor for list of settings that skips negated values when iterated over. The last boolean |
Type Aliases
Name |
Description |
Callback function to let the user decide whether to abort loading if settings.json file exists and can't be parsed, or to ignore the error and overwrite the file. |
|
Settings value type (string/integer/boolean/null variant). |
Enums
Name |
Description |
Outcome of reading configuration and initializing the data directory. |
|
Error conditions reported while processing a PSBT. |
Functions
Name |
Description |
Build the error message for an invalid amount value. |
|
Build a warning that a configured amount is unusually high. |
|
Parse a fee estimate mode from its string name. |
|
Format a single fee mode and its description. |
|
List the available fee estimate mode names. |
|
Build the detailed help text describing all fee modes. |
|
Map lookup helper. |
|
Get settings value from combined sources: forced settings, command line arguments, runtime read‐write settings, and the read‐only config file. |
|
Get combined setting value similar to GetSetting(), except if setting was specified multiple times, return a list of all the values specified. |
|
Read config files, and create datadir and settings.json if they don't exist. |
|
Return the error message shown when an invalid estimate mode is given. |
|
Build the error message for an invalid port value. |
|
Return true if a setting is set in the default config file section, and not overridden by a higher priority command‐line or network section value. |
|
Return a bilingual message describing a PSBT error. |
|
Read settings file. |
|
Build the error message for a failed address resolution. |
|
Return a human‐readable description of a fee reason. |
|
Return a bilingual message describing a transaction error. |
|
Write settings file. |
Created with MrDocs