4714 Commits

Author SHA1 Message Date
Ori Newman
bec32fc415 Merge branch 'fix-suggestedLowHash' into HEAD v0.11.13-rc5-experimental 2022-03-12 15:01:40 +02:00
Ori Newman
df0e46a6c1 Merge branch 'unite-reachability-stores' into HEAD 2022-03-12 15:01:06 +02:00
Ori Newman
61fc92ba89 Merge remote-tracking branch 'origin/dev' into unite-reachability-stores 2022-03-12 15:00:24 +02:00
Ori Newman
206cc9fb8d Use ghostdagDataWithoutPrunedBlocks when rebuilding reachability 2022-03-12 14:59:58 +02:00
Ori Newman
cfc9d5aaa9 Use nil suggestedLowHash if selected parent pruning point is not in the future of the current one 2022-03-12 13:55:30 +02:00
Ori Newman
1d9d3092ef Merge remote-tracking branch 'origin/dev' into HEAD v0.11.13-rc4-experimental 2022-03-12 12:40:45 +02:00
Ori Newman
99ff217815 Merge branch 'unite-reachability-stores' into HEAD v0.11.13-rc3-experimental 2022-03-12 12:39:41 +02:00
Ori Newman
c311ee9b0b Use dbTx when deleting reachability stores 2022-03-12 12:39:21 +02:00
Svarog
433af5e0fe
Make findTransactionIndex return wasFound explicitly + fix crash caused by invalid handling of not found transaction (#1971)
* Make findTransactionIndex return wasFound explicitly + fix crash caused by invalid handling of not found transaction

* Add comment on findTransactionIndex
2022-03-12 11:07:10 +02:00
Ori Newman
6d46f5510e Merge tag 'patch10' into v0.11.13-rc1 v0.11.13-rc2-experimental 2022-03-11 19:24:36 +02:00
Ori Newman
38e5e97b2c Merge branch 'unite-reachability-stores' into v0.11.13-rc1 v0.11.13-rc1-experimental v0.11.13-rc1-tag 2022-03-11 18:02:25 +02:00
Ori Newman
ad6310de81 Send pruning point and its anticone in batches 2022-03-11 18:00:19 +02:00
msutton
5957c9ecdc go fmt 2022-03-11 17:09:04 +02:00
msutton
3f51f926bb apply Don't relay blocks in virtual anticone #1970 to v5 2022-03-11 15:30:16 +02:00
msutton
91875da221 Merge remote-tracking branch 'origin/dev' into fix-ibd-shared-past-search 2022-03-11 15:27:54 +02:00
msutton
fb95156cd1 rename pastdiff -> anticone 2022-03-11 15:27:03 +02:00
msutton
047fa30183 apply the traversal limit logic and sort headers 2022-03-11 15:05:26 +02:00
msutton
8f68d5c606 addressing simple comments 2022-03-11 14:11:08 +02:00
Ori Newman
b7be807167
Don't relay blocks in virtual anticone (#1970) 2022-03-11 13:24:45 +02:00
msutton
63d7dd9f62 missed one err check 2022-03-11 11:26:06 +02:00
msutton
48eb577cac remove unused methods 2022-03-11 11:22:29 +02:00
msutton
a388aefa37 go fmt 2022-03-11 11:18:25 +02:00
msutton
e67b3b65b4 implement ibd sync past diff of relay and selected tip 2022-03-11 11:04:28 +02:00
msutton
6231eaf231 handle and flow for new request past diff message - logic unimplemented yet 2022-03-11 09:19:09 +02:00
msutton
ba20ff3d34 wire for new request past diff message 2022-03-11 08:58:53 +02:00
Ori Newman
e687ceeae7
Add version to block template (#1967) 2022-03-11 08:56:36 +02:00
msutton
7100716aeb protobuf gen for new past diff request message 2022-03-11 08:44:20 +02:00
Ori Newman
04e35321aa
Bump to v0.11.13 (#1968) 2022-03-11 08:33:53 +02:00
msutton
c684bf04bc address the case where pruning points disagree, now both IBD tests pass 2022-03-10 17:23:11 +02:00
Ori Newman
05241bdd72 Merge remote-tracking branch 'origin/dev' into unite-reachability-stores 2022-03-10 09:39:03 +02:00
msutton
947d427f40 new ibd shared block algo -- only basic test passing 2022-03-10 03:02:08 +02:00
msutton
398b06d844 wire for new ibd chain locator types 2022-03-10 01:53:37 +02:00
msutton
0b9abf25f4 protobuf gen for new ibd chain locator 2022-03-10 01:53:02 +02:00
msutton
5639e3ab56 set default version to 5 2022-03-10 01:51:37 +02:00
Ori Newman
264334cbfb Add UpdateReindexRoot to RebuildReachability 2022-03-09 23:17:56 +02:00
msutton
ca32eb6bbf Merge remote-tracking branch 'origin/dev' into patch patch10 2022-03-09 21:16:48 +02:00
Ori Newman
061e65be93
Fix argument order for IsAncestorOf in boundedMergeBreakingParents (#1966) 2022-03-09 21:11:00 +02:00
msutton
9df231f810 added relay hash to the log print patch9 2022-03-08 09:29:00 +02:00
msutton
09cebe6960 Perform side-chain check earlier to avoid IBD start 2022-03-08 09:18:24 +02:00
msutton
7c327683d3 route capacity workaround (for new syncing nodes) 2022-03-08 09:12:53 +02:00
msutton
c903a65def a temp patch for fixing IBD issues for all side-chains patch8 2022-03-08 03:51:06 +02:00
msutton
840b2a3353 wip 2022-03-08 03:15:20 +02:00
msutton
ea0586045d set all internal imports to v5 2022-03-07 16:37:42 +02:00
msutton
685c049a12 yet another checkpoint patch7 2022-03-07 15:51:59 +02:00
msutton
35f86bc98a add p2p v5 which is currently identical to v4 2022-03-07 15:33:52 +02:00
msutton
9b45e803d0 Merge branch 'dev' into patch patch6 2022-03-07 14:54:57 +02:00
msutton
cb5e9b55b7 Update checkpoint to yet another side-chain 2022-03-07 14:54:05 +02:00
Ori Newman
190e725dd0
Optimize expected header pruning point (#1962)
* Use the correct heuristic to avoid checking for next pruning point movement when not needed
2022-03-07 00:16:29 +02:00
msutton
20f16cf729 Update checkpoint to new side-chain patch5 2022-03-06 01:03:44 +02:00
Ori Newman
7a4c4e943b Fix tests 2022-03-03 16:02:22 +02:00