Blockchain for Energy and Traffic Systems