Child chain server should be able to scale for better availability.
Currently, ChildChain has a long poll listener that watches Rootchain deposit event. However, when multiple ChildChain server is pinned up, this would lead to error/ wrong data input to db.
We might need to move that part of function outside from ChildChain.
Might just need to have a cron job handler that does the apply_deposit and issue #82
Child chain server should be able to scale for better availability.
Currently, ChildChain has a long poll listener that watches Rootchain deposit event. However, when multiple ChildChain server is pinned up, this would lead to error/ wrong data input to db.
We might need to move that part of function outside from ChildChain. Might just need to have a cron job handler that does the
apply_deposit
and issue #82