Commit ff963f9
committed
Optimize deposit sweep proposal generator
Fetching deposit script type is not needed for sweep proposal generation.
Doing so means making an additional Electrum call for each deposit. This
makes proposal generation longer and more prone to failure.
At the same time, the script type is used only for Maintainer CLI which
is not so important since we have tbtcscan and there is no way to
manually trigger sweeps due to the introduction of RFC 12.
That said, we are removing script type fetch from the process.
(cherry picked from commit 079bb82)1 parent f958ba0 commit ff963f9
2 files changed
+2
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
142 | 141 | | |
143 | 142 | | |
144 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
| |||
241 | 240 | | |
242 | 241 | | |
243 | 242 | | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 243 | | |
259 | 244 | | |
260 | 245 | | |
| |||
264 | 249 | | |
265 | 250 | | |
266 | 251 | | |
267 | | - | |
268 | 252 | | |
269 | 253 | | |
270 | 254 | | |
| |||
0 commit comments