# Proposal: Automated Randomness Oracle for XCP Lotteries

**URL:** <https://forums.counterparty.io/t/proposal-automated-randomness-oracle-for-xcp-lotteries/2802>\
**Category:** Counterparty\
**Created:** [April 3, 2017, 8:23am UTC](https://forums.counterparty.io/t/proposal-automated-randomness-oracle-for-xcp-lotteries/2802 "2017-04-03T08:23:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![JPJA](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/jpja/32/1324_2.png) [@JPJA](https://forums.counterparty.io/u/JPJA)\
**Post date:** [April 6, 2017, 6:16pm UTC](https://forums.counterparty.io/t/proposal-automated-randomness-oracle-for-xcp-lotteries/2802/6 "2017-04-06T18:16:00Z")

</div>

Miner manipulation should not be a concern in my opinion.  
I wrote a separate post about it.

> [@Blockhash for Randomness vs Block Withholding Attack](https://forums.counterparty.io/t/blockhash-for-randomness-vs-block-withholding-attack/2814):
>
> The Block Withholding Attack should NOT be a concern. Here’s why. The Attack A miner who finds a valid block can choose not to broadcast it. Say Alice is a miner and the block she just generated settles a dice roll. She wins if the coin lands on heads (H) but her newly discovered block landed on tails (T). She can broadcast this block, but then she’ll lose the coin flip. To have a chance of still winning the coin flip, she therefore better NOT broadcast the block. The Probabilities A fair co…

---

_[View the full topic](https://forums.counterparty.io/t/proposal-automated-randomness-oracle-for-xcp-lotteries/2802)._
