Method for finding all the nodes to verify.