OpenAtomFoundation / xupercore

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

Cherrypick mempool tx limit and consensus #281

Closed godeamon closed 2 years ago

godeamon commented 2 years ago

cherry pick mempool 交易数量限制以及共识相关一个 commit。

codecov-commenter commented 2 years ago

Codecov Report

Merging #281 (da7d58f) into release-v5.2 (817c89d) will increase coverage by 0.00%. The diff coverage is 21.05%.

Impacted file tree graph

@@              Coverage Diff              @@
##           release-v5.2     #281   +/-   ##
=============================================
  Coverage         46.59%   46.60%           
=============================================
  Files               136      136           
  Lines             12093    12108   +15     
=============================================
+ Hits               5635     5643    +8     
- Misses             5294     5296    +2     
- Partials           1164     1169    +5     
Impacted Files Coverage Δ
bcs/consensus/tdpos/kernel_contract.go 25.49% <0.00%> (-0.41%) :arrow_down:
bcs/ledger/xledger/config/config.go 65.21% <ø> (ø)
bcs/ledger/xledger/state/state.go 47.06% <0.00%> (-0.18%) :arrow_down:
...el/consensus/base/driver/chained-bft/saftyrules.go 41.81% <0.00%> (ø)
bcs/ledger/xledger/tx/mempool.go 30.48% <37.50%> (+0.10%) :arrow_up:
bcs/ledger/xledger/tx/tx.go 39.87% <100.00%> (ø)
bcs/consensus/xpoa/xpoa.go 53.76% <0.00%> (-2.16%) :arrow_down:
kernel/consensus/base/driver/chained-bft/smr.go 42.13% <0.00%> (-0.80%) :arrow_down:
bcs/consensus/tdpos/tdpos.go 48.30% <0.00%> (+0.96%) :arrow_up:
bcs/network/p2pv2/server.go 52.40% <0.00%> (+1.06%) :arrow_up:
... and 2 more

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 817c89d...da7d58f. Read the comment docs.