-
Notifications
You must be signed in to change notification settings - Fork 8
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
Add SwitchSequencer #110
Add SwitchSequencer #110
Conversation
984dddd
to
f2d8252
Compare
3ed015e
to
0535a68
Compare
fb7d0bf
to
e2bc61e
Compare
e2bc61e
to
8ba1b3b
Compare
if s.IsRunningEspressoMode() { | ||
return nil | ||
} | ||
log.Info("Switching to espresso sequencer") |
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.
Can we log the drift time and exactly how far we have drifted when we switch?
return nil | ||
} | ||
s.mode = SequencingMode_Centralized | ||
log.Info("Switching to centrialized sequencer") |
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.
Same here, let's log precisely why we are switching
return err | ||
} | ||
|
||
if s.lightClient != nil { |
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.
Log a message like "light client not specified, we will only be sequencing mode"
No description provided.