-
Notifications
You must be signed in to change notification settings - Fork 7
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
increase value of MAX_SLOTS_TO_REMEMBER
to 14400
#355
increase value of MAX_SLOTS_TO_REMEMBER
to 14400
#355
Conversation
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.
We'll need to increment this value even further, just not yet sure to what exactly.
As a reference: #354 |
I updated the original ticket. We want to increase it to |
MAX_SLOTS_TO_REMEMBER
to 100MAX_SLOTS_TO_REMEMBER
to ~~100~~ 14400
MAX_SLOTS_TO_REMEMBER
to ~~100~~ 14400MAX_SLOTS_TO_REMEMBER
to 14400
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.
Looks good. We could already merge this even though the parameter is not accurate (ie. not matched by our deployed nodes). But the archive logic is broken anyways, so there is probably no harm done.
/// increase the time window to 24 hours. | ||
pub const MAX_SLOTS_TO_REMEMBER: Slot = 14400; |
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.
Nice. Let's maybe rewrite the comment though to give a bit more context.
/// increase the time window to 24 hours. | |
pub const MAX_SLOTS_TO_REMEMBER: Slot = 14400; | |
/// Set the _expected_ `MAX_SLOTS_TO_REMEMBER` parameter to 14400 Slots on Stellar, | |
/// ie. 24 hours. This parameter is only correct when connecting to SatoshiPay Stellar validators | |
/// as the configuration of these nodes deviates from the default configuration. | |
pub const MAX_SLOTS_TO_REMEMBER: Slot = 14400; |
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.
d7e8724
done
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.
👍
closes #354