Blockchain transaction analysis using dominant sets