nwaku/waku/waku_core/message
Ivan FB ed09074cc3
chore: message.nim - set max message size to 150KiB according to spec (#2298)
* message.nim: set max message size to 150KiB according to spec

Using KiB instead of KB because that seems more aligned with
the actual default defined in nim-libp2p (1024 * 1024)

Spec details: https://rfc.vac.dev/spec/64/#message-size

* test_protocol.nim: align test to current WakuMessage limit
* test_waku_client.nim: adapt test to MaxWakuMessageSize change
* make maxMessageSize configurable for wakunode2
* wakunode2 app now accepts max-num-bytes-msg-size with KiB, KB, or B units
* testlib/wakunode.nim: set maxMessageSize: "1024 KiB"
* test_waku_client.nim: remove duplicate check in "Valid Payload Sizes"
* set DefaultMaxWakuMessageSizeStr as the only source of truth
* external_config.nim: rename max-num-bytes-msg-size -> max-msg-size
2024-01-03 13:11:50 +01:00
..
codec.nim feat(rln-relay): removed rln from experimental 🚀 (#2001) 2023-09-11 12:02:31 +05:30
default_values.nim chore: message.nim - set max message size to 150KiB according to spec (#2298) 2024-01-03 13:11:50 +01:00
digest.nim feat: Add new DB column `messageHash` (#2202) 2023-11-22 17:32:56 +01:00
message.nim chore: message.nim - set max message size to 150KiB according to spec (#2298) 2024-01-03 13:11:50 +01:00