aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/whisper_test.go
Commit message (Collapse)AuthorAgeFilesLines
* cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacksPéter Szilágyi2015-11-271-1/+1
|
* whisper: fixed broadcast raceJeffrey Wilcke2015-11-251-0/+9
| | | | | | | | | | | | | | Whisper's expire and broadcast loops happen in two separate go routines. Whenever an envelope is being expired it's removed from the set of envelopes and it looses all information about the envelope, including the "known hash". After the envelope has been removed it can be re-accepted by a broadcasting peer putting back the envelope in the set of envelopes. Since the envelope broadcast loop is separate of the expire loop expired messages may be broadcast to other peer, resulting in messages **never** being dropped. This PR includes an expire check before adding new messages to the set of envelopes.
* whisper: fix datarace in expiration testPéter Szilágyi2015-11-051-2/+11
|
* all: fix license headers one more timeFelix Lange2015-07-241-1/+1
| | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a.
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
| | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library".
* all: update license informationFelix Lange2015-07-071-0/+16
|
* ui/qt/qwhisper, whisper, xeth: polish topic filter, fix wildcardsPéter Szilágyi2015-04-281-1/+1
|
* rpc, ui/qt/qwhisper, whisper, xeth: introduce complex topic filtersPéter Szilágyi2015-04-281-1/+1
|
* whisper: remove dead code, rename a few constantsPéter Szilágyi2015-04-161-1/+1
|
* whisper: use async handshakes to handle blocking peersPéter Szilágyi2015-04-151-1/+1
|
* whisper: remove some unneeded testing complexityPéter Szilágyi2015-04-151-1/+2
|
* whisper: global message expiration tests, polishesPéter Szilágyi2015-04-151-0/+26
|
* whisper: mock tests to use simulated peersPéter Szilágyi2015-04-151-71/+23
|
* whisper: shorten constants to TTL and PoWPéter Szilágyi2015-04-141-6/+6
|
* whisper: fix anonymous broadcast drop, add broadcast testsPéter Szilágyi2015-04-141-7/+63
|
* whisper: push work in progress for bug reportPéter Szilágyi2015-04-131-0/+12
|
* whisper: start adding integration testsPéter Szilágyi2015-04-131-18/+118
|
* whisper: polish the Envelope a bit, prep for tests.Péter Szilágyi2015-04-101-1/+1
|
* whisper: polish the messages, fix some bugs, testsPéter Szilágyi2015-04-101-2/+2
| | | | | | Bugs fixed: - Use randomly generated flags as the spec required. - During envelope opening check the first bit only for signature.
* API changed to use Pubkey only. Reflected that change in the rest of the apiobscuren2015-02-061-1/+1
|
* fixed url bug in browserobscuren2015-01-211-9/+0
|
* Implemented watching using filter packageobscuren2014-12-131-0/+47
* Added filters / watches * Removed event dep