How to run multichain daemon as a background process

+1 vote
Hi,

        I want to run multichaind chain1 as a background process in my java application. i have created a chain and i want to connect to that chain. whenever i start my application i have to connect with that chain from program itself as a background process.. is it possible to start and stop the multichain daemon using threads..
asked Jan 2, 2018 by anonymous

2 Answers

+1 vote
multichaind chainname -daemon    command start the chain and run as background process in linux, but not available in Windows yet.

If you are planning to stop or start the chain from a program, you will have to give sometime for the chain to come up completely and be ready for accessing the data...
answered Jan 2, 2018 by saravana
0 votes
You cannot run MultiChain as a thread within Java. It's a standalone executable that you communicate with through the JSON-RPC API.
answered Jan 2, 2018 by MultiChain
...