Commit c1c7009
committed
create initContainer for loading snapshots
if key is set, download and untar a blocks directory into the bitcoin
datadir. its up to the user to make sure they are choosing an
appropriate snapshot, e.g., if the snapshot was created from a signet
chain then it can only be loaded into a signet node with the correct
signet challenge. we can expand on this in the future to better export
all of the relevant config details in the snapshot, but for now this
just adds the ability to load files into pods before the pod starts.1 parent 1da2547 commit c1c7009
2 files changed
+23
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
26 | 40 | | |
27 | 41 | | |
28 | 42 | | |
| |||
54 | 68 | | |
55 | 69 | | |
56 | 70 | | |
| 71 | + | |
| 72 | + | |
57 | 73 | | |
58 | 74 | | |
59 | 75 | | |
| |||
83 | 99 | | |
84 | 100 | | |
85 | 101 | | |
86 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
87 | 106 | | |
88 | | - | |
89 | 107 | | |
90 | 108 | | |
91 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
0 commit comments