Refactorings of rpc

This commit is contained in:
9seconds
2018-07-04 18:25:15 +03:00
parent c35c482de7
commit 1894aa7989
2 changed files with 47 additions and 32 deletions
+6
View File
@@ -4,3 +4,9 @@ const (
RPCNonceSeqNo = -2
RPCHandshakeSeqNo = -1
)
var (
RPCTagCloseExt = []byte{0xa2, 0x34, 0xb6, 0x5e}
RPCTagProxyAns = []byte{0x0d, 0xda, 0x03, 0x44}
RPCTagSimpleAck = []byte{0x9b, 0x40, 0xac, 0x3b}
)