Adrià Cidre
461291882e
whisper: Reduce message loop log from Warn to Info ( #17055 )
6 years ago
Vlad
ee75a90ab4
whisper: topics replaced by bloom filters
7 years ago
Vlad
c733792be4
whsiper: refactoring
7 years ago
Vlad
6919c36432
whisper: refactoring
7 years ago
Vlad
d7b4b40cb6
whisper: light client mode introduced
7 years ago
gluk256
42628ba7ed
whisper: bloom filter refactoring ( #16046 )
...
* whisper: bloom filter refactoring
* whisper: fixed full node
7 years ago
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
7 years ago
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
7 years ago
gluk256
fd869dc839
whisper/whisperv6: implement pow/bloom exchange protocol ( #15802 )
...
This is the main feature of v6.
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
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
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
Bas van Kervel
a4e4c76cb3
whisper: use syncmap for dynamic configuration options
7 years ago
Bas van Kervel
4a1d516d78
whisper: renamed errors
7 years ago
Bas van Kervel
b6b0e00198
whisper: fallback to default config if none is specified
7 years ago
Bas van Kervel
b58a501673
whisperv5: integrate whisper and add whisper RPC simulator
8 years ago
gluk256
95f0bd0acf
whisper: message format refactoring ( #14335 )
...
* whisper: salt removed from AES encryption
* whisper: padding format updated
* whisper: padding test added
* whisper: padding refactored, tests fixed
* whisper: padding test updated
* whisper: wnode bugfix
* whisper: send/receive protocol updated
* whisper: minor update
* whisper: bugfix in test
* whisper: updated parameter names and comments
* whisper: functions renamed
* whisper: minor refactoring
8 years ago
gluk256
9cd7135516
whisper: big refactoring ( #13852 )
...
* whisper: GetMessages fixed; size restriction updated
* whisper: made PoW and MaxMsgSize customizable
* whisper: test added
* whisper: sym key management changed
* whisper: identity management refactored
* whisper: API refactoring (Post and Filter)
* whisper: big refactoring complete
* whisper: spelling fix
* whisper: variable topic size allowed for a filter
* whisper: final update
* whisper: formatting
* whisper: file exchange introduced in wnode
* whisper: bugfix
* whisper: API updated + new tests
* whisper: statistics updated
* whisper: wnode server updated
* whisper: allowed filtering for variable topic size
* whisper: tests added
* whisper: resolving merge conflicts
* whisper: refactoring (documenting mostly)
* whsiper: tests fixed
* whisper: down cased error messages
* whisper: documenting the API functions
* whisper: logging fixed
* whisper: fixed wnode parameters
* whisper: logs fixed (typos)
8 years ago
gluk256
11539030cd
whisper: expiry refactoring ( #3706 )
8 years ago
Péter Szilágyi
d4fd06c3dc
all: blidly swap out glog to our log15, logs need rework
8 years ago
gluk256
29fac7de44
Whisper API fixed ( #3687 )
...
* whisper: wnode updated for tests with geth
* whisper: updated processing of incoming messages
* whisper: symmetric encryption updated
* whisper: filter id type changed to enhance security
* whisper: allow filter without topic for asymmetric encryption
* whisper: POW updated
* whisper: logging updated
* whisper: spellchecker update
* whisper: error handling changed
* whisper: JSON field names fixed
8 years ago
gluk256
15a609d5d6
whisper: interface changed to simplify the transition to v5
...
* whisper: mailserver test introduced, refactoring
* whisper: validation test updated
* whisper: max number of peers fixed
* whisper: verification bug fixed
* whisper: esthetic fix
* whisper: interface changed to simplify the transition to v5
* whisper: preparation for version switch
8 years ago
gluk256
690f6ea1d7
cmd/wnode, whisper: add whisper CLI tool and mail server ( #3580 )
8 years ago
Felix Lange
35a7dcb162
all: gofmt -w -s
8 years ago
gluk256
ba996f5e27
whisper: refactoring ( #3411 )
...
* whisper: refactored message processing
* whisper: final polishing
* whisper: logging updated
* whisper: moved the check, changed the default PoW
* whisper: refactoring of message queuing
* whisper: refactored parameters
8 years ago
gluk256
2dcf75a722
whisper/shhapi, whisper/whisperv5: refactoring ( #3364 )
...
* Filter refactoring
* API tests added + bugfix
* fixed the error logs
* FilterID fixed
* test cases fixed
* key generation updated
* POW updated
* got rid of redundant stuff
8 years ago
gluk256
79789af2e7
whisper: project restructured, version 5 introduced ( #3022 )
...
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.
8 years ago