OpenAtomFoundation / xupercore

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

ledger: add tx cache #236

Closed icexin closed 3 years ago

icexin commented 3 years ago

Description

账本增加tx的cache,加速同步区块拉取tx的速度

codecov-commenter commented 3 years ago

Codecov Report

Merging #236 (607e626) into master (f67349c) will increase coverage by 0.00%. The diff coverage is 93.33%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #236   +/-   ##
=======================================
  Coverage   47.60%   47.61%           
=======================================
  Files         134      134           
  Lines       11488    11511   +23     
=======================================
+ Hits         5469     5481   +12     
- Misses       4881     4897   +16     
+ Partials     1138     1133    -5     
Impacted Files Coverage Δ
bcs/ledger/xledger/ledger/ledger.go 56.55% <93.33%> (+0.27%) :arrow_up:
bcs/network/p2pv1/conn.go 53.19% <0.00%> (-6.39%) :arrow_down:
bcs/consensus/tdpos/common.go 64.06% <0.00%> (-3.13%) :arrow_down:
bcs/consensus/tdpos/tdpos.go 40.16% <0.00%> (-0.81%) :arrow_down:
kernel/consensus/base/driver/chained-bft/smr.go 50.46% <0.00%> (+0.92%) :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...607e626. Read the comment docs.