Crowdsourcing atop blockchains