OpenAtomFoundation / xupercore

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

update utxo cache default size #265

Closed godeamon closed 2 years ago

godeamon commented 2 years ago

设置默认 utxo cache 大小从1k到100k。

codecov-commenter commented 2 years ago

Codecov Report

Merging #265 (879edf6) into master (cbb1d40) will decrease coverage by 0.12%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #265      +/-   ##
==========================================
- Coverage   46.70%   46.58%   -0.13%     
==========================================
  Files         136      136              
  Lines       12073    12073              
==========================================
- Hits         5639     5624      -15     
- Misses       5273     5286      +13     
- Partials     1161     1163       +2     
Impacted Files Coverage Δ
bcs/ledger/xledger/state/utxo/utxo.go 55.18% <ø> (ø)
bcs/ledger/xledger/config/config.go 65.21% <100.00%> (ø)
bcs/network/p2pv1/conn.go 55.10% <0.00%> (-6.13%) :arrow_down:
bcs/contract/xvm/code_manager.go 63.63% <0.00%> (-2.73%) :arrow_down:
bcs/consensus/xpoa/xpoa.go 53.76% <0.00%> (-2.16%) :arrow_down:
bcs/network/p2pv2/server.go 51.33% <0.00%> (-1.07%) :arrow_down:

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 cbb1d40...879edf6. Read the comment docs.