entropyxyz / entropy-docs

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

How big can a message be? #112

Open johnnymatthews opened 3 weeks ago

johnnymatthews commented 3 weeks ago

How much stuff can I put into a message?

ameba23 commented 3 weeks 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.