83 Commits

Author SHA1 Message Date
Sergey Cherepanov
7a778a5c9a
refactor handshake err 2023-05-22 19:17:20 +02:00
Sergey Cherepanov
cfca99cf19
fix HandshakeError 2023-05-22 18:00:30 +02:00
Sergey Cherepanov
c17166b383
propagate handshake error + NetworkCompatibilityStatus method 2023-05-22 17:57:00 +02:00
Sergey Cherepanov
0aabebb110
make credentials with version, fix test 2023-05-22 15:31:55 +02:00
Sergey Cherepanov
4a7bf3ef46
handshake proto version 2023-05-22 13:51:13 +02:00
Sergey Cherepanov
c410101d5f
QueueId wrapper + test 2023-05-15 20:01:52 +02:00
Sergey Cherepanov
bc24da8762
use multiqueue for stream + MessageQueueId interface 2023-05-15 19:52:19 +02:00
Sergey Cherepanov
98e99686e4
streampool: send queue per peer + metrics 2023-05-15 15:50:27 +02:00
Sergey Cherepanov
7394b4bd67
Merge pull request #86 from anytypeio/GO-802-metrics
GO-802 rpc metrics
2023-05-05 19:35:18 +02:00
mcrakhman
590e8080b8
Update dialer to have peer addrs map 2023-05-05 16:18:46 +02:00
Sergey Cherepanov
4bc402f1f0
stream ctx + peer addr 2023-05-04 17:39:11 +02:00
Sergey Cherepanov
1ebe18296d
merge 2023-04-26 12:14:09 +02:00
mcrakhman
46de85a7f8
Check peerId when dialling 2023-04-25 20:55:00 +02:00
Sergey Cherepanov
474b81c8b6
move rpc prometheus config to metric service 2023-04-21 17:00:35 +02:00
mcrakhman
3edda33db6
Update object sync error handling logic 2023-04-19 20:42:47 +02:00
Sergey Cherepanov
f014209d75
log dial error 2023-04-17 16:08:19 +02:00
Sergey Cherepanov
eb8f760370
Merge branch 'main' of github.com:anytypeio/any-sync into GO-800-nodes-configuration 2023-04-13 19:06:22 +02:00
mcrakhman
77ad931cc3
Change add to tryadd in dial 2023-04-12 19:16:48 +02:00
Sergey Cherepanov
55878490e9
fix handshake test 2023-04-12 14:22:33 +02:00
Sergey Cherepanov
86ac8e0d75
change nodeconf.Configuration to nodeconf.NodeConf 2023-04-06 19:26:38 +02:00
mcrakhman
b62ad57988
Move peer util package into crypto 2023-03-27 21:22:32 +02:00
mcrakhman
2d977ed535
Fix tests 2023-03-26 18:47:35 +02:00
mcrakhman
98931433a5
Fix handshake tests 2023-03-26 13:45:24 +02:00
mcrakhman
fd5bd0b099
More key changes 2023-03-25 13:15:19 +01:00
mcrakhman
d9cf1feaee
Merge branch 'protocol-crypto-update' into update-proto
# Conflicts:
#	commonspace/object/acl/aclrecordproto/aclrecord.pb.go
2023-03-24 14:58:47 +01:00
mcrakhman
add25062f3
WIP refactor crypto proto 2023-03-24 11:45:39 +01:00
mcrakhman
e568f899aa
Remove old connection from pool on close (GetOneOf) 2023-03-13 17:18:21 +01:00
Roman Khafizianov
1a01f361ad
Merge pull request #48 from anytypeio/fix-suggared-logger
fix replacing existing logger
2023-03-13 14:15:26 +01:00
Roman Khafizianov
86dcc83461
change logger name 2023-03-13 14:14:55 +01:00
mcrakhman
981378c2e3
Ocache remove with ctx 2023-03-11 13:41:26 +01:00
Roman Khafizianov
df9a5f11ae
cleanup logger names 2023-03-10 19:32:20 +01:00
mcrakhman
74f39239c6
Update tryclose with ttl 2023-03-10 10:17:57 +01:00
mcrakhman
43a35f4878
Add tryclose everywhere 2023-03-09 22:52:31 +01:00
mcrakhman
c37c7ba874
Fix putTree close and handshake params and add logs for trees used debug 2023-02-21 16:36:58 +01:00
Sergey Cherepanov
b3e63984bb
fix listener 2023-02-17 15:38:42 +03:00
Sergey Cherepanov
49b738fb3c
remove unused param 2023-02-17 00:24:52 +03:00
Sergey Cherepanov
5b93739487
dial timeout 2023-02-17 00:19:05 +03:00
Sergey Cherepanov
38a74fd195
remove tls listener, move handshake to serve goroutine 2023-02-17 00:09:52 +03:00
Sergey Cherepanov
ea9d101622
Merge branch 'main' of github.com:anytypeio/any-sync into any-handshake 2023-02-15 22:29:11 +03:00
Sergey Cherepanov
ea80f4591b
Merge pull request #25 from anytypeio/drpc-server
Add listen addrs
2023-02-15 22:28:47 +03:00
Sergey Cherepanov
f2d729022d
secure service test 2023-02-15 22:09:09 +03:00
Sergey Cherepanov
94d33f2c4a
handshake with ctx 2023-02-15 21:29:37 +03:00
Sergey Cherepanov
20768266ca
Merge branch 'main' of github.com:anytypeio/any-sync into any-handshake 2023-02-15 20:47:25 +03:00
Sergey Cherepanov
4d356318f0
increase dial timeout + debug logs 2023-02-15 14:58:23 +03:00
mcrakhman
cd82b41cf1
Add listen addrs 2023-02-14 23:09:03 +01:00
Sergey Cherepanov
4cde54bdb3
dial timeout 2023-02-14 19:39:57 +03:00
Sergey Cherepanov
ce0a60df67
timeoutconn: remove debug 2023-02-13 22:13:40 +03:00
Sergey Cherepanov
b34136ce06
wip: secureservice with verifiers 2023-02-13 21:48:41 +03:00
Sergey Cherepanov
2fe9f8c295
handshake: return identity 2023-02-13 13:45:07 +03:00
Sergey Cherepanov
e8a7ad7476
handshake proto and implementation 2023-02-11 22:52:20 +03:00