Christian Muehlhaeuser
5183483c53
core/state, p2p/discover, trie, whisper: avoid unnecessary conversions ( #19870 )
...
No need to convert these types.
5 years ago
Adam Babik
75ae5af62a
whisper: fix loop in expire() ( #17532 )
6 years ago
Vlad
ee75a90ab4
whisper: topics replaced by bloom filters
7 years ago
Vlad
c733792be4
whsiper: refactoring
7 years ago
Guillaume Ballet
5cf75a30c1
whisper: get wnode to work with v6 ( #16051 )
...
The bulk of the issue was to adapt to the new requirement
that a v6 filter has to either contain a symmertric key or
an asymmetric one.
This commits revert one of the fixes that I made to remove
a linter warning: unexporting NewSentMessage. This is not
really a problem as I have a cleanup in the pipe that will
solve this issue.
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
Zach
3da1bf8ca1
all: use gometalinter.v2, fix new gosimple issues ( #15650 )
7 years ago
Guillaume Ballet
bf62acf033
whisper/whisperv6: remove Version from the envelope ( #15621 )
7 years ago
gluk256
9f7cd75682
whisper/whisperv6: initial commit (clone of v5) ( #15324 )
7 years ago
Guillaume Ballet
7a045af05b
whisper/whisperv5: set filter SymKeyHash on creation ( #15165 )
7 years ago
Egon Elbre
d375193797
whisper: fix megacheck warnings ( #14925 )
...
* whisper: fix megacheck warnings
* whisper/whisperv5: regenerate json codec to fix unused override type
7 years ago
Bas van Kervel
4a1d516d78
whisper: renamed errors
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
Felix Lange
f1534f5797
trie, whisper/whisperv5: use math/rand Read function
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
b9b3efb09f
all: fix ineffectual assignments and remove uses of crypto.Sha3
...
go get github.com/gordonklaus/ineffassign
ineffassign .
8 years ago
Felix Lange
f2da6581ba
all: fix issues reported by honnef.co/go/simple/cmd/gosimple
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