136 Commits
Author SHA1 Message Date
mcrakhman 854079d1be Add auxiliary methods to acl for getting records, export peer manager 2023-07-18 14:35:36 +02:00
mcrakhman e08b3ba659 Add syncaclhandler tests 2023-07-12 15:58:41 +02:00
mcrakhman febfb72cec Add diffsyncer tests 2023-07-12 12:09:55 +02:00
mcrakhman bf7e256065 Merge remote-tracking branch 'origin/consensus-client' into acl-sync-protocol
# Conflicts:
#	consensus/consensusproto/consensus.pb.go
2023-07-11 13:58:45 +02:00
Sergey Cherepanov 1a23081336 merge 2023-07-10 19:12:58 +02:00
Sergey Cherepanov ef128dd33f switch to uber/gomock 2023-07-10 15:41:22 +02:00
mcrakhman 0d16c5d7e4 WIP sync logic 2023-07-03 15:48:48 +02:00
mcrakhman 51ac955f1c Add sync protocol interfaces 2023-07-02 15:55:58 +02:00
mcrakhman 53e9c4ab02 Merge branch 'main' into acl-change
# Conflicts:
#	net/peer/peer.go
2023-06-28 23:12:04 +02:00
mcrakhman 02b326cc90 Add lastIteratedId when setting merged heads 2023-06-28 21:34:50 +02:00
mcrakhman 0ffbb6fa5a Rework ACL structures 2023-06-27 19:44:44 +02:00
mcrakhman 1fada6f336 Merge branch 'main' into acl-change 2023-06-23 13:44:38 +02:00
mcrakhman 2c573138e6 Correctly removing changes which we don't need to send 2023-06-22 19:22:56 +02:00
mcrakhman 718a5b04dc Update proto 2023-06-22 13:42:38 +02:00
mcrakhman 8e7df9eae5 Sync updates 2023-06-20 12:02:05 +02:00
mcrakhman 16be33fc96 Change Add to TryAdd 2023-06-19 10:41:16 +02:00
mcrakhman cc3da7e66b Simplify tree remote getter 2023-06-13 19:00:01 +02:00
mcrakhman 060c6d1231 Retry fail on treechangeproto.ErrGetTree 2023-06-13 18:14:13 +02:00
mcrakhman 0ca2fe5e7e Change naming 2023-06-13 15:36:23 +02:00
mcrakhman 6eda884686 Remove goto 2023-06-13 15:26:42 +02:00
mcrakhman 5c884afcf1 Make error typed 2023-06-13 15:22:46 +02:00
mcrakhman 2aaa8f4a0c Change retry logic and add tests 2023-06-13 15:21:11 +02:00
mcrakhman 8310cb3c05 Fix sync protocol integration tests 2023-06-06 22:08:06 +02:00
mcrakhman 100e7e04c3 SyncTreeHandler tests 2023-06-06 21:49:23 +02:00
mcrakhman b18bb02176 TreeSyncProtocol tests 2023-06-06 20:50:53 +02:00
mcrakhman 3a2f9fe6f5 WIP synctree tests rewrite 2023-06-06 20:10:44 +02:00
mcrakhman 67d535362f Different fixes 2023-06-06 17:18:59 +02:00
mcrakhman 748681d765 WIP rearrange components 2023-06-03 15:57:55 +02:00
mcrakhman 815bc7927d Wire up the stuff 2023-06-02 00:59:33 +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
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
mcrakhman 86ac7223db Fix ctx and change add method name in storage 2023-05-11 18:31:59 +02:00
mcrakhman 7feb6b0d2c Send update only on remote tree or put tree when building 2023-05-11 13:40:24 +02:00
mcrakhman a232ed76ce Update syncprotocol test 2023-05-11 09:51:24 +02:00
mcrakhman 2c832d2518 Update sync protocol to remove transaction add 2023-05-10 23:51:03 +02:00
mcrakhman a6d66c15a0 Add build full tree for history tree 2023-05-07 20:27:46 +02:00
mcrakhman f1e8f5d193 Improve timestamp test 2023-05-04 16:25:41 +02:00
mcrakhman 2489e19bab Change timestamp condition 2023-05-04 14:58:17 +02:00
mcrakhman 2958e32636 Send timestamp to addcontent 2023-05-04 14:12:29 +02:00
mcrakhman 21bde9743d Add timestamp externally in tree 2023-05-04 11:10:08 +02:00
mcrakhman 8f144f20a6 Keep inmemory data on load 2023-04-27 19:11:05 +02:00
mcrakhman 61454b7405 Add sync protocol tests for empty data tree 2023-04-27 18:43:04 +02:00
mcrakhman 95cb364316 Fix empty data tree 2023-04-27 18:24:45 +02:00
mcrakhman a6524c1ee7 Remove error in broadcast 2023-04-26 18:12:03 +02:00
mcrakhman 321f843e8e Change test name for fuzzy merge 2023-04-20 12:48:25 +02:00
mcrakhman 245188760a Change error to typed in treeremotegetter 2023-04-20 12:46:36 +02:00
mcrakhman 077cdd6278 Refactor genchanges 2023-04-20 11:26:53 +02:00
mcrakhman 4a22eabebd Fix proto 2023-04-20 00:04:16 +02:00