<p>Generally I'm +1 for the idea. A couple quick thoughts:</p>
<ol>
<li>
<p>I doubt traders would be happy with the prospect of randomly choosing the winner in case of a tie. They'd expect to get their stakes back, and I imagine that's what other platforms do. I understand why this is technically challenging, but explaining that to traders may not have any effect on their opinion.</p>
</li>
<li>
<p>In the case of an oracle that publishes the price, it should perhaps be that the oracle publishes at <code>blockHeight</code> and then BSQ nodes evaluate the contract at <code>blockHeight+1</code> in order to avoid race conditions.</p>
</li>
</ol>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/proposals/issues/45#issuecomment-428528553">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AkpZtiK6V8eK8sQ5eWmOKR0duShz6tC1ks5ujdHVgaJpZM4XT-Hz">mute the thread</a>.<img src="https://github.com/notifications/beacon/AkpZtmnAYUcieBt3WRiiPLNJjH-_bwYNks5ujdHVgaJpZM4XT-Hz.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/bisq-network/proposals","title":"bisq-network/proposals","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/bisq-network/proposals"}},"updates":{"snippets":[{"icon":"PERSON","message":"@cbeams in #45: Generally I'm +1 for the idea. A couple quick thoughts:\r\n\r\n1. I doubt traders would be happy with the prospect of randomly choosing the winner in case of a tie. They'd expect to get their stakes back, and I imagine that's what other platforms do. I understand why this is technically challenging, but explaining that to traders may not have any effect on their opinion.\r\n\r\n2. In the case of an oracle that publishes the price, it should perhaps be that the oracle publishes at `blockHeight` and then BSQ nodes evaluate the contract at `blockHeight+1` in order to avoid race conditions."}],"action":{"name":"View Issue","url":"https://github.com/bisq-network/proposals/issues/45#issuecomment-428528553"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/proposals/issues/45#issuecomment-428528553",
"url": "https://github.com/bisq-network/proposals/issues/45#issuecomment-428528553",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [bisq-network/proposals] Decentralized binary option trading (#45)",
"sections": [
{
"text": "",
"activityTitle": "**Chris Beams**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@cbeams",
"facts": [

]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"bisq-network/proposals\",\n\"issueId\": 45,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"bisq-network/proposals\",\n\"issueId\": 45\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/bisq-network/proposals/issues/45#issuecomment-428528553"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 391111155\n}"
}
],
"themeColor": "26292E"
}
]</script>