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:
parent
50b51b1246
commit
b2da6ff300
3 changed files with 35 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue