b543d32a31
* Add RequestMessage to sshext * E2E tests now use shhext_requestMessages * Typo in comment * Enhanced maintainability * Drop former mailservice * Code reorg after review * Fix missed changes after update to 1.8.5 |
||
---|---|---|
.. | ||
README.md | ||
api.go | ||
service.go | ||
service_test.go | ||
signal.go |
README.md
Whisper API Extension
API
shhext_post
Accepts same input as shh_post (see https://github.com/ethereum/wiki/wiki/JSON-RPC#shh_post)
Returns
DATA
, 32 Bytes - the envelope hash
Signals
Sends sent signal once per envelope.
{
"type": "envelope.sent",
"event": {
"hash": "0xea0b93079ed32588628f1cabbbb5ed9e4d50b7571064c2962c3853972db67790"
}
}
Sends expired signal if envelope dropped from whisper local queue before it was sent to any peer on the network.
{
"type": "envelope.expired",
"event": {
"hash": "0x754f4c12dccb14886f791abfeb77ffb86330d03d5a4ba6f37a8c21281988b69e"
}
}