Expand description
Common environment variables
Structs§
- Configuration for the bitcoin RPC
Constants§
- Env var that can be set to point at the bitcoind’s cookie file to use for auth
- Env var for bitcoin RPC kind (obsolete, use FM_DEFAULT_* instead)
- Env var for bitcoin URL (obsolete, use FM_DEFAULT_* instead)
- Env var for bitcoin RPC kind (default, used only as a default value for DKG config settings)
- Env var for bitcoin URL (default, used only as a default value for DKG config settings)
- In certain devimint cases (e.g. upgrade tests), we’d like to test things without enabling lnv2. This should make deviming stop setting
FM_ENABLE_MODULE_LNV2_ENV
- Env var for bitcoin RPC kind (forced, takes priority over config settings)
- Env var for bitcoin URL (default, takes priority over config settings)
devimint
will set when code is running insidedevimint
- In tests we want to routinely enable an extra unknown module to ensure all client code handles correct modules that client doesn’t know about.
Functions§
- Check if env variable is set and not equal
0
orfalse
which are common ways to disable something. - Use to allow
process_output
to process RBF withdrawal outputs. - Use to detect if running in a test environment, either
cargo test
ordevimint
.