1146 Commits
Author SHA1 Message Date
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
mcrakhman 1343dad443 Improve tests to include check for new snapshot 2023-05-23 11:50:15 +02:00
mcrakhman db7a95514d Add mark deleted logic 2023-05-23 11:34:24 +02:00
mcrakhman da9bbba79b Update state builder to use map and fix tests 2023-05-23 10:49:28 +02:00
mcrakhman c348ee2a49 Add tests 2023-05-23 08:48:15 +02:00
mcrakhman 9cd73af53c Implement test utils for space 2023-05-22 15:37:48 +02:00
mcrakhman 5532c2c482 Fix settings state rebuild 2023-05-21 23:50:14 +02:00
mcrakhman 6e48b2dcff Fix send error problem 2023-05-17 13:13:23 +02:00
dependabot[bot] 743a7b8d2f Bump github.com/libp2p/go-libp2p from 0.27.2 to 0.27.3
Bumps [github.com/libp2p/go-libp2p](https://github.com/libp2p/go-libp2p) from 0.27.2 to 0.27.3.
- [Release notes](https://github.com/libp2p/go-libp2p/releases)
- [Changelog](https://github.com/libp2p/go-libp2p/blob/master/CHANGELOG.md)
- [Commits](https://github.com/libp2p/go-libp2p/compare/v0.27.2...v0.27.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 18:02:23 +00:00
dependabot[bot] ca82644ece Bump golang.org/x/crypto from 0.8.0 to 0.9.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.8.0 to 0.9.0.
- [Commits](https://github.com/golang/crypto/compare/v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-15 18:02:39 +00:00
Sergey Cherepanov 5e1ac84d37 increase sendSync timeout 2023-05-15 20:30:32 +02:00
Sergey Cherepanov b8cb74d2ff QueueId wrapper + test 2023-05-15 20:01:52 +02:00
Sergey Cherepanov 3d4ac4d130 use multiqueue for stream + MessageQueueId interface 2023-05-15 19:52:19 +02:00
Sergey Cherepanov 34c6ce261e streampool: send queue per peer + metrics 2023-05-15 15:50:27 +02:00