OpenAtomFoundation / xupercore

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

consensus: make smr run with a single validator. #284

Closed aucusaga closed 2 years ago

aucusaga commented 2 years ago

Fixes # (issue)

Type of change

Please delete options that are not relevant.

codecov-commenter commented 2 years ago

Codecov Report

Merging #284 (e4e5ac4) into master (a5c5c91) will decrease coverage by 0.08%. The diff coverage is 25.92%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
- Coverage   46.49%   46.40%   -0.09%     
==========================================
  Files         136      136              
  Lines       12126    12166      +40     
==========================================
+ Hits         5638     5646       +8     
- Misses       5321     5350      +29     
- Partials     1167     1170       +3     
Impacted Files Coverage Δ
kernel/consensus/base/driver/chained-bft/smr.go 40.45% <3.70%> (-1.69%) :arrow_down:
bcs/consensus/xpoa/kernel_contract.go 59.03% <48.14%> (-4.61%) :arrow_down:
bcs/network/p2pv1/conn.go 55.10% <0.00%> (-6.13%) :arrow_down:
bcs/consensus/pow/pow.go 42.96% <0.00%> (+1.14%) :arrow_up:
bcs/consensus/xpoa/common.go 90.47% <0.00%> (+4.76%) :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 a5c5c91...e4e5ac4. Read the comment docs.