OpenAtomFoundation / xupercore

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

opti-performance: use event tracking by prometheus & optimize rollbac… #219

Closed aucusaga closed 3 years ago

aucusaga commented 3 years ago

…k strategy in Chained-BFT

codecov-commenter commented 3 years ago

Codecov Report

Merging #219 (75c403d) into master (b21e379) will decrease coverage by 0.04%. The diff coverage is 40.70%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #219      +/-   ##
==========================================
- Coverage   47.96%   47.91%   -0.05%     
==========================================
  Files         133      133              
  Lines       11341    11413      +72     
==========================================
+ Hits         5440     5469      +29     
- Misses       4782     4815      +33     
- Partials     1119     1129      +10     
Impacted Files Coverage Δ
bcs/consensus/tdpos/tdpos.go 40.23% <12.34%> (-4.99%) :arrow_down:
bcs/consensus/xpoa/xpoa.go 56.83% <50.00%> (+4.43%) :arrow_up:
bcs/ledger/xledger/ledger/ledger.go 56.33% <58.82%> (+0.48%) :arrow_up:
kernel/consensus/base/driver/chained-bft/smr.go 50.59% <60.00%> (-2.79%) :arrow_down:
...ernel/consensus/base/driver/chained-bft/context.go 73.43% <83.33%> (+3.22%) :arrow_up:
...el/consensus/base/driver/chained-bft/saftyrules.go 45.45% <0.00%> (-1.82%) :arrow_down:
bcs/consensus/tdpos/schedule.go 48.40% <0.00%> (-0.92%) :arrow_down:
bcs/network/p2pv2/server.go 52.40% <0.00%> (+1.06%) :arrow_up:

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 b21e379...75c403d. Read the comment docs.