Commit d6af06d
Dont create pcoinsTip until after ReplayBlocks.
This requires that we not access pcoinsTip in InitBlockIndex's
FlushStateToDisk (so we just skip it until later in AppInitMain)
and the LoadChainTip in LoadBlockIndex (which there is already one
later in AppinitMain, after ReplayBlocks, so skipping it there is
fine).
Includes some simplifications by Suhas Daftuar and Pieter Wuille.1 parent eaca1b7 commit d6af06d
3 files changed
+2
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1385 | 1385 | | |
1386 | 1386 | | |
1387 | 1387 | | |
1388 | | - | |
1389 | 1388 | | |
1390 | 1389 | | |
1391 | 1390 | | |
| |||
1433 | 1432 | | |
1434 | 1433 | | |
1435 | 1434 | | |
1436 | | - | |
| 1435 | + | |
1437 | 1436 | | |
1438 | 1437 | | |
1439 | 1438 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | 100 | | |
107 | 101 | | |
108 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3420 | 3420 | | |
3421 | 3421 | | |
3422 | 3422 | | |
3423 | | - | |
3424 | 3423 | | |
3425 | 3424 | | |
3426 | 3425 | | |
| |||
3783 | 3782 | | |
3784 | 3783 | | |
3785 | 3784 | | |
3786 | | - | |
3787 | | - | |
3788 | 3785 | | |
3789 | 3786 | | |
3790 | 3787 | | |
| |||
0 commit comments