status-go/protocol/transport
Andrea Maria Piana 75e0809f50 Split datasync messages in batches
When sending messages in quick succession, it might be that multiple
messages are batched together in datasync, resulting in a single large
payload.
This commit changes the behavior so that we can pass a max-message-size
and we split the message in batches before sending.

A more elegant way would be to split at the transport layer (i.e
waku/whisper), but that would be incompatible with older client.

We can still do that eventually to support larger messages.
2020-11-05 12:45:29 +01:00
..
waku Split datasync messages in batches 2020-11-05 12:45:29 +01:00
whisper Split datasync messages in batches 2020-11-05 12:45:29 +01:00
envelopes_monitor.go make lint-fix 2020-01-16 13:18:36 +01:00
filter.go Make shhext and protocol work with Waku (#1777) 2020-01-13 20:17:30 +01:00
filters_manager.go Use ephemeral keys for sending messsages 2020-07-27 08:51:27 +02:00
filters_manager_test.go Fix waku tests & contact ens (#1802) 2020-01-17 13:39:09 +01:00
topic.go Make shhext and protocol work with Waku (#1777) 2020-01-13 20:17:30 +01:00
transport.go Split datasync messages in batches 2020-11-05 12:45:29 +01:00