Electrodes used for obtaining electrical discharge