ucwong
0708b573bc
event, whisper/whisperv6: use defer where possible ( #20940 )
2020-04-28 10:53:08 +02:00
ucwong
1e2e1b41f8
cmd/devp2p, cmd/wnode, whisper: add missing calls to Timer.Stop ( #20843 )
2020-04-01 16:12:01 +02:00
ucwong
a5a9feab21
whisper: fix whisper go routine leak with sync wait group ( #20844 )
2020-04-01 11:35:26 +02:00
Guillaume Ballet
765fe446cf
whisper/whisperv6: fix staticcheck issues ( #20288 )
2019-11-14 10:09:16 +01:00
b00ris
8711e2b636
whisper: add light mode check to handshake ( #16725 )
2018-09-05 10:57:45 +02:00
Adam Babik
75ae5af62a
whisper: fix loop in expire() ( #17532 )
2018-08-29 13:56:13 +03:00
Wenbiao Zheng
d1aa605f1e
all: remove the duplicate 'the' in annotations ( #17509 )
2018-08-27 11:49:29 +03:00
Ralph Caraveo III
5d30be412b
all: switch out defunct set library to different one ( #16873 )
...
* keystore, ethash, eth, miner, rpc, whisperv6: tech debt with now defunct set.
* whisperv5: swap out gopkg.in/fatih/set.v0 with supported set
2018-07-16 10:54:19 +03:00
Adrià Cidre
461291882e
whisper: Reduce message loop log from Warn to Info ( #17055 )
2018-06-26 04:31:05 -04:00
Vlad
ee75a90ab4
whisper: topics replaced by bloom filters
2018-03-01 16:04:09 +01:00
Vlad
c733792be4
whsiper: refactoring
2018-02-27 23:38:20 +01:00
Vlad
6919c36432
whisper: refactoring
2018-02-23 14:52:25 +01:00
Vlad
d7b4b40cb6
whisper: light client mode introduced
2018-02-23 11:10:28 +01:00
gluk256
42628ba7ed
whisper: bloom filter refactoring ( #16046 )
...
* whisper: bloom filter refactoring
* whisper: fixed full node
2018-02-09 17:25:23 +02:00
gluk256
a9e4a90d57
whisper: change the whisper message format so as to add the payload size ( #15870 )
...
* whisper: message format changed
* whisper: tests fixed
* whisper: style fixes
* whisper: fixed names, fixed failing tests
* whisper: fix merge issue in #15870
Occured while using the github online merge tool. Lesson learned.
* whisper: fix a gofmt error for #15870
2018-01-30 10:55:08 +02:00
Guillaume Ballet
367c329b88
whisper: remove linter warnings ( #15972 )
...
* whisper: fixes warnings from the code linter
* whisper: more non-API-breaking changes
The remaining lint errors are because of auto-generated
files and one is because an exported function has a non-
exported return type. Changing this would break the API,
and will be part of another commit for easier reversal.
* whisper: un-export NewSentMessage to please the linter
This is an API change, which is why it's in its own commit.
This change was initiated after the linter complained that
the returned type wasn't exported. I chose to un-export
the function instead of exporting the type, because that
type is an implementation detail that I would like to
change in the near future to make the code more
readable and with an increased coverage.
* whisper: update gencodec output after upgrading it to new lint standards
2018-01-26 13:45:10 +02:00
gluk256
fd869dc839
whisper/whisperv6: implement pow/bloom exchange protocol ( #15802 )
...
This is the main feature of v6.
2018-01-12 12:11:22 +01:00
gluk256
38b1e8ee20
whisper/whisperv6: PoW requirement ( #15701 )
...
New Whisper-level message introduced (PoW requirement),
corresponding logic added, plus some tests.
2017-12-21 15:17:27 +01:00
gluk256
9f1007e554
whisper/whisperv6: message bundling ( #15666 )
...
Changed the communication protocol for ordinary message,
according to EIP 627. Messages will be send in bundles, i.e.
array of messages will be sent instead of single message.
2017-12-21 10:31:44 +01:00
Guillaume Ballet
bf62acf033
whisper/whisperv6: remove Version from the envelope ( #15621 )
2017-12-08 16:08:56 +01:00
Guillaume Ballet
d95962cd5d
whisper/whisperv6: remove aesnonce ( #15578 )
...
As per EIP-627, the salt for symmetric encryption is now
part of the payload. This commit does that.
2017-12-08 11:40:59 +01:00
ferhat elmas
86f6568f66
build: enable unconvert linter ( #15456 )
...
* build: enable unconvert linter
- fixes #15453
- update code base for failing cases
* cmd/puppeth: replace syscall.Stdin with os.Stdin.Fd() for unconvert linter
2017-11-10 19:06:45 +02:00
gluk256
9f7cd75682
whisper/whisperv6: initial commit (clone of v5) ( #15324 )
2017-11-03 21:29:49 +01:00