mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 07:24:01 +03:00
Remove borsh borsh new borsch
This commit is contained in:
+16
-16
@@ -1,30 +1,30 @@
|
||||
package rpc
|
||||
|
||||
const (
|
||||
RPCNonceSeqNo = -2
|
||||
RPCHandshakeSeqNo = -1
|
||||
SeqNoNonce = -2
|
||||
SeqNoHandshake = -1
|
||||
)
|
||||
|
||||
var (
|
||||
RPCTagCloseExt = []byte{0xa2, 0x34, 0xb6, 0x5e}
|
||||
RPCTagProxyAns = []byte{0x0d, 0xda, 0x03, 0x44}
|
||||
RPCTagSimpleAck = []byte{0x9b, 0x40, 0xac, 0x3b}
|
||||
RPCTagHandshake = []byte{0xf5, 0xee, 0x82, 0x76}
|
||||
RPCTagNonce = []byte{0xaa, 0x87, 0xcb, 0x7a}
|
||||
RPCTagProxyRequest = []byte{0xee, 0xf1, 0xce, 0x36}
|
||||
TagCloseExt = []byte{0xa2, 0x34, 0xb6, 0x5e}
|
||||
TagProxyAns = []byte{0x0d, 0xda, 0x03, 0x44}
|
||||
TagSimpleAck = []byte{0x9b, 0x40, 0xac, 0x3b}
|
||||
TagHandshake = []byte{0xf5, 0xee, 0x82, 0x76}
|
||||
TagNonce = []byte{0xaa, 0x87, 0xcb, 0x7a}
|
||||
TagProxyRequest = []byte{0xee, 0xf1, 0xce, 0x36}
|
||||
|
||||
RPCNonceCryptoAES = []byte{0x01, 0x00, 0x00, 0x00}
|
||||
NonceCryptoAES = []byte{0x01, 0x00, 0x00, 0x00}
|
||||
|
||||
RPCHandshakeFlags = []byte{0x00, 0x00, 0x00, 0x00}
|
||||
HandshakeFlags = []byte{0x00, 0x00, 0x00, 0x00}
|
||||
|
||||
RPCProxyRequestExtraSize = []byte{0x18, 0x00, 0x00, 0x00}
|
||||
RPCProxyRequestProxyTag = []byte{0xae, 0x26, 0x1e, 0xdb}
|
||||
ProxyRequestExtraSize = []byte{0x18, 0x00, 0x00, 0x00}
|
||||
ProxyRequestProxyTag = []byte{0xae, 0x26, 0x1e, 0xdb}
|
||||
|
||||
RPCHandshakeSenderPID = []byte{}
|
||||
RPCHandshakePeerPID = []byte{}
|
||||
HandshakeSenderPID []byte
|
||||
HandshakePeerPID []byte
|
||||
)
|
||||
|
||||
func init() {
|
||||
RPCHandshakeSenderPID = []byte("IPIPPRPDTIME")
|
||||
RPCHandshakePeerPID = []byte("IPIPPRPDTIME")
|
||||
HandshakeSenderPID = []byte("IPIPPRPDTIME")
|
||||
HandshakePeerPID = []byte("IPIPPRPDTIME")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user