Finex consists of two daemons
Install Finex with the following command
./bin/opex app install finex
Go to MySQL and create an event of account balances recalculation.
CREATE EVENT compact_and_recalculate
ON SCHEDULE
EVERY 1 SECOND
COMMENT 'Compact and recalculate every second'
DO
CALL compactor();
Orders created by peatio in period of inactivity, will be stored in DB with pending
state.
To safely restart Finex, follow these steps:
At this stage all events will be purged from RabbitMQ, exchanged and loaded from the database. This may take a while!