Skip to content

feat(net): optimize the logic of obtaining block ID#5009

Merged
xxo1shine merged 1 commit intotronprotocol:release_v4.7.1from
xxo1shine:sync_fail
Feb 20, 2023
Merged

feat(net): optimize the logic of obtaining block ID#5009
xxo1shine merged 1 commit intotronprotocol:release_v4.7.1from
xxo1shine:sync_fail

Conversation

@xxo1shine
Copy link
Contributor

What does this PR do?
optimize the logic of obtaining block ID

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@codecov-commenter
Copy link

codecov-commenter commented Feb 20, 2023

Codecov Report

Merging #5009 (14e9047) into release_v4.7.1 (f1f9353) will increase coverage by 0.02%.
The diff coverage is 66.66%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@                 Coverage Diff                  @@
##             release_v4.7.1    #5009      +/-   ##
====================================================
+ Coverage             54.81%   54.83%   +0.02%     
- Complexity             8243     8248       +5     
====================================================
  Files                   841      841              
  Lines                 49695    49699       +4     
  Branches               5454     5455       +1     
====================================================
+ Hits                  27238    27253      +15     
+ Misses                20326    20317       -9     
+ Partials               2131     2129       -2     
Impacted Files Coverage Δ
...va/org/tron/core/net/service/sync/SyncService.java 30.28% <66.66%> (+0.46%) ⬆️
...c/main/java/org/tron/core/net/TronNetDelegate.java 41.80% <0.00%> (-0.82%) ⬇️
...mework/src/main/java/org/tron/core/db/Manager.java 53.52% <0.00%> (-0.16%) ⬇️
...n/java/org/tron/core/db2/core/SnapshotManager.java 74.07% <0.00%> (+0.56%) ⬆️
.../common/storage/rocksdb/RocksDbDataSourceImpl.java 69.92% <0.00%> (+1.12%) ⬆️
...a/org/tron/tool/litefullnode/LiteFullNodeTool.java 77.70% <0.00%> (+2.22%) ⬆️
...ain/java/org/tron/common/utils/ForkController.java 79.80% <0.00%> (+3.84%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@xxo1shine xxo1shine merged commit df638e6 into tronprotocol:release_v4.7.1 Feb 20, 2023
@xxo1shine xxo1shine deleted the sync_fail branch March 15, 2023 03:37
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.

4 participants