Skip to content
This repository was archived by the owner on Aug 23, 2020. It is now read-only.

Fix: added a buffer to LSManager#1286

Merged
GalRogozinski merged 2 commits intoiotaledger-archive:devfrom
kwek20:snapshot-buffer
Jan 30, 2019
Merged

Fix: added a buffer to LSManager#1286
GalRogozinski merged 2 commits intoiotaledger-archive:devfrom
kwek20:snapshot-buffer

Conversation

@kwek20
Copy link
Copy Markdown
Contributor

@kwek20 kwek20 commented Jan 16, 2019

Description

To prevent jumping back and forth in and out of sync, there is now a buffer in between.
Only when the latest milestone and latest snapshot differ more than this number, we fall out of sync

Fixes #1209

Type of change

  • Enhancement (a non-breaking change which adds functionality)

How Has This Been Tested?

Not yet tested, will request a node as soon as possible.
submitting the PR to start possible discussion about the implementation

Checklist:

  • My code follows the style guidelines for this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • New and existing unit tests pass locally with my changes

@GalRogozinski GalRogozinski requested a review from hmoog January 17, 2019 09:50
Copy link
Copy Markdown
Contributor

@GalRogozinski GalRogozinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice comments :-)

@kwek20 kwek20 changed the title added a buffer to LSManager Fix: added a buffer to LSManager Jan 29, 2019
@GalRogozinski GalRogozinski merged commit bf40222 into iotaledger-archive:dev Jan 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants