Adding new getCanonicalBlock(), with a different name for now. Not being used
yet. I need to rest a little because this is very complex.
Authored by: nerius 2023-11-19
Parent: [r1755]
Child: [r1757]