OpenAtomFoundation / xupercore

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

支持TLS传输国密 #290

Open springrain opened 2 years ago

springrain commented 2 years ago

Description

What is the purpose of the change?

基于 github.com/tjfoc/gmsm 实现TLS传输加密,使用双证书模式,实际是一个证书对象,slice里放了两次,简化操作

Fixes # (issue)

Type of change

Please delete options that are not relevant.

Brief of your solution

基于 github.com/tjfoc/gmsm 实现TLS传输加密,使用双证书模式,实际是一个证书对象,slice里放了两次,简化操作

codecov-commenter commented 2 years ago

Codecov Report

Merging #290 (7e4c02c) into master (dcc1e24) will decrease coverage by 0.15%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #290      +/-   ##
==========================================
- Coverage   45.81%   45.65%   -0.16%     
==========================================
  Files         138      138              
  Lines       12284    12307      +23     
==========================================
- Hits         5628     5619       -9     
- Misses       5504     5534      +30     
- Partials     1152     1154       +2     
Impacted Files Coverage Δ
kernel/network/p2p/util.go 0.00% <0.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/tdpos/schedule.go 42.98% <0.00%> (-0.91%) :arrow_down:
bcs/network/p2pv2/server.go 52.40% <0.00%> (+1.06%) :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 dcc1e24...7e4c02c. Read the comment docs.