Commit Graph
975 Commits
Author SHA1 Message Date
mcrakhman 69e607eddb Expose more methods 2023-06-05 15:16:38 +02:00
mcrakhman 85a093dd4a Change space methods (handle requests) 2023-06-05 15:09:17 +02:00
mcrakhman aff2061bd1 WIP request manager 2023-06-04 19:01:33 +02:00
mcrakhman b85f545fa3 Update connections on space level 2023-06-04 11:17:56 +02:00
mcrakhman 248205cddd Merge remote-tracking branch 'origin/yamux' into new-sync-protocol 2023-06-04 10:43:11 +02:00
mcrakhman ce63951ae6 Update proto files 2023-06-03 22:48:16 +02:00
mcrakhman 990cbc58b6 Add sync requests handling 2023-06-03 22:41:03 +02:00
mcrakhman 748681d765 WIP rearrange components 2023-06-03 15:57:55 +02:00
Sergey Cherepanov 96768adaae switch coordinator to new peer api 2023-06-02 10:39:48 +02:00
Sergey Cherepanov e9f23e2dd9 peer.DoDrpc method 2023-06-02 10:39:24 +02:00
Sergey Cherepanov 1206071dd6 fix pool test 2023-06-02 10:34:49 +02:00
mcrakhman a89a325d6c Fix sync client 2023-06-02 01:08:56 +02:00
mcrakhman 815bc7927d Wire up the stuff 2023-06-02 00:59:33 +02:00
mcrakhman 796b66478b Further components rearrange 2023-06-01 22:55:37 +02:00
mcrakhman eeb87dd144 WIP further space refactoring 2023-06-01 14:24:58 +02:00
mcrakhman b0fa43fb14 WIP work on components 2023-06-01 10:28:32 +02:00
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