Johnson Lau [ARCHIVE] on Nostr: 📅 Original date posted:2016-05-20 📝 Original message:Using the hash of multiple ...
📅 Original date posted:2016-05-20
📝 Original message:Using the hash of multiple blocks does not make it any safer. The miner of the last block always determines the results, by knowing the hashes of all previous blocks.
>
> == Security
> Pay-to-script-hash can be used to protect the details of contracts that use OP_PRANDOM from the prying eyes of miners. However, since there is also a non-zero risk that a participant in a contract may attempt to bribe a miner the inclusion of multiple block hashes as a source of randomness is a must. Every miner would effectively need to be bribed to ensure control over the results of the random numbers, which is already very unlikely. The risk approaches zero as N goes up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20160520/18fa58d6/attachment.html>
Published at
2023-06-07 17:50:54Event JSON
{
"id": "6f640306022e307f39c8ce8087b99255e8c79ff15ed95bf8e59844b36b6be4c3",
"pubkey": "492fa402e838904bdc8eb2c8fafa1aa895df26438bfd998c71b01cb9db550ff7",
"created_at": 1686160254,
"kind": 1,
"tags": [
[
"e",
"bfc4a6cf67c142fa452617fc9aee29b5337b5198d13bd22094049bf77aa4fad0",
"",
"root"
],
[
"e",
"ece69594abb584b9796515189ac1730580465b229250bd990062fcb2bb8e0715",
"",
"reply"
],
[
"p",
"52570673f982f6512ed2b22dff613c1ef5cd37bc3c69965f108c9c626173a934"
]
],
"content": "📅 Original date posted:2016-05-20\n📝 Original message:Using the hash of multiple blocks does not make it any safer. The miner of the last block always determines the results, by knowing the hashes of all previous blocks.\n\n\u003e \n\u003e == Security\n\u003e Pay-to-script-hash can be used to protect the details of contracts that use OP_PRANDOM from the prying eyes of miners. However, since there is also a non-zero risk that a participant in a contract may attempt to bribe a miner the inclusion of multiple block hashes as a source of randomness is a must. Every miner would effectively need to be bribed to ensure control over the results of the random numbers, which is already very unlikely. The risk approaches zero as N goes up.\n\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20160520/18fa58d6/attachment.html\u003e",
"sig": "00af85621309a8f8706f28ba76290cf4e61bf3b30635d60ba625b79fcd763bb53e10528d52e0fa97f814fc259dc666c1e8ab539bd043a5911a1edfb7dbb47ecd"
}