Commit f8d4975
committed
validation: Move PruneOneBlockFile to BlockManager
[META] This is a pure refactor commit.
Move PruneBlockFile to BlockManager because:
1. PruneOneBlockFile only acts on BlockManager
2. Eliminates the need for callers (FindFilesToPrune{,Manual}) to have a
reference to the larger ChainstateManager, just a reference to
BlockManager is enough. See following commits.1 parent 74f73c7 commit f8d4975
3 files changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3912 | 3912 | | |
3913 | 3913 | | |
3914 | 3914 | | |
3915 | | - | |
| 3915 | + | |
3916 | 3916 | | |
3917 | 3917 | | |
3918 | 3918 | | |
3919 | 3919 | | |
3920 | | - | |
| 3920 | + | |
3921 | 3921 | | |
3922 | 3922 | | |
3923 | 3923 | | |
| |||
3931 | 3931 | | |
3932 | 3932 | | |
3933 | 3933 | | |
3934 | | - | |
| 3934 | + | |
3935 | 3935 | | |
3936 | 3936 | | |
3937 | 3937 | | |
3938 | 3938 | | |
3939 | | - | |
| 3939 | + | |
3940 | 3940 | | |
3941 | 3941 | | |
3942 | 3942 | | |
| |||
3972 | 3972 | | |
3973 | 3973 | | |
3974 | 3974 | | |
3975 | | - | |
| 3975 | + | |
3976 | 3976 | | |
3977 | 3977 | | |
3978 | 3978 | | |
| |||
4047 | 4047 | | |
4048 | 4048 | | |
4049 | 4049 | | |
4050 | | - | |
| 4050 | + | |
4051 | 4051 | | |
4052 | 4052 | | |
4053 | 4053 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
410 | 413 | | |
411 | 414 | | |
412 | 415 | | |
| |||
903 | 906 | | |
904 | 907 | | |
905 | 908 | | |
906 | | - | |
907 | | - | |
908 | | - | |
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
0 commit comments