OpenAtomFoundation / xupercore

The kernel of xuperchain.
Apache License 2.0
61 stars 47 forks source link

consensus: add mutex in smr & qcPendingTree. #232

Closed aucusaga closed 3 years ago

aucusaga commented 3 years ago

Description

Add mutex in smr & qcPendingTree.

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Use Xbench.

codecov-commenter commented 3 years ago

Codecov Report

Merging #232 (87573cc) into master (9bdaaa2) will decrease coverage by 0.36%. The diff coverage is 45.59%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #232      +/-   ##
==========================================
- Coverage   48.23%   47.86%   -0.37%     
==========================================
  Files         134      134              
  Lines       11513    11399     -114     
==========================================
- Hits         5553     5456      -97     
+ Misses       4819     4816       -3     
+ Partials     1141     1127      -14     
Impacted Files Coverage Δ
...nel/consensus/base/driver/chained-bft/pacemaker.go 100.00% <ø> (ø)
...el/consensus/base/driver/chained-bft/saftyrules.go 41.81% <14.28%> (-3.64%) :arrow_down:
bcs/consensus/xpoa/schedule.go 48.21% <28.57%> (ø)
bcs/consensus/tdpos/tdpos.go 49.02% <30.43%> (+7.26%) :arrow_up:
kernel/consensus/base/driver/chained-bft/smr.go 41.87% <32.59%> (-7.67%) :arrow_down:
bcs/consensus/xpoa/xpoa.go 55.91% <66.66%> (-0.92%) :arrow_down:
...nel/consensus/base/driver/chained-bft/mock/mock.go 75.38% <75.38%> (ø)
bcs/network/p2pv1/conn.go 53.19% <0.00%> (-6.39%) :arrow_down:
bcs/contract/native/runtime.go 63.73% <0.00%> (-5.50%) :arrow_down:
... and 1 more

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 87fff3f...87573cc. Read the comment docs.