status-go/services/shhext
Dmitry Shulyak b37fda7731
Update go-ethereum to 1.8.5 (#854)
* Rebase on 1.8.5

* Remove outdated patches and apply all others

* Use shh_post that returns hash

* Use bloom filter for request to mailserver

* Remove tests for sending messages without subbing first

* Fix deadlock in ethdb

* Expect null if receipt is not yet created

* Subscribe to messages before sending them in whisper test
2018-04-24 18:50:26 +03:00
..
README.md Implement `personal_sign`. 2018-04-17 11:18:58 +02:00
api.go Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
service.go Implement `personal_sign`. 2018-04-17 11:18:58 +02:00
service_test.go Implement `personal_sign`. 2018-04-17 11:18:58 +02:00
signal.go Implement `personal_sign`. 2018-04-17 11:18:58 +02: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 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"
  }
}