Skip to content

opt SR lag judge mechanism - #1869

Merged
zhaohong merged 6 commits into
masterfrom
witness_lag
Dec 21, 2018
Merged

zhaohong merged 6 commits into
masterfrom
witness_lag

Conversation

@wubin12

@wubin12 wubin12 commented Dec 21, 2018

Copy link
Copy Markdown
Contributor

What does this PR do?
solving witness lag problem

Why are these changes required?
Reducing Block Loss and Providing Network Stability

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@codecov-io

codecov-io commented Dec 21, 2018 •

Copy link
Copy Markdown

Codecov Report

Merging #1869 into master will decrease coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1869      +/-   ##
============================================
- Coverage     45.81%   45.81%   -0.01%     
+ Complexity     3801     3800       -1     
============================================
  Files           461      461              
  Lines         26729    26735       +6     
  Branches       2712     2714       +2     
============================================
+ Hits          12247    12249       +2     
- Misses        13418    13419       +1     
- Partials       1064     1067       +3
Impacted Files Coverage Δ Complexity Δ
src/main/java/org/tron/core/db/Manager.java 49.19% <ø> (ø) 112 <0> (ø) ⬇️
src/main/java/org/tron/core/config/Parameter.java 100% <ø> (ø) 0 <0> (ø) ⬇️
...in/java/org/tron/core/services/WitnessService.java 0% <0%> (ø) 0 <0> (ø) ⬇️
src/main/java/org/tron/core/config/args/Args.java 62.12% <0%> (-0.44%) 127 <0> (ø)
.../java/org/tron/core/net/node/NodeDelegateImpl.java 32.66% <0%> (-1.34%) 17% <0%> (-2%)
src/main/java/org/tron/core/net/node/NodeImpl.java 48.12% <0%> (-0.13%) 83% <0%> (-1%)
...n/java/org/tron/common/overlay/server/Channel.java 79.43% <0%> (+0.93%) 29% <0%> (+1%) ⬆️
...org/tron/common/overlay/server/ChannelManager.java 67.56% <0%> (+1.35%) 20% <0%> (+1%) ⬆️
...mon/overlay/server/PeerConnectionCheckService.java 37.73% <0%> (+5.66%) 6% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5339886...7caad8f. Read the comment docs.

@zhaohong
zhaohong merged commit 9e9e7ad into master Dec 21, 2018
@olenheim olenheim changed the title solving witness lag problem opt SR lag judge mechanism Dec 21, 2018
@shydesky
shydesky deleted the witness_lag branch November 13, 2019 11:08
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.

5 participants