Hi,
Thanks for your reply. Indeed, the 'bitcoin-cli getchaintips' command seems to be working.
Just to make sure to get it right, if I perform a (on Linux):
bitcoin-cli getchaintips | grep height | >
and,
sort | uniq -c | head
should provide an overview of the top 10 largest stale blocks of the same height?
I think you need another sort after uniq in order to have it in order of most stale blocks for a height.