On 04/24/2017 05:04 PM, Oscar Guindzberg wrote:

> I am planning to run 2 instances of bitcoinj in the same JVM.
> What things should I check in order to avoid doing a mess?
> 
> In fact, I will have:
> - 1 normal instance of bitcoinj
> - 1 "kind of" instance with just: Context +  Blockchain + my own
> blockstore + UTXO based wallet. No network connection. No listeners.
> No need for multithreading. I am creating a reduced version of
> bitcoinj just for this, removing all the classes and methods I don't
> need. Packages will be renamed.

Are you planning to use the reduced version plus the regular version at
the same time?

Probably the biggest mess is the Contexts and the threads. You need to
make sure threads stay 100% separated.

Ultimately I think this scenario has never been tested, so you'll likely
run into unexpected problems.

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

Reply via email to