Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ data class NodeParams(
feerateTolerance = FeerateTolerance(ratioLow = 0.01, ratioHigh = 100.0)
),
maxHtlcValueInFlightMsat = 20_000_000_000L,
maxAcceptedHtlcs = 12,
maxAcceptedHtlcs = 19,
expiryDeltaBlocks = CltvExpiryDelta(144),
// We use a long expiry delta here for a few reasons:
// - we want to ensure we're able to get HTLC-success txs confirmed if our peer ignores our preimage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ class StateSerializationTestsCommon : LightningTestSuite() {
.maxOf { it.size }
}

// with 12 incoming payments and 12 outgoing payments, our encrypted backup stays below the 65k limit for peer storage
assertTrue(peerStorageSize(12, 12) <= 65_000)
// with 19 incoming payments and 18 outgoing payments, our encrypted backup stays below the 65k limit for peer storage
assertTrue(peerStorageSize(19, 19) <= 65_000)
}

@Test
Expand Down