Regarding constructing the blockchain by directly using the source code library.

+3 votes
Currently, our embedded device uses JSON RPC to send API requests to the multichain-cli service. The issue arises when the number of requests becomes too large, causing the multichain-cli process to be repeatedly invoked, which leads to the creation of multiple processes. To address this, we're considering directly integrating the source code into our own project and modifying it to initiate the entire MultiChain service by calling the library directly. We're wondering if this approach is feasible. We would appreciate any advice you could provide. Thank you.
asked Aug 24 by jham

1 Answer

0 votes
 
Best answer

I would recommend integrating with the JSON-RPC API provided by multichaind, rather than invoking multichain-cli to call that API. This way there won't be a new process for each API request.

answered Aug 24 by MultiChain
selected Aug 25 by jham
Got it, thanks !!
...