Closed wangchao0222 closed 2 years ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Merging #297 (a12b32f) into master (a47fc2f) will decrease coverage by
0.01%
. The diff coverage is0.00%
.
@@ Coverage Diff @@
## master #297 +/- ##
==========================================
- Coverage 46.45% 46.44% -0.02%
==========================================
Files 136 136
Lines 12174 12177 +3
==========================================
Hits 5655 5655
- Misses 5349 5352 +3
Partials 1170 1170
Impacted Files | Coverage Δ | |
---|---|---|
bcs/network/p2pv2/stream_pool.go | 44.26% <0.00%> (-2.29%) |
:arrow_down: |
bcs/network/p2pv1/conn.go | 55.10% <0.00%> (-6.13%) |
:arrow_down: |
bcs/consensus/xpoa/xpoa.go | 54.21% <0.00%> (-1.06%) |
:arrow_down: |
bcs/consensus/tdpos/schedule.go | 43.57% <0.00%> (+0.91%) |
:arrow_up: |
bcs/consensus/tdpos/tdpos.go | 50.24% <0.00%> (+1.93%) |
:arrow_up: |
bcs/consensus/tdpos/common.go | 57.81% <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 a47fc2f...a12b32f. Read the comment docs.
Description
代码中关于peerids的获取是经过kaddht句柄从底层libp2p库获取到然后经过multi过滤器过滤,此处暂未处理获取peerids的流程,仅当上述错误出现时由warn级别改为info日志级别
Fixes # (issue) 【日志】【优化】tdpos共识,日志频繁刷跟自己建立p2p连接的日志,需优化
Type of change
Please delete options that are not relevant.
Brief of your solution
仅当"dial to self attempted"错误出现时由warn级别改为info日志级别
How Has This Been Tested?
部署运行,查看xchain.log.wf日志中是否出现warn级别的"dial to self attempted"日志