b00ris
2ef3815af4
whisper: fix empty topic ( #15811 )
...
* whisper: fix empty topic
* whisper: add check to matchSingleTopic
* whisper: add tests
* whisper: fix gosimple
* whisper: added lastTopicByte const
7 years ago
gluk256
fd869dc839
whisper/whisperv6: implement pow/bloom exchange protocol ( #15802 )
...
This is the main feature of v6.
7 years ago
Felix Lange
9d06026c19
all: regenerate codecs with gencodec commit 90983d99de ( #15830 )
...
Fixes #15777 because null is now allowed for hexutil.Bytes.
7 years ago
Furkan KAMACI
b8caba9709
various: remove redundant parentheses ( #15793 )
7 years ago
gluk256
38b1e8ee20
whisper/whisperv6: PoW requirement ( #15701 )
...
New Whisper-level message introduced (PoW requirement),
corresponding logic added, plus some tests.
7 years ago
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.
7 years ago
Zach
3da1bf8ca1
all: use gometalinter.v2, fix new gosimple issues ( #15650 )
7 years ago
Guillaume Ballet
e7610eadfe
whisper: sym encryption message padding includes salt ( #15631 )
...
Now that the AES salt has been moved to the payload, padding must
be adjusted to hide it, lest an attacker guesses that the packet
uses symmetric encryption.
7 years ago
Guillaume Ballet
bf62acf033
whisper/whisperv6: remove Version from the envelope ( #15621 )
7 years ago
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.
7 years ago
Guillaume Ballet
20fe928914
whisper: rename EnvNonce to Nonce in the v6 Envelope ( #15579 )
7 years ago
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
7 years ago
gluk256
9f7cd75682
whisper/whisperv6: initial commit (clone of v5) ( #15324 )
7 years ago