status-go/shhext
Dmitry Shulyak ba9a25e284
Implement shh api extension that allows to confirm that message is sent (#814)
* Implement shh api extension that allows to confirm that message is sent

* Add a patch

* Fix linter

* Add readme

* Add tests for tracker

* Address review
2018-04-11 18:41:51 +03:00
..
README.md Implement shh api extension that allows to confirm that message is sent (#814) 2018-04-11 18:41:51 +03:00
api.go Implement shh api extension that allows to confirm that message is sent (#814) 2018-04-11 18:41:51 +03:00
service.go Implement shh api extension that allows to confirm that message is sent (#814) 2018-04-11 18:41:51 +03:00
service_test.go Implement shh api extension that allows to confirm that message is sent (#814) 2018-04-11 18:41:51 +03:00
signal.go Implement shh api extension that allows to confirm that message is sent (#814) 2018-04-11 18:41:51 +03:00

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 following event once per envelope.

{
  "type": "envelope.sent",
  "event": {
    "hash": "0xea0b93079ed32588628f1cabbbb5ed9e4d50b7571064c2962c3853972db67790"
  }
}