Update status-whisper-usage-spec.md

Review update

Co-Authored-By: Adam Babik <a.babik@designfortress.com>
This commit is contained in:
kdeme 2019-09-18 15:49:14 +02:00 committed by GitHub
parent 43c9c6b167
commit 38ce4ebf55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -284,7 +284,7 @@ Receiving public messages depends on Whisper filters idea. Upon receiving, messa
1. Calculate a symmetric key using [`shh_generateSymKeyFromPassword`](https://github.com/ethereum/go-ethereum/wiki/Whisper-v6-RPC-API#shh_generatesymkeyfrompassword) passing public chat name as a string and save the result to `symKeyID`
2. Call [`shh_subscribe`](https://github.com/ethereum/go-ethereum/wiki/Whisper-v6-RPC-API#shh_subscribe) with criteria:
1. `minPow` MAY be at least `0.002`
1. `minPow` MUST be `0.002` at most
2. `topics` MUST be list of hex-encoded topics you expect messages to receive from (follow [Topic](#topic) section)
3. `allowP2P` MUST be set to `true` if offline messages are supported, otherwise can be `false`.