Commit 908fb70
Apply regtest fast-sync override to Electrum chain source
Closes #54.
set_chain_source_electrum(url, None) falls through to ldk-node's
default 80s/30s BackgroundSyncConfig. The Esplora arm a few lines
above already overrides this to 2s/2s/30s on Network::Regtest;
mirror the same override on the Electrum arm.
Mainnet behavior is unchanged — non-regtest networks still pass None
and use ldk-node's defaults.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 2762df2 commit 908fb70
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
151 | 164 | | |
152 | 165 | | |
153 | 166 | | |
| |||
0 commit comments