Skip to content
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

SHARD-1727 - Reintegrate ITN to dev #366

Merged
merged 3 commits into from
Jan 14, 2025
Merged

SHARD-1727 - Reintegrate ITN to dev #366

merged 3 commits into from
Jan 14, 2025

Conversation

mhanson-github
Copy link
Contributor

No description provided.

afostr and others added 3 commits January 13, 2025 21:46
1. update node is not called every cycle for every node - its only called when there are changes.
  - in our case, a node being marked as refuted / lost does not trigger an updateNode call
  - solution: updateProblematicNodeTracking in updateNode + Sync::applyNodeListChange update

2. updateNode is not the best place to initialize refuteCycles, because then nodes will be added without it initialized
  - solution: initialize refuteCycles in addNode if the flag is on, dont check activationCycle

3. nodelist gossip is broken because it cant serialize Set properly
  - solution: change refuteCycles to be an array
@mhanson-github mhanson-github merged commit 7dca3cd into dev Jan 14, 2025
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants