Expand description
Application-level constants.
Constants§
- CHANNEL_
MAX_ FUNDING_ SATS - User nodes and the LSP will reject new inbound channels with total channel value larger than this value in satoshis.
- DEFAULT_
PAYMENTS_ BATCH_ SIZE - FORCE_
CLOSE_ AVOIDANCE_ MAX_ FEE_ SATS - See:
lightning::util::config::ChannelConfig::force_close_avoidance_max_fee_satoshis - FREE_
LIQUIDITY_ SAT - The amount of liquidity (in sats) that Lexe supplies to us for free, which we are not expected to pay interest on. This is also the amount of liquidity Lexe’s LSP will supply to a user in their first JIT zeroconf channel open.
- GS_
ROOT_ R4_ CA_ CERT_ DER - GlobalSign Root R4 (ECDSA), used by
googleapis.comanddns.google. - GTS_
ROOT_ R1_ CA_ CERT_ DER - Google Trust Services Root R1 (RSA), used by
googleapis.comanddns.google. - GTS_
ROOT_ R2_ CA_ CERT_ DER - Google Trust Services Root R2 (RSA), used by
googleapis.comanddns.google. - GTS_
ROOT_ R3_ CA_ CERT_ DER - Google Trust Services Root R3 (ECDSA), used by
googleapis.comanddns.google. - GTS_
ROOT_ R4_ CA_ CERT_ DER - Google Trust Services Root R4 (ECDSA), used by
googleapis.comanddns.google. - IMPORTANT_
PERSIST_ RETRIES - The default number of persist retries for important objects.
- LDK_
DUST_ LIMIT_ SATS - Our dust limit for e.g. our channel close txo’s. If our channel balance, after paying close fees, is <= this value, we will not get a txo and this value is lost (goes to fees).
- LEXE_
DUMMY_ CA_ CERT_ DER - The Lexe dummy CA used in local testing and development.
- LEXE_
PROD_ CA_ CERT_ DER - The Lexe CA responsible for
lexe.appand.lx. - LEXE_
STAGING_ CA_ CERT_ DER - The Lexe CA responsible for
staging.lexe.appandstaging.lx. - LSP_
RESERVE_ PROP_ PPM - User nodes require the LSP to reserve this proportion of the channel value
(in millionths) as potential punishment. LDK clamps the actual reserve
amount to at least 1000 sats. Since the LSP can’t send this amount to the
user, the user’s inbound liquidity is also reduced by this amount. Used for:
lightning::util::config::ChannelHandshakeConfig::their_channel_reserve_proportional_millionths - LSP_
USERNODE_ CHANNEL_ MIN_ FUNDING_ SATS - The LSP will only accept new inbound channels with channel value at or above this limit in satoshis.
- MAINNET_
ESPLORA_ WHITELIST - MAINNET_
LEXE_ BLOCKSTREAM_ ESPLORA - MAINNET_
LEXE_ MEMPOOL_ ESPLORA - MAINNET_
PUBLIC_ BLOCKSTREAM_ ESPLORA - MAX_
FLOW_ TIMEOUT - Computing
max_flowtakes ~30s at 10 iterations and ~50s at 17 iterations. SetLayerConfig::handling_timeoutandreqwest::RequestBuilder::timeoutto this value to ensure that callers can get a response. Seecompute_max_flow_to_recipientfor more details. - MAX_
LIQUIDITY_ SAT - The maximum amount of liquidity that Lexe will supply to a user in one tx.
- MAX_
PAYMENTS_ BATCH_ SIZE - Reject backend requests for payments that are too large.
- MAX_
PAYMENT_ NOTE_ BYTES - Reject payment notes that are too large.
- NODE_
PROVISION_ DNS_ SUFFIX - NODE_
RUN_ DNS - Fake DNS names used by the reverse proxy to route requests to user nodes. Provision mode uses “{mr_short}.provision.lexe.app” and run mode uses “run.lexe.app”. These DNS names don’t actually resolve.
- NODE_
RUN_ URL - RELEASE_
WINDOW_ SIZE - This is both:
- TESTNE
T3_ ESPLORA_ WHITELIST - TESTNE
T3_ LEXE_ BLOCKSTREAM_ ESPLORA - TESTNE
T3_ LEXE_ ESPLORA - TESTNE
T3_ LEXE_ MEMPOOL_ ESPLORA - TESTNE
T3_ LTBL_ ESPLORA - TESTNE
T3_ PUBLIC_ BLOCKSTREAM_ ESPLORA - USER_
NODE_ SHUTDOWN_ TIMEOUT - The amount of time user node tasks have to finish after a graceful shutdown signal is received before the task is forced to exit.
- USER_
RUNNER_ SHUTDOWN_ TIMEOUT - The amount of time user the user runner has to finish after a graceful shutdown signal is received before the program is forced to exit.
- YANKED_
NODE_ MEASUREMENTS - YANKED_
NODE_ VERSIONS - If a node release needs to be yanked, add its semver version and measurement
here. See
node::approved_versionsfor more info.