devimint/envs.rs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
// faucet.rs
// Env variable to TODO
pub const FM_FAUCET_BIND_ADDR_ENV: &str = "FM_FAUCET_BIND_ADDR";
// Env variable to TODO
pub const FM_BITCOIN_RPC_URL_ENV: &str = "FM_BITCOIN_RPC_URL";
// Env variable to TODO
pub const FM_CLN_SOCKET_ENV: &str = "FM_CLN_SOCKET";
// Env variable to TODO
pub const FM_PORT_GW_LND_ENV: &str = "FM_PORT_GW_LND";
// tests.rs
// Env variable to TODO
pub const FM_PASSWORD_ENV: &str = "FM_PASSWORD";
// gatewayd.rs
// Env variable to TODO
pub const FM_GATEWAY_DATA_DIR_ENV: &str = "FM_GATEWAY_DATA_DIR";
// Env variable to TODO
pub const FM_GATEWAY_LISTEN_ADDR_ENV: &str = "FM_GATEWAY_LISTEN_ADDR";
// Env variable to TODO
pub const FM_GATEWAY_API_ADDR_ENV: &str = "FM_GATEWAY_API_ADDR";
// federation.rs
// Env variable to set client's data directory
pub const FM_DATA_DIR_ENV: &str = "FM_DATA_DIR";
// Env variable to set the working directory of the client containing the config
// and db
pub const FM_CLIENT_DIR_ENV: &str = "FM_CLIENT_DIR";
// cli.rs
// Env variable to set the testing directory of the client
pub const FM_TEST_DIR_ENV: &str = "FM_TEST_DIR";
// Env variable to set the size of the federation
pub const FM_FED_SIZE_ENV: &str = "FM_FED_SIZE";
// Env variable to create a link to the test dir under this path
pub const FM_LINK_TEST_DIR_ENV: &str = "FM_LINK_TEST_DIR";
// Env variable to run a degraded federation with FM_OFFLINE_NODES shutdown
pub const FM_OFFLINE_NODES_ENV: &str = "FM_OFFLINE_NODES";
// Env variable to set a federation's invite code
pub const FM_INVITE_CODE_ENV: &str = "FM_INVITE_CODE";
// util.rs
// Env variable to override gatewayd binary set:
pub const FM_GATEWAYD_BASE_EXECUTABLE_ENV: &str = "FM_GATEWAYD_BASE_EXECUTABLE";
// Env variable to override override fedimintd binary set:
pub const FM_FEDIMINTD_BASE_EXECUTABLE_ENV: &str = "FM_FEDIMINTD_BASE_EXECUTABLE";
// Env variable to override fedimint-cli binary set:
pub const FM_FEDIMINT_CLI_BASE_EXECUTABLE_ENV: &str = "FM_FEDIMINT_CLI_BASE_EXECUTABLE";
// Env variable to override fedimint-cli default command
// (like "$FM_FEDIMINT_CLI_BASE_EXECUTABLE --data-dir /tmp/xxx ....")
// set:
pub const FM_MINT_CLIENT_ENV: &str = "FM_MINT_CLIENT";
// Env variable to override gateway-cli binary set:
pub const FM_GATEWAY_CLI_BASE_EXECUTABLE_ENV: &str = "FM_GATEWAY_CLI_BASE_EXECUTABLE";
// Env variable to override fedimint-load-test-tool binary set:
pub const FM_LOAD_TEST_TOOL_BASE_EXECUTABLE_ENV: &str = "FM_LOAD_TEST_TOOL_BASE_EXECUTABLE";
// Env variable to override lightning-cli binary set:
pub const FM_LIGHTNING_CLI_BASE_EXECUTABLE_ENV: &str = "FM_LIGHTNING_CLI_BASE_EXECUTABLE";
// Env variable to override lightning-cli default command set:
pub const FM_LIGHTNING_CLI_ENV: &str = "FM_LIGHTNING_CLI";
// Env variable to override lncli binary set:
pub const FM_LNCLI_BASE_EXECUTABLE_ENV: &str = "FM_LNCLI_BASE_EXECUTABLE";
// Env variable to override lncli default command set:
pub const FM_LNCLI_ENV: &str = "FM_LNCLI";
// Env variable to override bitcoin-cli binary set:
pub const FM_BITCOIN_CLI_BASE_EXECUTABLE_ENV: &str = "FM_BITCOIN_CLI_BASE_EXECUTABLE";
// Env variable to override bitcoin-cli default command set:
pub const FM_BTC_CLIENT_ENV: &str = "FM_BTC_CLIENT";
// Env variable to override bitcoind binary set:
pub const FM_BITCOIND_BASE_EXECUTABLE_ENV: &str = "FM_BITCOIND_BASE_EXECUTABLE";
// Env variable to override lightningd binary set:
pub const FM_LIGHTNINGD_BASE_EXECUTABLE_ENV: &str = "FM_LIGHTNINGD_BASE_EXECUTABLE";
// Env variable to override lnd binary set:
pub const FM_LND_BASE_EXECUTABLE_ENV: &str = "FM_LND_BASE_EXECUTABLE";
// Env variable to override electrs binary set:
pub const FM_ELECTRS_BASE_EXECUTABLE_ENV: &str = "FM_ELECTRS_BASE_EXECUTABLE";
// Env variable to override esplora binary set:
pub const FM_ESPLORA_BASE_EXECUTABLE_ENV: &str = "FM_ESPLORA_BASE_EXECUTABLE";
// Env variable to override esplora binary set:
pub const FM_RECOVERYTOOL_BASE_EXECUTABLE_ENV: &str = "FM_RECOVERYTOOL_BASE_EXECUTABLE";
// Env variable to override esplora binary set:
pub const FM_FAUCET_BASE_EXECUTABLE_ENV: &str = "FM_FAUCET_BASE_EXECUTABLE";
// Env variable to override esplora binary set:
pub const FM_FEDIMINT_DBTOOL_BASE_EXECUTABLE_ENV: &str = "FM_FEDIMINT_DBTOOL_BASE_EXECUTABLE";
// Env variable to set the logs directory
pub const FM_LOGS_DIR_ENV: &str = "FM_LOGS_DIR";
// Env variable to TODO
pub const FM_BACKWARDS_COMPATIBILITY_TEST_ENV: &str = "FM_BACKWARDS_COMPATIBILITY_TEST";
// Env variable to define command for the LND client
pub const FM_GWCLI_LND_ENV: &str = "FM_GWCLI_LND";
/// Make `devimint` print stderr of called commands directly on its own stderr
pub const FM_DEVIMINT_CMD_INHERIT_STDERR_ENV: &str = "FM_DEVIMINT_CMD_INHERIT_STDERR";
/// Force devimint to run a test with a deprecated configuration
pub const FM_DEVIMINT_RUN_DEPRECATED_TESTS_ENV: &str = "FM_DEVIMINT_RUN_DEPRECATED_TESTS";
/// Devimint's "data dir" (think `/usr/devimint/`).
///
/// "Static" because we use "data dir" for the directory `devimint` puts all the
/// runtime state in, which is typically a per-invocation temporary directory.
///
/// Can be set during `cargo build` to force the default one, then available in
/// Rust code during building, and also checked at runtime to allow
/// overwriting.
pub const FM_DEVIMINT_STATIC_DATA_DIR_ENV: &str = "FM_DEVIMINT_STATIC_DATA_DIR";