Description Usage Arguments Value See Also Examples
shh_setMaxMessageSize sets the maximal message size allowed by this
node. Incoming and outgoing messages with a larger size will be rejected.
Whisper message size can never exceed the limit imposed by the underlying P2P
protocol (10 Mb).
1 | shh_setMaxMessageSize(size)
|
size |
Integer - Message size in bytes |
Boolean - true on success.
Other shh functions: gethr,
shh_addPrivatekey,
shh_addSymKey,
shh_deleteKeyPair,
shh_deleteSymKey,
shh_generateSymKeyFromPassword,
shh_getPrivateKey,
shh_getPublicKey,
shh_getSymKey,
shh_hasKeyPair,
shh_hasSymKey, shh_info,
shh_markTrustedPeer,
shh_newKeyPair,
shh_newMessageFilter,
shh_newSymKey, shh_post,
shh_setMinPoW, shh_version
1 | shh_setMaxMessageSize(1048576)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.