aboutsummaryrefslogtreecommitdiffstats
path: root/whisper/peer_test.go
Commit message (Collapse)AuthorAgeFilesLines
* whisper: project restructured, version 5 introduced (#3022)gluk2562016-10-291-261/+0
| | | | | | | whisper: project restructured, version 5 introduced This commits adds a draft version of the new shh v5 protocol. The new version is not on by default, --shh still selects version 2.
* 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-2/+5
| | | | | | | | | | | | | | 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.
* 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
|
* whisper: track active peers, add peer cache expiry testPéter Szilágyi2015-04-161-0/+50
|
* whisper: remove dead code, rename a few constantsPéter Szilágyi2015-04-161-1/+1
|
* whisper: remove some unneeded testing complexityPéter Szilágyi2015-04-151-2/+3
|
* whisper: global message expiration tests, polishesPéter Szilágyi2015-04-151-14/+22
|
* whisper: add basic tests for the whiper peersPéter Szilágyi2015-04-141-0/+183