OpenAtomFoundation / xupercore

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

miner: new method of sync blocks for miner #235

Closed icexin closed 3 years ago

icexin commented 3 years ago

Description

顺序同步区块,解决区块拥堵问题。

codecov-commenter commented 3 years ago

Codecov Report

Merging #235 (b29967d) into master (f67349c) will increase coverage by 0.03%. The diff coverage is 20.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #235      +/-   ##
==========================================
+ Coverage   47.60%   47.64%   +0.03%     
==========================================
  Files         134      134              
  Lines       11488    11492       +4     
==========================================
+ Hits         5469     5475       +6     
+ Misses       4881     4880       -1     
+ Partials     1138     1137       -1     
Impacted Files Coverage Δ
bcs/ledger/xledger/state/state.go 46.43% <20.00%> (-0.23%) :arrow_down:
bcs/consensus/tdpos/tdpos.go 41.76% <0.00%> (+0.80%) :arrow_up:
bcs/consensus/xpoa/xpoa.go 56.82% <0.00%> (+1.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 f67349c...b29967d. Read the comment docs.