Can a blockchain be used for voting? A new perspective