Moved difficulty verification logic into NetworkParameters