Blockchain for the energy market