The documentation about the Context class is here: https://bitcoinj.github.io/contexts
And there is also some Javadoc. Sorry, I can't answer your Spring question right now. On 04/30/2017 03:27 PM, Alexander Oleinik wrote: > Hi, I'm trying to run bitcoinj in a spring-based app within a separate > class marked as @Service <https://github.com/Service>. When I make any > Wallet's method invocation from another class (marked as @RestController > <https://github.com/RestController> in my case), I constantly get this > annoying message: > > > "Performing thread fixup: you are accessing bitcoinj via a thread that > has not had any context set on it. > This error has been corrected for, but doing this makes your app less > robust. > You should use Context.propagate() or a ContextPropagatingThreadFactory. > Please refer to the user guide for more information about this." > > > But I couldn't find any mentionings in the doc addressing this issue. I > saw a similar thread in this group but there was not the spring > multithreaded case, so I've decided to create another topic on this. > > > How should I instantiate a WalletKit in a separate @Service > <https://github.com/Service> class to make this message gone? > > > Thanks in advance. > > > Alexander. > > -- > 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] > <mailto:[email protected]>. > 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.
