Open petarkenic opened 2 years ago
Try to run it with SyncMode.Full
mode.
Yes that will work, but the sync is way too long as it does not make use of Checkpoint
. There is an issue with syncing transactions when using API
as the option.
We checked syncing via API. It worked well for several test accounts. It uses the following API endpoint to retrieve transaction data https://blockchain.info/multiaddr?active=$addresses
. Can you please check if it retrieves the transactions for your addresses? Multiple addresses are joined with the "|" symbol
We resolved the issue. So what happened was that we were using BIP44
but we had some transactions using the BIP49
generated addresses. The API would fetch the transactions and store the respective block hashes in the app DB. However, the SPV sync would not be able to fetch the transactions associated with the block hash stored which led to no transactions showing up. All in all this is not an issue anymore because we switched to using BIP49
. Thanks for testing this out and for the response!
I am wondering why in the following code for the BIP44
block we have Bip49RestoreKeyConverter
and Bip84RestoreKeyConverter
?
When I run the
Bitcoin Kit
sample app with a custom seed phrase usingBIP44
,API
, andMainNet
as parameters, the sync fails to get my transactions that occurred before theCheckpoint
. TheassociatedTransactions
for the correctblockHash
do not include any of the transactions that are associated with my addresses under theHD wallet
.