OpenAtomFoundation / xupercore

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

improve break parent when mempool confirm tx performance #250

Closed godeamon closed 2 years ago

godeamon commented 3 years ago

提高 mempool 确认交易性能,同时在执行区块时,判断 mempool 中的冲突交易逻辑修改。

CLAassistant commented 3 years ago

CLA assistant check
All committers have signed the CLA.

codecov-commenter commented 2 years ago

Codecov Report

Merging #250 (2c2e451) into master (9e93e31) will increase coverage by 0.03%. The diff coverage is 7.69%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #250      +/-   ##
==========================================
+ Coverage   46.67%   46.70%   +0.03%     
==========================================
  Files         136      136              
  Lines       12048    12068      +20     
==========================================
+ Hits         5623     5636      +13     
- Misses       5264     5272       +8     
+ Partials     1161     1160       -1     
Impacted Files Coverage Δ
bcs/ledger/xledger/tx/mempool.go 30.27% <0.00%> (-1.09%) :arrow_down:
bcs/ledger/xledger/tx/node.go 39.82% <20.00%> (-1.09%) :arrow_down:
bcs/ledger/xledger/state/state.go 47.24% <33.33%> (+0.06%) :arrow_up:
kernel/consensus/base/driver/chained-bft/smr.go 42.69% <0.00%> (+0.82%) :arrow_up:
bcs/network/p2pv2/server.go 52.40% <0.00%> (+1.06%) :arrow_up:
bcs/consensus/xpoa/xpoa.go 55.91% <0.00%> (+1.07%) :arrow_up:
bcs/consensus/tdpos/tdpos.go 49.27% <0.00%> (+1.93%) :arrow_up:
bcs/consensus/tdpos/common.go 67.18% <0.00%> (+3.12%) :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 9e93e31...2c2e451. Read the comment docs.