Proto commits in tronprotocol/libp2p

These 24 commits are when the Protocol Buffers files have changed:

Commit:ad614ad
Author:Brown Jiang
Committer:GitHub

merge release v2.1.0 into main (#70) * doc(readme): update libp2p version * feat(net):use CompletionService to get ip more quickly * feat(log):optimize thread's name of log * add new P2pConfig cost * feat(net):use ScheduledThreadPoolExecutor to replace newSingleThreadExecutor * feat(net): optimize p2p handshake logic * optimize test case testGetIP * optimize testcase NetUtilTest * add message length check logic * modify review suggestions * hotfix(net): don't submit new task if server is closing (#56) * hotfix(net): don't submit new task if server is closing * feat(net):send message P2pDisconnectMessage before closing channel (#63) * feat(net):send message P2pDisconnectMessage before disconnect * feat(net):optimize DisconnectReason * feat(net): add shutdown hook * add needToLog in Message * feat(net): don't close P2pService twice * delete duplicate log in HandshakeService * don't send disconnect message if handshake fails * update the version of grpc and protobuf * set isdisconnect to true when closeFuture happens (#68) * set isdisconnect=true when closeFuture happens * add log of getip's time cost * update version and modify test case (#69) --------- Co-authored-by: halibobo1205 <halibobo1205@gmail.com> Co-authored-by: halibobo1205 <82020050+halibobo1205@users.noreply.github.com> Co-authored-by: wubin01 <wb_bupt@163.com> Co-authored-by: chengtx01 <allen_cheng1@163.com> Co-authored-by: allen <56535423+jwrct@users.noreply.github.com>

The documentation is generated from this commit.

Commit:c350328
Author:Brown Jiang
Committer:GitHub

feat(net):send message P2pDisconnectMessage before closing channel (#63) * feat(net):send message P2pDisconnectMessage before disconnect * feat(net):optimize DisconnectReason * feat(net): add shutdown hook * add needToLog in Message * feat(net): don't close P2pService twice * delete duplicate log in HandshakeService * don't send disconnect message if handshake fails

The documentation is generated from this commit.

Commit:6895b90
Author:jiangyuanshu

delete DisconnectReason DETECT_COMPLETE

The documentation is generated from this commit.

Commit:ecb6732
Author:jiangyuanshu

feat(net):optimize DisconnectReason

Commit:c5a54cb
Author:jiangyuanshu

feat(net):send message P2pDisconnectMessage before disconnect

Commit:75f311b
Author:wubin01
Committer:GitHub

Merge branch 'develop' into libp2p_upgrade

Commit:21f993a
Author:wubin01

support libp2p automatic upgrade

Commit:63aa8de
Author:jiangyuanshu

update proto HelloMessage,

Commit:6403259
Author:jiangyuanshu

add proto DnsRoot

Commit:1a7aab1
Author:jiangyuanshu

merge develop into feature/dns

Commit:3e1067a
Author:jiangyuanshu

use proto EndPoints

Commit:ddd717b
Author:wubin01

add proto util test

Commit:185a0cb
Author:wubin01

message transmission supports compression function

Commit:0f5baea
Author:wubin01

add node detect function

Commit:2e2b1f0
Author:jiangyuanshu

add IPv6 support

Commit:8ff5840
Author:jiangyuanshu

rename TcpKeepAliveMessage to KeepAliveMessage

Commit:ff7501e
Author:jiangyuanshu

add proto TcpKeepAliveMessage

Commit:3b7e010
Author:jiangyuanshu

remove ReasonCode in Discover.proto;

Commit:4ef7ad5
Author:jiangyuanshu

delete class Sha256Hash, MessageTypes

Commit:5629e76
Author:wubin01

adjust system structure and add tcp message

Commit:41eae3c
Author:jiangyuanshu

change proto output directory

Commit:9930ce4
Author:jiangyuanshu

change proto output directory

Commit:25b2258
Author:jiangyuanshu

generate proto when build project

Commit:c6ac876
Author:wubin01

system framework construction