Peter Todd [ARCHIVE] on Nostr: 📅 Original date posted:2023-02-02 🗒️ Summary of this message: The current ...
📅 Original date posted:2023-02-02
🗒️ Summary of this message: The current rules for storing data in Bitcoin include a maximum of 80 bytes and one OpReturn output per transaction, but specific details depend on the application.
📝 Original message:On Thu, Feb 02, 2023 at 12:45:42PM +0100, Aymeric Vitte wrote:
> As far as I can read nobody replied to the initial question: what is
> considered as good/best practice to store in Bitcoin?
Your answer is beyond not putting unspendable data in the UTXO set, the exact
details don't really matter. Do what makes sense for your specific application.
> Reiterating my question: what are the current rules for OP_RETURN, max
> size and number of OP_RETURN per tx
Max 80 bytes, one OpReturn output per tx.
This of course is the standardness rule. With a miner willing to mine non-std
transactions anything goes.
--
https://petertodd.org 'peter'[:-1]@petertodd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20230202/e757e764/attachment.sig>
Published at
2023-06-07 23:18:56Event JSON
{
"id": "4dc6428aed8c5f28b8e3cde79eb431f79055a7f153ce6757423e312faebe75ac",
"pubkey": "daa2fc676a25e3b5b45644540bcbd1e1168b111427cd0e3cf19c56194fb231aa",
"created_at": 1686179936,
"kind": 1,
"tags": [
[
"e",
"db7e30240de322a59459e6f6d735c7f019f73c8194514d70467812fbd7606451",
"",
"root"
],
[
"e",
"6919a8ddba5a9f860019e949e4fb2ad701cf11b96d5b7382dd8ef251edf3d531",
"",
"reply"
],
[
"p",
"a2711d6616d348a3542bb2a791a9e51fcbc7b7d1d20652e5abe16d3e179321df"
]
],
"content": "📅 Original date posted:2023-02-02\n🗒️ Summary of this message: The current rules for storing data in Bitcoin include a maximum of 80 bytes and one OpReturn output per transaction, but specific details depend on the application.\n📝 Original message:On Thu, Feb 02, 2023 at 12:45:42PM +0100, Aymeric Vitte wrote:\n\u003e As far as I can read nobody replied to the initial question: what is\n\u003e considered as good/best practice to store in Bitcoin?\n\nYour answer is beyond not putting unspendable data in the UTXO set, the exact\ndetails don't really matter. Do what makes sense for your specific application.\n\n\u003e Reiterating my question: what are the current rules for OP_RETURN, max\n\u003e size and number of OP_RETURN per tx\n\nMax 80 bytes, one OpReturn output per tx.\n\nThis of course is the standardness rule. With a miner willing to mine non-std\ntransactions anything goes.\n\n-- \nhttps://petertodd.org 'peter'[:-1]@petertodd.org\n-------------- next part --------------\nA non-text attachment was scrubbed...\nName: signature.asc\nType: application/pgp-signature\nSize: 833 bytes\nDesc: not available\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20230202/e757e764/attachment.sig\u003e",
"sig": "7a8e2e3eaf50bb85792b7a525f48105053d1de669e20e263b6341def01f2495ea27f2bc1bc06afdc7d1db18e8be10fbab6338d262dbc480a7f80609496c7900d"
}