Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a specific ammount of retries when failed transactions are found #332

Open
alb2001 opened this issue Aug 23, 2021 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@alb2001
Copy link

alb2001 commented Aug 23, 2021

Sometimes the bot attempts to transfer tokens and get failed transactions on each attempt.
I would suggest adding maybe two new keys for the tokens.json file such as

retries_buy
retries_sell

And add an integer to it, so the bot doesn't attempt do do more transactions if it has failed. Then log it into the log and the LimitSwap CLI screen.

Do this until LimitSwap is restarted, or maybe add a flag on the tokens.json file like this

failed

Set it to true or false automatically if the transactions have failed the threshold

@CryptoGnome CryptoGnome added the enhancement New feature or request label Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants