Hi Andreas - About your answer below, you mentioned that bitcoinj is not
meant for centralised usage by trading platforms. Do you know any other
APIs ( in any other language) that is meant for that kind of usage ?
Sorry if this question has been asked earlier. I just joined this forum.
Thanks.
On Wednesday, 14 March 2018 09:36:41 UTC, Andreas Schildbach wrote:
>
> If you look at the logfile (or console output) you should see what
> bitcoinj is doing in this time. Most likely it is updating the block
> chain, although 2-3 minutes sounds a bit long -- it once it has synched
> the chain it should catch up very quickly. Maybe there are connection
> problems too?
>
> Be warned that bitcoinj (and the Wallet class in particular) is not
> designed for centralized usage like with trading platforms.
>
>
> On 03/11/2018 05:20 PM, theg wrote:
> > I have the following codes :
> >
> > |public static void createDashWallet(NetworkParameters params) throws
> > BlockStoreException, IOException { WalletAppKit kit = new
> > WalletAppKit(params, new File("."), "poporing"); kit.startAsync();
> > System.out.println(kit.wallet().toString()); }|
> >
> >
> > lets say I wanna create a trading platform, so when user click generate
> > address, my apps will generate a new bitcoin address and show the
> > address in no time. At my case, it will throw null pointer exception
> > instead. Unless i add |kit.awaitRunning()| it will print the wallet (I
> > can get current change address/ fresh address), but if I
> > use |.awaitRunning()|, user will need to wait for like 2-3 minutes (grow
> > as the block growth). Is there any way to prevent user from waiting ? or
> > how normally a trading platform which generating bitcoin address handle
> > this scenario ?
> >
> > --
> > 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 [email protected] <javascript:>
> > <mailto:[email protected] <javascript:>>.
> > 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 [email protected].
For more options, visit https://groups.google.com/d/optout.