-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add monerod fallback strategy (#6764)
Description --- - Added a monerod fallback strategy whereby static monerod responses can be loaded if monerod goes offline. Options are always use monerod, use static monerod responses when monerod goes offline, or always use static monerod responses. With this implementation, it is possible to merge mine offline from monerod. - Reduced the general connection monerod timeout from 5s to 2s; this improves overall monerod responsiveness in event of a monerod connection error. - Fixed a bug whereby the same monerod entry would be retried over and over in the event of a monerod connection error. Closes #6756 Motivation and Context --- This could improve merge mining with Tari Universe. How Has This Been Tested? --- System-level testing Added unit tests What process can a PR reviewer use to test or verify this change? --- Code review System-level testing <!-- Checklist --> <!-- 1. Is the title of your PR in the form that would make nice release notes? The title, excluding the conventional commit tag, will be included exactly as is in the CHANGELOG, so please think about it carefully. --> Breaking Changes --- - [x] None - [ ] Requires data directory on base node to be deleted - [ ] Requires hard fork - [ ] Other - Please specify <!-- Does this include a breaking change? If so, include this line as a footer --> <!-- BREAKING CHANGE: Description what the user should do, e.g. delete a database, resync the chain --> --------- Co-authored-by: SW van Heerden <swvheerden@gmail.com>
- Loading branch information
1 parent
af2a803
commit f5365ca
Showing
15 changed files
with
1,815 additions
and
608 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.