Update forward limits
This commit is contained in:
parent
d9932e0a27
commit
630af6bc40
@ -2,8 +2,8 @@ import { createHodlInvoice, parsePaymentRequest } from 'ln-service'
|
|||||||
import { estimateRouteFee, getBlockHeight } from '../api/lnd'
|
import { estimateRouteFee, getBlockHeight } from '../api/lnd'
|
||||||
import { toBigInt, toPositiveBigInt, toPositiveNumber } from '@/lib/format'
|
import { toBigInt, toPositiveBigInt, toPositiveNumber } from '@/lib/format'
|
||||||
|
|
||||||
const MIN_OUTGOING_MSATS = BigInt(900) // the minimum msats we'll allow for the outgoing invoice
|
const MIN_OUTGOING_MSATS = BigInt(700) // the minimum msats we'll allow for the outgoing invoice
|
||||||
const MAX_OUTGOING_MSATS = BigInt(900_000_000) // the maximum msats we'll allow for the outgoing invoice
|
const MAX_OUTGOING_MSATS = BigInt(700_000_000) // the maximum msats we'll allow for the outgoing invoice
|
||||||
const MAX_EXPIRATION_INCOMING_MSECS = 900_000 // the maximum expiration time we'll allow for the incoming invoice
|
const MAX_EXPIRATION_INCOMING_MSECS = 900_000 // the maximum expiration time we'll allow for the incoming invoice
|
||||||
const INCOMING_EXPIRATION_BUFFER_MSECS = 300_000 // the buffer enforce for the incoming invoice expiration
|
const INCOMING_EXPIRATION_BUFFER_MSECS = 300_000 // the buffer enforce for the incoming invoice expiration
|
||||||
const MAX_OUTGOING_CLTV_DELTA = 1000 // the maximum cltv delta we'll allow for the outgoing invoice
|
const MAX_OUTGOING_CLTV_DELTA = 1000 // the maximum cltv delta we'll allow for the outgoing invoice
|
||||||
|
Loading…
x
Reference in New Issue
Block a user