union mining protocol