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
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
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
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
Bas van Kervel
b58a501673
whisperv5: integrate whisper and add whisper RPC simulator
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
Felix Lange
b9b3efb09f
all: fix ineffectual assignments and remove uses of crypto.Sha3
...
go get github.com/gordonklaus/ineffassign
ineffassign .
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