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.
Showing
- cmd/wnode/main.go 41 additions, 16 deletionscmd/wnode/main.go
- whisper/mailserver/mailserver.go 1 addition, 1 deletionwhisper/mailserver/mailserver.go
- whisper/mailserver/server_test.go 1 addition, 1 deletionwhisper/mailserver/server_test.go
- whisper/whisperv6/api.go 1 addition, 1 deletionwhisper/whisperv6/api.go
- whisper/whisperv6/benchmarks_test.go 7 additions, 7 deletionswhisper/whisperv6/benchmarks_test.go
- whisper/whisperv6/envelope_test.go 1 addition, 1 deletionwhisper/whisperv6/envelope_test.go
- whisper/whisperv6/filter_test.go 8 additions, 8 deletionswhisper/whisperv6/filter_test.go
- whisper/whisperv6/message.go 1 addition, 1 deletionwhisper/whisperv6/message.go
- whisper/whisperv6/message_test.go 10 additions, 10 deletionswhisper/whisperv6/message_test.go
- whisper/whisperv6/peer_test.go 2 additions, 2 deletionswhisper/whisperv6/peer_test.go
- whisper/whisperv6/whisper_test.go 6 additions, 6 deletionswhisper/whisperv6/whisper_test.go
Loading
Please register or sign in to comment