File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
BDKSwiftExampleWallet/Service/BDK Service Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -384,8 +384,10 @@ private class BDKService {
384
384
. build ( )
385
385
let update = try esploraClient. fullScan (
386
386
request: fullScanRequest,
387
- stopGap: UInt64 ( 150 ) , // should we default value this for folks?
388
- parallelRequests: UInt64 ( 5 ) // should we default value this for folks?
387
+ // using https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#address-gap-limit
388
+ stopGap: UInt64 ( 20 ) ,
389
+ // using https://github.com/bitcoindevkit/bdk/blob/master/example-crates/example_wallet_esplora_blocking/src/main.rs
390
+ parallelRequests: UInt64 ( 5 )
389
391
)
390
392
let _ = try wallet. applyUpdate ( update: update)
391
393
guard let connection = self . connection else {
You can’t perform that action at this time.
0 commit comments