Constant-deposit multiparty lotteries on bitcoin