what is a mining pig