Hi J-Miguel,

I'm doing excatly that for quite some time now: Using bitcoinj in the 
backend of a spring boot webapplication (still in development). The a bit 
frustrating thing I noticed is that bitcoinj is not really built to handle 
the bitcoin payment logic for potentially many users. It's my impression 
that it's really made for phone wallets or small scale bitcoin 
applications. 
In my post here 
https://groups.google.com/forum/#!topic/bitcoinj/FFI0qtIl4PU you see that 
it's not really possible to sync bitcoinj once you have a big number of 
keys in your wallet (e.g. ~200k). Maybe that's possible once you run your 
own full node and connect bitcoinj to it - I'm not sure. But also bitcoinj 
can't "forget" old issued keys that you'll not expect to receive payments 
to. So every address you ever issued and showed to a user will be tracked 
for ever and cause a listener callback for every new block. So the amount 
of work your application has to handle every 10 minutes will grow over time.

And yes I use the WalletAppKit class it bundles a lot of things like saving 
the wallet to disk, connecting it to the peerGroup etc. I still operate 
outside of the wallet logic, you have access to the internal objects such 
as transactions, issued receive addresses via walletKit.wallet()

Best regards,

Tobias

Am Dienstag, 10. Januar 2017 21:59:55 UTC+1 schrieb jmiguel rodriguez:
>
>
> Hi,
>
> This is my first message here, so hello to everyone. And (many, many, 
> many) thanks to Mr. Andreas Schilbach for this amazing piece of code. 
>
> Well... I'm just starting playing int this arena so I'm a bit confused 
> with all infrastructure (not with blockchain technology but with bitcoinj 
> internals).  As far as I can see, it looks bitcoinj it's more oriented to 
> GUI (javafx, andrond) than webapps. At least, the WalletAppKit class look 
> like that to me.
>
> Should I be able to use WalletAppKit for starting in a Web (Grails, 
> Spingboot based) application?. Would it be better approach to use 
> 'low-level' classes directly than alll the threaded and hellish callback 
> GUI style?.  If this is the best way, where could I find a good (updated) 
> tutorial?
>
> Thank you all in advanced!
>
>
>  regards,  
>  jmiguel
>
>

-- 
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.

Reply via email to