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.
This commit is contained in:
@@ -21,9 +21,11 @@ dbParams {
|
|||||||
}
|
}
|
||||||
|
|
||||||
events {
|
events {
|
||||||
# Reject oversized events. 64 KiB comfortably fits profile metadata and
|
# Reject oversized events. 128 KiB matches maxWebsocketPayloadSize below and
|
||||||
# large gift-wrapped payloads.
|
# fits a maximum-size NIP-59 gift-wrapped slatepack payment (~66 KiB worst
|
||||||
maxEventSize = 65536
|
# 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
|
# 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
|
# created_at backwards (up to ~2 days), so they are unaffected by the
|
||||||
|
|||||||
Reference in New Issue
Block a user