Open MCozhusheck opened 1 week ago
⚠️ This PR contains unsigned commits. To get your PR merged, please sign those commits (git rebase --exec 'git commit -S --amend --no-edit -n' @{upstream}
) and force push them to this branch (git push --force-with-lease
).
If you're new to commit signing, there are different ways to set it up:
gpg
ssh-agent
tested, but needs to be the other way around. It should read blocks from the explorer and see if they are in the current chain
Description
Every 30 seconds fetch block from current tip minus 1000, 2000 and 3000 from both local node and text explorer and compares these 2. If they are different for just 1 case, send event to frontend which displays warning.
Motivation and Context
Some miners are stuck at orphan chains. This will check if it's a case for them and display information.
How Has This Been Tested?
Change condition to always return true in
check_if_is_orphan_chain
innode_manager.rs
and check if alert under mining button is displayed.Also replicated orphan chain by changing in experimental settings to not use tor and manually ban tcp peers in
minotari node
to make sure you are that there are no connected peers.What process can a PR reviewer use to test or verify this change?
Same as above.
Breaking Changes