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
Showing
- whisper/shhapi/api.go 31 additions, 70 deletionswhisper/shhapi/api.go
- whisper/shhapi/api_test.go 448 additions, 56 deletionswhisper/shhapi/api_test.go
- whisper/whisperv5/benchmarks_test.go 19 additions, 38 deletionswhisper/whisperv5/benchmarks_test.go
- whisper/whisperv5/doc.go 6 additions, 5 deletionswhisper/whisperv5/doc.go
- whisper/whisperv5/envelope.go 2 additions, 2 deletionswhisper/whisperv5/envelope.go
- whisper/whisperv5/filter.go 23 additions, 33 deletionswhisper/whisperv5/filter.go
- whisper/whisperv5/filter_test.go 126 additions, 174 deletionswhisper/whisperv5/filter_test.go
- whisper/whisperv5/message.go 4 additions, 1 deletionwhisper/whisperv5/message.go
- whisper/whisperv5/message_test.go 38 additions, 68 deletionswhisper/whisperv5/message_test.go
- whisper/whisperv5/peer.go 3 additions, 0 deletionswhisper/whisperv5/peer.go
- whisper/whisperv5/peer_test.go 28 additions, 38 deletionswhisper/whisperv5/peer_test.go
- whisper/whisperv5/topic_test.go 22 additions, 22 deletionswhisper/whisperv5/topic_test.go
- whisper/whisperv5/whisper.go 9 additions, 8 deletionswhisper/whisperv5/whisper.go
- whisper/whisperv5/whisper_test.go 69 additions, 135 deletionswhisper/whisperv5/whisper_test.go
Loading
Please register or sign in to comment