nwaku/waku/common/utils
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
..
DEPRECATION_NOTICE.md chore: add deprecation notice to utils module. move heartbeat to common 2023-04-19 14:27:16 +02:00
matterbridge_client.nim chore: update push raises pragma according to nim 1.6 2022-11-04 10:52:27 +01:00
nat.nim chore: vendor bump for 0.23.0 (#2274) 2023-12-14 07:16:39 +01:00
parse_size_units.nim chore: message.nim - set max message size to 150KiB according to spec (#2298) 2024-01-03 13:11:50 +01:00
sequence.nim chore(networking): get relay number of connections from protocol conns/streams (#1609) 2023-04-12 13:05:34 +02:00