Half of your code example has nothing to do with bitcoinj. And on the other hand, your "resync" code is missing.
Can you post the logfile (console output) and a wallet.toString() from just after your resync has finished? On 04/05/2019 04.20, Sentient Being wrote: > I imported the private keys into my wallet and they appear to be added: > This is the result when i run getImportedKeys(): > Code: > [ECKey{pub > HEX=022249de1a0fb3c72fe9284ca449477ef1b0e43dc4245d3137d7d7a57f697f8d1d, > isEncrypted=false, isPubKeyOnly=false}, ECKey{pub > HEX=039ad0a1c1f63b3d5db4eab32401396f0dae98935825e99381cd3a630092ef1e0f, > isEncrypted=false, isPubKeyOnly=false}, ... etc > I resynced the wallet, but the transactions associated with this keys > are not showing up. > > From my understanding it can deduce the public keys from the private > keys, and look up the transactions associated with those keys. Im using > WalletAppKit to create the wallet, everything works okey, the wallet is > functional. This is how i initialize the wallet: > Code: > MainContext = context; > coinreceived = MediaPlayer.create(MainContext, R.raw.received); > coinsent=MediaPlayer.create(MainContext, R.raw.sent); > kit = new WalletAppKit(netParams, new > File(String.valueOf(context.getFilesDir()+ File.separator + > walletFolder)) , "walletappkit-example"); > > kit.setDownloadListener(listener); > kit.setBlockingStartup(false); > kit.startAsync(); > > saveWalletAddress(); > Any ideas on how can i solve this? Thanks in advance. > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to bitcoinj+unsubscr...@googlegroups.com > <mailto:bitcoinj+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to bitcoinj+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.