1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-09 09:35:03 +09:00

Update synctree to connect with responsible node

This commit is contained in:
mcrakhman 2023-01-13 12:55:28 +01:00 committed by Mikhail Iudin
parent 50b51b1246
commit b2da6ff300
No known key found for this signature in database
GPG key ID: FAAAA8BAABDFF1C0
3 changed files with 35 additions and 2 deletions

View file

@ -9,6 +9,7 @@ import (
app "github.com/anytypeio/any-sync/app"
nodeconf "github.com/anytypeio/any-sync/nodeconf"
chash "github.com/anytypeio/go-chash"
gomock "github.com/golang/mock/gomock"
)
@ -128,6 +129,20 @@ func (mr *MockConfigurationMockRecorder) Addresses() *gomock.Call {
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Addresses", reflect.TypeOf((*MockConfiguration)(nil).Addresses))
}
// CHash mocks base method.
func (m *MockConfiguration) CHash() chash.CHash {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "CHash")
ret0, _ := ret[0].(chash.CHash)
return ret0
}
// CHash indicates an expected call of CHash.
func (mr *MockConfigurationMockRecorder) CHash() *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CHash", reflect.TypeOf((*MockConfiguration)(nil).CHash))
}
// ConsensusPeers mocks base method.
func (m *MockConfiguration) ConsensusPeers() []string {
m.ctrl.T.Helper()