Closed dworznik closed 8 years ago
Yeah, SPV wasn't given as much love as it should have been through all the recent refactoring. This is fixed on the #buffer-scripting branch. I'm going to be merging that into master soon along with some new docs.
Handled properly now via the save address
event from the walletdb.
When creating a wallet,
add address
events are emitted during the key derivation, but callbacks for them are not registered until the wallet is added to the pool. When I run the example SPV app, it's impossible to get the derived keys to be watched by the pool. I'm solving it now by passing the pool toWallet
constructor and callingwatchWallet()
on it as soon as possible.