-
Notifications
You must be signed in to change notification settings - Fork 113
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
Refactor MessageFactory, introduce ReferenceProvider and OrphanageManager #2240
Conversation
…refactor-message-factory
…o chore/refactor-message-factory
…otaledger/goshimmer into chore/refactor-message-factory
… that are excluded
…r/goshimmer into chore/refactor-message-factory
…otaledger/goshimmer into chore/refactor-message-factory
…m forking markers (always propagate parent branches forward)
…kly and also via strong parent. Fixes integration test as well.
…otaledger/goshimmer into chore/refactor-message-factory
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.
LGTM - just this one question
@@ -21,7 +21,7 @@ type ParametersDefinition struct { | |||
} | |||
|
|||
// TangleTimeWindow defines the time window in which the node considers itself as synced according to TangleTime. | |||
TangleTimeWindow time.Duration `default:"2m" usage:"the time window in which the node considers itself as synced according to TangleTime"` | |||
TangleTimeWindow time.Duration `default:"20m" usage:"the time window in which the node considers itself as synced according to TangleTime"` |
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.
Should we leave this at 20m?
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.
It will change with the new TSC and time concepts release anyway. So imo it doesn't really matter.
Description of change
This PR refactors the MessageFactory to be easier to maintain and solve the deep spamming reference error.
Type of change
Change checklist