status-go/vendor/github.com/ethereum/go-ethereum/whisper
Andrea Franz fa390a52ae
RequestHistoricMessages response (#1009)
* refactor TestRequestMessageFromMailboxAsync to use s.requestHistoricMessages helper

* send p2pRequestResponseCode from mailserver

* send p2p message response to after sending all historic messages

* mailserver sends `whisper.NewSentMessage` as response

* add mailserver Client and p2pRequestAckCode watchers

* send event with envelopeFeed when p2pRequestAckCode is received

* test request completed event in tracker

* rename mailserver response events and code to RequestCompleteCode

* wait for mailserver response in e2e test

* use SendHistoricMessageResponse method name for mailserver response

* fix lint warnings

* add mailserver request expiration

* send mailserver response without envelope

* add `ttl` to Request struct in shhext_requestMessages

* test that tracker calls handler.MailServerRequestExpired

* add geth patch

* rename TTL to Timeout

* split tracker.handleEvent in multiple methods
2018-06-15 17:12:31 +02:00
..
mailserver Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
shhclient Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
whisperv5 Update go-ethereum to 1.8.5 (#854) 2018-04-24 18:50:26 +03:00
whisperv6 RequestHistoricMessages response (#1009) 2018-06-15 17:12:31 +02:00