959 Commits

Author SHA1 Message Date
Sergey Cherepanov
41a85f7987
merge 2023-05-31 20:27:38 +02:00
Sergey Cherepanov
fb007211f0
simplify drpc server + peer accept loop 2023-05-31 20:24:07 +02:00
Sergey Cherepanov
00c582e157
use net.Conn for a proto handshake 2023-05-31 19:24:23 +02:00
Sergey Cherepanov
c43ac9eb84
handshake proto + common handshake fixes 2023-05-31 16:22:49 +02:00
Sergey Cherepanov
467536ac97
Merge pull request #11 from anyproto/dependabot/go_modules/github.com/ipfs/go-ipfs-chunker-0.0.6
Bump github.com/ipfs/go-ipfs-chunker from 0.0.5 to 0.0.6
2023-05-30 13:59:26 +02:00
dependabot[bot]
9175fc9827
Bump github.com/ipfs/go-ipfs-chunker from 0.0.5 to 0.0.6
Bumps [github.com/ipfs/go-ipfs-chunker](https://github.com/ipfs/go-ipfs-chunker) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/ipfs/go-ipfs-chunker/releases)
- [Commits](https://github.com/ipfs/go-ipfs-chunker/compare/v0.0.5...v0.0.6)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-ipfs-chunker
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 11:59:19 +00:00
Sergey Cherepanov
92f6a07d85
Merge pull request #12 from anyproto/dependabot/go_modules/github.com/ipfs/go-unixfs-0.4.6
Bump github.com/ipfs/go-unixfs from 0.4.5 to 0.4.6
2023-05-30 13:57:27 +02:00
Sergey Cherepanov
fc53eaf9e5
Merge pull request #10 from anyproto/dependabot/go_modules/github.com/ipfs/go-ipfs-blockstore-1.3.1
Bump github.com/ipfs/go-ipfs-blockstore from 1.3.0 to 1.3.1
2023-05-30 13:57:08 +02:00
Sergey Cherepanov
1109ce8da1
Merge pull request #9 from anyproto/dependabot/go_modules/github.com/ipfs/go-blockservice-0.5.2
Bump github.com/ipfs/go-blockservice from 0.5.1 to 0.5.2
2023-05-30 13:56:58 +02:00
Sergey Cherepanov
24b0cafb7f
Merge pull request #8 from anyproto/dependabot/go_modules/github.com/multiformats/go-multihash-0.2.2
Bump github.com/multiformats/go-multihash from 0.2.1 to 0.2.2
2023-05-30 13:56:48 +02:00
dependabot[bot]
1c0d7166c9
Bump github.com/ipfs/go-unixfs from 0.4.5 to 0.4.6
Bumps [github.com/ipfs/go-unixfs](https://github.com/ipfs/go-unixfs) from 0.4.5 to 0.4.6.
- [Release notes](https://github.com/ipfs/go-unixfs/releases)
- [Commits](https://github.com/ipfs/go-unixfs/compare/v0.4.5...v0.4.6)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-unixfs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 16:07:32 +00:00
dependabot[bot]
b1129e898e
Bump github.com/ipfs/go-ipfs-blockstore from 1.3.0 to 1.3.1
Bumps [github.com/ipfs/go-ipfs-blockstore](https://github.com/ipfs/go-ipfs-blockstore) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/ipfs/go-ipfs-blockstore/releases)
- [Commits](https://github.com/ipfs/go-ipfs-blockstore/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-ipfs-blockstore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 16:06:57 +00:00
dependabot[bot]
2b5159e86a
Bump github.com/ipfs/go-blockservice from 0.5.1 to 0.5.2
Bumps [github.com/ipfs/go-blockservice](https://github.com/ipfs/go-blockservice) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/ipfs/go-blockservice/releases)
- [Commits](https://github.com/ipfs/go-blockservice/compare/v0.5.1...v0.5.2)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-blockservice
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 16:06:38 +00:00
dependabot[bot]
616159b144
Bump github.com/multiformats/go-multihash from 0.2.1 to 0.2.2
Bumps [github.com/multiformats/go-multihash](https://github.com/multiformats/go-multihash) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/multiformats/go-multihash/releases)
- [Commits](https://github.com/multiformats/go-multihash/compare/v0.2.1...v0.2.2)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multihash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 16:06:21 +00:00
Sergey Cherepanov
553ed3a64b
peer drpc conn pool 2023-05-29 17:56:44 +02:00
Mikhail Rakhmanov
85ec3e2313
Merge pull request #7 from anyproto/update-dial-timeout
Update dial timeout
v0.1.5
2023-05-29 16:34:36 +02:00
Sergey Cherepanov
a898c6fc9c
pool.AddPeer close previous peer 2023-05-29 16:33:33 +02:00
mcrakhman
973d55c12b
Update dial timeout 2023-05-29 16:28:28 +02:00
Mikhail Rakhmanov
e148577aed
Merge pull request #6 from anyproto/space-lifetime-load v0.1.4 2023-05-29 16:11:54 +02:00
mcrakhman
1e1f71d700
Don't close when tree is loading, fix peer conditions 2023-05-29 16:02:59 +02:00
Sergey Cherepanov
12a7dfe05a
Merge branch 'main' of github.com:anyproto/any-sync into yamux 2023-05-26 20:42:06 +02:00
Sergey Cherepanov
fa02cfd830
mod tidy 2023-05-26 20:40:50 +02:00
Mikhail Rakhmanov
f442b21969
Merge pull request #4 from anyproto/update-tree-syncer v0.1.3 2023-05-26 20:35:05 +02:00
mcrakhman
e9ea4e1d3e
Provide treemanager from outside for settings id 2023-05-26 20:21:07 +02:00
Sergey Cherepanov
7958b43da6
peer service 2023-05-26 20:06:22 +02:00
Sergey Cherepanov
bc2049ccbc
wip: yamux transport + pool rewrite 2023-05-26 19:18:51 +02:00
Mikhail Rakhmanov
7a45acb497
Merge pull request #3 from anyproto/start-headsync v0.1.2 2023-05-26 19:05:21 +02:00
mcrakhman
556f03ed7f
Expose more methods in exec pool 2023-05-26 11:29:21 +02:00
mcrakhman
f0a3edd798
Add tree syncer 2023-05-26 09:49:09 +02:00
mcrakhman
5b553f1a8d
Change headsync logic 2023-05-25 20:23:19 +02:00
mcrakhman
a5e2bea04c
Update message pool to include optional context deadline 2023-05-24 21:47:59 +02:00
mcrakhman
c485baaadf
Simplify interface 2023-05-24 15:05:21 +02:00
mcrakhman
2ab43e2b69
Space headsync delayed start 2023-05-24 14:54:10 +02:00
Sergey Cherepanov
f8c79c33bc
update go.mod v0.1.1 2023-05-23 18:00:04 +02:00
Sergey Cherepanov
453aa7b769
update go mod v0.1.0 2023-05-23 15:43:33 +02:00
Mikhail Iudin
dbae377351
fix imports 2023-05-23 14:47:24 +02:00
Mikhail Iudin
da6c99c949
fix rebase changes 2023-05-23 14:38:34 +02:00
dependabot[bot]
71c0580bae
Bump github.com/stretchr/testify from 1.8.2 to 1.8.3
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.2...v1.8.3)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-22 18:03:40 +00:00
mcrakhman
f005c82bf5
Fix mock 2023-05-23 12:15:54 +02:00
Sergey Cherepanov
24395ec7bf
refactor handshake err 2023-05-22 19:17:20 +02:00
Sergey Cherepanov
d8ed9f9307
fix HandshakeError 2023-05-22 18:00:30 +02:00
Sergey Cherepanov
d04e55bc9c
propagate handshake error + NetworkCompatibilityStatus method 2023-05-22 17:57:00 +02:00
Sergey Cherepanov
698507d363
make credentials with version, fix test 2023-05-22 15:31:55 +02:00
Sergey Cherepanov
f5bb73a3e7
handshake proto version 2023-05-22 13:51:13 +02:00
Sergey Cherepanov
a0633c39ec
fix test 2023-05-19 22:21:12 +02:00
Sergey Cherepanov
3d2005833b
remove debug 2023-05-19 22:18:39 +02:00
Sergey Cherepanov
8c84ab9b31
write app version to rpc log 2023-05-18 13:35:49 +02:00
Sergey Cherepanov
b1ad0be3b4
app.AnySyncVersion 2023-05-18 13:31:53 +02:00
Sergey Cherepanov
0d72b3b671
app.AppName + prometheus versions metric 2023-05-18 13:21:01 +02:00
mcrakhman
b141dcdb47
Remove extra comment 2023-05-23 11:51:42 +02:00