Myridon: There is a large number of definitions of "block" here: block - WordReference.com Dictionary of English
Only a few of them mention a block having specific shape.
Source: https://forum.wordreference.com/threads/anvil-a-heavy-iron-block-on-which.3931328/#post-20125217
I'm not sure if "having" is a present participle or gerund.