entropyxyz / entropy-docs

Documentation for Entropy.
https://docs.entropy.xyz
GNU Affero General Public License v3.0
3 stars 1 forks source link

How big can a message be? #112

Closed johnnymatthews closed 2 months ago

johnnymatthews commented 5 months ago

How much stuff can I put into a message?

ameba23 commented 5 months ago

Assuming you mean the message in a signature request. i think it is as much as axum (the http server) will allow in a post request, which by default is 2mb. Since messages are encoded as hex they take up twice as much space, plus there is some other data in the request, so lets say just under 1mb. There might also be restrictions from the http client, so it depends where the request is coming from.