DLTcollab / tangle-accelerator

Accelerate IOTA transactions by caching API requests and redirecting to faster alternatives
MIT License
23 stars 16 forks source link

feat(Endpoint): Establish legato IPC to communicate two service #778

Closed splasky closed 3 years ago

splasky commented 3 years ago

This commit eastablish the legato IPC to communicate between endpoinService and OBDService.

Only need to update the OBDMonitor.{EP_TARGET}.update. The OBDMonitor will pack the endpoinService and OBDService together.

To run the OBDService on the target device, the usage example will be shown as below:

app runProc OBDMonitor OBDService --exe=OBDService -- -i vcan0 \
--host=node1.puyuma.org --port=6666 \
--mam-seed=GP00Z6NVER5MKKP6IOV8K3IEXA7FSHMGS14U28AKLQATQGRNEJBTEN4ANRZRA6B81EZ2PFLAZ14ONMX91 \
--private-key=LWVIUVAVDMAAGUOQADJITBGFTUURVGDV
splasky commented 3 years ago

Block by #775 and #759