Expand description
Application-level constants.
Modules§
- timeout
- Timeout constants and hierarchies. Timeout constants, organized into nested modules named after the API trait, service, or struct whose timeouts it holds.
Constants§
- DEFAULT_
PAYMENTS_ BATCH_ SIZE - FIRST_
USER_ API_ NODE_ VERSION - The first node version to serve the
/user/v1/provisionendpoint, older node versions serve only/app/provision. - FORCE_
CLOSE_ AVOIDANCE_ MAX_ FEE_ SATS - Unconditional extra fee the LSP<->user channel funder will pay for coop-close in order to avoid a potential force-close due to fee disagreement.
- 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. - HBA_
CLAIM_ MIN_ BALANCE_ SATS - The minimum total wallet balance (in sats) required to claim or update a custom Human Bitcoin Address. Deters mass-claiming of usernames.
- 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_ PROPORTION - 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_
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 - 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.