<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged op_return</title>
<link>https://www.multichain.com/qa/tag/op_return</link>
<description>Powered by Question2Answer</description>
<item>
<title>OP_RETURN</title>
<link>https://www.multichain.com/qa/12647/op_return</link>
<description>&lt;p&gt;Hii guys,&lt;/p&gt;&lt;p&gt;1)I just wanted to understand block hash which is created to generate block for example:&lt;br&gt;&amp;nbsp;{&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;hash&quot; : &quot;007466f9e7ff5d34ccc78b80ef55168706072f93b02d59ff6e60062ee12f22ae&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;miner&quot; : &quot;1HHqia9So9hJgXPqnQ5W5AP1CKN3Sn17iUu3sv&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;confirmations&quot; : 82,&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;height&quot; : 10,&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;time&quot; : 1548850008,&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;txcount&quot; : 1&lt;br&gt;&amp;nbsp; &amp;nbsp; }&lt;br&gt;This is one block i have obtained from getblocks command so in that one hash is mentioned .&lt;br&gt;So my question is does that hash represent signature of blockchain?&amp;nbsp;&lt;br&gt;&lt;br&gt;2)I&amp;nbsp;have gone through block signature in multichain you mentioned below setence&lt;br&gt;&lt;a href=&quot;https://www.multichain.com/developers/mining-block-signatures/&quot; rel=&quot;nofollow&quot;&gt;https://www.multichain.com/developers/mining-block-signatures/&lt;/a&gt;&lt;br&gt;&lt;span style=&quot;color:#FF8C00&quot;&gt;&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;Block signatures are embedded inside the&amp;nbsp;&lt;/span&gt;OP_RETURN&lt;span style=&quot;font-family:helvetica neue,helvetica,arial,sans-serif; font-size:14px&quot;&gt;&amp;nbsp;metadata of the coinbase transaction, using a regular bitcoin-style signature format. The payload signed by the block creator is the full block headers&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;can you explain me OP_RETURN opcode in simple example term i was trying to understand this opcode but i did not understand that is the reason i am asking this question here.&lt;br&gt;how OP_RETURN executed in block?&lt;/p&gt;&lt;p&gt;please help me to understand&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/12647/op_return</guid>
<pubDate>Thu, 31 Jan 2019 08:03:14 +0000</pubDate>
</item>
<item>
<title>uploading and retrieval of file from MC2.0 Alpha 3</title>
<link>https://www.multichain.com/qa/10100/uploading-and-retrieval-of-file-from-mc2-0-alpha-3</link>
<description>&lt;p&gt;Hi we are using multichain 2.0 alpha 3 version, as explained three parameters&amp;nbsp;have been changed, we are able to crunch file upto&amp;nbsp;2 MB now, but while verifying/ retriving the file from streams, the values turn to be NULL, Pl help where are we wrong&lt;/p&gt;&lt;p&gt;in am not been able to find&amp;nbsp;&lt;span style=&quot;font-family:courier new,courier,monospace; font-size:14px&quot;&gt;maxshowndata&amp;nbsp;&amp;amp;&amp;nbsp;gettxoutdata&lt;/span&gt;&lt;/p&gt;&lt;p&gt;{&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;chain-protocol&quot; : &quot;multichain&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;chain-description&quot; : &quot;MultiChain chain1&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;root-stream-name&quot; : &quot;root&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;root-stream-open&quot; : true,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;chain-is-testnet&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;target-block-time&quot; : 15,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;maximum-block-size&quot; : &lt;strong&gt;20097500,&lt;/strong&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;maximum-chunk-size&quot; : 1048576,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;maximum-chunk-count&quot; : 1024,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;default-network-port&quot; : 9731,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;default-rpc-port&quot; : 9730,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-connect&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-send&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-receive&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-receive-empty&quot; : true,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-create&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-issue&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-mine&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-activate&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;anyone-can-admin&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;support-miner-precheck&quot; : true,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;allow-arbitrary-outputs&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;allow-p2sh-outputs&quot; : true,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;allow-multisig-outputs&quot; : true,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;setup-first-blocks&quot; : 60,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;mining-diversity&quot; : 0.300000000001,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;admin-consensus-upgrade&quot; : 0.500000000001,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;admin-consensus-admin&quot; : 0.500000000001,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;admin-consensus-activate&quot; : 0.500000000001,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;admin-consensus-mine&quot; : 0.500000000001,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;admin-consensus-create&quot; : 1e-12,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;admin-consensus-issue&quot; : 1e-12,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;lock-admin-mine-rounds&quot; : 10,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;mining-requires-peers&quot; : true,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;mine-empty-rounds&quot; : 10.000000000001,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;mining-turnover&quot; : 0.500000000001,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;first-block-reward&quot; : -1,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;initial-block-reward&quot; : 0,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;reward-halving-interval&quot; : 52560000,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;reward-spendable-delay&quot; : 1,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;minimum-per-output&quot; : 0,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;maximum-per-output&quot; : 100000000000000,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;minimum-offchain-fee&quot; : 0,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;minimum-relay-fee&quot; : 0,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;native-currency-multiple&quot; : 100000000,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;skip-pow-check&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;pow-minimum-bits&quot; : 8,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;target-adjust-freq&quot; : -1,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;allow-min-difficulty-blocks&quot; : false,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;only-accept-std-txs&quot; : true,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;max-std-tx-size&quot; :&lt;strong&gt; 20097500,&lt;/strong&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;max-std-op-returns-count&quot; : 32,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;max-std-op-return-size&quot; : &lt;strong&gt;20097152,&lt;/strong&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;max-std-op-drops-count&quot; : 5,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;max-std-element-size&quot; : 40000,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;chain-name&quot; : &quot;chain1&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;protocol-version&quot; : 20003,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;network-message-start&quot; : &quot;f8e4f7ed&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;address-pubkeyhash-version&quot; : &quot;00a3a284&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;address-scripthash-version&quot; : &quot;0580bcad&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;private-key-version&quot; : &quot;801d6d29&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;address-checksum-value&quot; : &quot;c8835e5c&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;genesis-pubkey&quot; : &quot;034475839d78341a573659ab10ea846b568dacd5a3de19f379fb8c8855ded0170f&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;genesis-version&quot; : 1,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;genesis-timestamp&quot; : 1530198132,&lt;br&gt;&amp;nbsp; &amp;nbsp; &quot;genesis-nbits&quot; : 536936447,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10100/uploading-and-retrieval-of-file-from-mc2-0-alpha-3</guid>
<pubDate>Thu, 28 Jun 2018 19:02:47 +0000</pubDate>
</item>
<item>
<title>First transaction in a block</title>
<link>https://www.multichain.com/qa/6515/first-transaction-in-a-block</link>
<description>What is this first transaction the block that is returned via OP_RETURN? Is this a transaction created by the mining node or is it just a creation transaction to create the block?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/6515/first-transaction-in-a-block</guid>
<pubDate>Mon, 04 Sep 2017 13:18:23 +0000</pubDate>
</item>
<item>
<title>Multichain generate transaction(coinbase transaction)</title>
<link>https://www.multichain.com/qa/4801/multichain-generate-transaction-coinbase-transaction</link>
<description>&lt;p&gt;What's in the scriptPubKey of generate transaction? I looked through the raw data of generate transaction and found an output with arbitrary data with OP_RETURN&lt;/p&gt;&lt;p&gt;0000000000000000 //bitcoin value&lt;br&gt;71&amp;nbsp;&amp;nbsp; &amp;nbsp;//scriptPubKey size 113&lt;br&gt;6a&amp;nbsp;&amp;nbsp; &amp;nbsp;//OP_RETURN&lt;br&gt;4c6e&amp;nbsp;&amp;nbsp; &amp;nbsp;//push 110 bytes&lt;br&gt;&lt;strong&gt;53504b624630440220771079e8b6a3fe0ef68b2303306d01d8326cb960c1859a056762056618dca2b502205b6020bb08f7c0b03e552fb530c4a0dbfd61ca7a6ef4e1113445c9415f377bf9022103217cf0819355518dd771228de6c9887cc1053e8fb9d2948262a7593e92390dfe&lt;/strong&gt;&lt;br&gt;00000000 //locktime&lt;/p&gt;&lt;p&gt;What does this data contain, and what is this data for?&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/4801/multichain-generate-transaction-coinbase-transaction</guid>
<pubDate>Tue, 18 Apr 2017 06:22:42 +0000</pubDate>
</item>
<item>
<title>Standard Transaction Defenitions in params file</title>
<link>https://www.multichain.com/qa/3931/standard-transaction-defenitions-in-params-file</link>
<description>&lt;p&gt;What should be the max-std-tx-size if OP_RETURN count = 10 and OP_RETURN size = 8MB?&lt;br&gt;(I have set max block size to 32 MB, should I decrease OP_RETURN count&amp;nbsp; if max block size is 32MB? )&lt;/p&gt;&lt;p&gt;following are the entries in the params file:&lt;br&gt;&lt;br&gt;# Standard transaction definitions&lt;/p&gt;&lt;p&gt;only-accept-std-txs = true&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Only accept and relay transactions which qualify as 'standard'.&lt;br&gt;max-std-tx-size = &lt;span style=&quot;color:#FF0000&quot;&gt;4194304&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Maximum size of standard transactions, in bytes. (1024 - 10000000)&lt;br&gt;&lt;span style=&quot;color:#0000CD&quot;&gt;max-std-op-returns-count = 10&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Maximum number of OP_RETURN metadata outputs in standard transactions. (0 - 1024)&lt;br&gt;&lt;span style=&quot;color:#0000CD&quot;&gt;max-std-op-return-size = 8388608&amp;nbsp;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Maximum size of OP_RETURN metadata in standard transactions, in bytes. (0 - 8388608)&lt;br&gt;max-std-op-drops-count = 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Maximum number of OP_DROPs per output in standard transactions. (0 - 100)&lt;br&gt;max-std-element-size = 600&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Maximum size of data elements in standard transactions, in bytes. (128 - 32768)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/3931/standard-transaction-defenitions-in-params-file</guid>
<pubDate>Mon, 06 Feb 2017 18:12:08 +0000</pubDate>
</item>
<item>
<title>OP_RETURN for data, prunable?</title>
<link>https://www.multichain.com/qa/3867/op_return-for-data-prunable</link>
<description>Hi, when using OP_RETURN to store arbitrary data, can the node be configured to prune that data?&lt;br /&gt;
&lt;br /&gt;
Ideally the data should not be part of the data used to generate the hash of the transaction similar to Bitcoin.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/3867/op_return-for-data-prunable</guid>
<pubDate>Thu, 02 Feb 2017 13:40:08 +0000</pubDate>
</item>
<item>
<title>How can i store file's hash in multicain</title>
<link>https://www.multichain.com/qa/2113/how-can-i-store-files-hash-in-multicain</link>
<description>I want to create a blockchain where each user can store the hash of files, and everyone can check if a certain hash exists in the blockchain.&lt;br /&gt;
In order to acheive that i did some research and found that OP_RETURN allows users to assign metadata to transcations.&lt;br /&gt;
&lt;br /&gt;
Is it correct to use this method or is there any alternatives (I'm new to the blockchain world)?&lt;br /&gt;
&lt;br /&gt;
can someone tell me the command line to use?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/2113/how-can-i-store-files-hash-in-multicain</guid>
<pubDate>Mon, 27 Jun 2016 09:41:30 +0000</pubDate>
</item>
</channel>
</rss>