Blockchain, voting and weighted votes