forked from dpolozov/heo-web
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
08.06.2024 исправил работу с настройками сетей блокчейн. Теперь всё б… (
#178) * 08.06.2024 исправил работу с настройками сетей блокчейн. Теперь всё берётся из коллекции chain_configs. Из env файла берётся только названия сети. Для Tron это поле TRON_CHAIN, для Ethereum - CHAIN. В коллекции chain_configs соответствующий документ должен иметь в качестве _id название нужной сети. * 10.06.2024 решение проблемы со слишком частым обращением к API серверу Tron. * 11.06.2024 исправление ошибок и внесение исправлений. Внёс следующие исправления. При получении информации о транзакциив Tron использую setTimeout. В случае ошибки запаминания записи о донатах в базе данных сведения об этом отсылаются на емайл администратора. За это отвечает документ с _id - "Donations not preserved in the database" в коллекции global_configs.
- Loading branch information
Showing
3 changed files
with
34 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters