-
Notifications
You must be signed in to change notification settings - Fork 246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use status-im/whisper module with all changes that we have #1215
Conversation
Pull Request Checklist
|
c0e2fd4
to
336bc53
Compare
#1184 is merged. |
@adambabik thanks, updated |
@@ -271,17 +271,18 @@ func activateShhService(stack *node.Node, config *params.NodeConfig, db *leveldb | |||
whisperServiceConfig := &whisper.Config{ | |||
MaxMessageSize: whisper.DefaultMaxMessageSize, | |||
MinimumAcceptedPOW: 0.001, | |||
TimeSource: time.Now, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does it mean that TimeSource
in config is unused and can be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in what config? i removed TimeSource from whisper.Config and now it is set with separate method. it was simpler to integrate with tests this way. as for NTPSyncEnabled parameter from status config - it is still used and doesn't need to be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i removed TimeSource from whisper.Config
That's what I meant :)
I still see some references to the previous import:
|
thanks. peers_test was using whisper just for the sake of establishing connection using known protocol. removed that import |
Using forked whisper version from https://github.com/status-im/whisper