From 868cc84b20c610319c72d0490af779320d9c95cd Mon Sep 17 00:00:00 2001 From: 2ro <17595647+2ro@users.noreply.github.com> Date: Fri, 3 Jul 2026 03:20:48 -0400 Subject: [PATCH] floonet-strfry: raise strfry maxEventSize to 131072 Match the advertised maxWebsocketPayloadSize so a maximum-size NIP-59 gift-wrapped slatepack payment (~66 KiB worst case) is accepted; the old 64 KiB cap could silently reject the largest payments on the money path. --- deploy/strfry/strfry.conf | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deploy/strfry/strfry.conf b/deploy/strfry/strfry.conf index cc626b6..884e2d7 100644 --- a/deploy/strfry/strfry.conf +++ b/deploy/strfry/strfry.conf @@ -21,9 +21,11 @@ dbParams { } events { - # Reject oversized events. 64 KiB comfortably fits profile metadata and - # large gift-wrapped payloads. - maxEventSize = 65536 + # Reject oversized events. 128 KiB matches maxWebsocketPayloadSize below and + # fits a maximum-size NIP-59 gift-wrapped slatepack payment (~66 KiB worst + # case per the wallet's relay research), which the old 64 KiB cap could + # silently reject. + maxEventSize = 131072 # Clock-skew tolerance for future-dated events. NIP-59 gift wraps tweak # created_at backwards (up to ~2 days), so they are unaffected by the