Skip to content

fix: address some syncing issues - #236

Merged
HashEngineering merged 5 commits into
feature-core-20from
feature-core-20-updates
Nov 30, 2023
Merged

HashEngineering merged 5 commits into
feature-core-20from
feature-core-20-updates

Conversation

@HashEngineering

@HashEngineering HashEngineering commented Nov 17, 2023 •

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@HashEngineering HashEngineering self-assigned this Nov 17, 2023
@codecov

codecov Bot commented Nov 17, 2023 •

Copy link
Copy Markdown

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (ab9fa16) 47.98% compared to head (6b91b05) 48.01%.

Files Patch % Lines
...c/main/java/org/bitcoinj/evolution/CoinbaseTx.java 0.00% 2 Missing ⚠️
...tcoinj/core/listeners/DownloadProgressTracker.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##             feature-core-20     #236      +/-   ##
=====================================================
+ Coverage              47.98%   48.01%   +0.02%     
+ Complexity              6667     6665       -2     
=====================================================
  Files                    409      409              
  Lines                  46108    46109       +1     
  Branches                6502     6502              
=====================================================
+ Hits                   22126    22137      +11     
+ Misses                 21579    21565      -14     
- Partials                2403     2407       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines +414 to +415
quorumState.initChainTipSyncComplete = false;
quorumRotationState.initChainTipSyncComplete = false;

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This was the fix for sync issues. Since the manager object stays alive, we need to reset the state.

@Syn-McJ Syn-McJ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good

@HashEngineering
HashEngineering merged commit a9a3168 into feature-core-20 Nov 30, 2023
@HashEngineering
HashEngineering deleted the feature-core-20-updates branch December 8, 2023 15:55
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.

2 participants