<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged multichaind-cold</title>
<link>https://www.multichain.com/qa/tag/multichaind-cold</link>
<description>Powered by Question2Answer</description>
<item>
<title>signing using cold node reports wrong COMPLETE attribute</title>
<link>https://www.multichain.com/qa/22750/signing-using-cold-node-reports-wrong-complete-attribute</link>
<description>&lt;p&gt;Ti MC team,&lt;/p&gt;&lt;p&gt;I'm doing a test with MC 2.0.2 as follow:&lt;/p&gt;&lt;p&gt;- Address_A makes a dvp proposal towards Address_B in one hot node.&lt;br&gt;- After creating the unsigned transaction, Address_A signs it offline using a cold node with parameter SINGLE|ANYONECANPAY&lt;br&gt;- The signing process is ok and the response from the cold-node states&amp;nbsp;&lt;br&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&quot;complete&quot;: true&lt;/span&gt;&lt;/p&gt;&lt;p&gt;- Now Address_B receives the transaction and add the requested asset, creates the raw unsigned transaction in the hot node and signs it offline in cold-node&lt;/p&gt;&lt;p&gt;- the signature is fine but the cold node states&lt;br&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;&lt;strong&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&quot;complete&quot;: false&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;The cold and hot node have the same params.dat file and the cold node is provided with full details of UTXO, that is scriptPubkey and Redeem in order to sign without any connection to the network.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;I'm sure the signature is fine because I can successfully send the signed transaction&amp;nbsp; in the network. Moreover If I sign it in the hot node I get exactly the same signature but the response states&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&quot;complete&quot;: true.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;Could you please explain me?&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;Thanks,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:arial,helvetica,sans-serif&quot;&gt;&amp;nbsp; Fabio&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;----------------------------------------------------------&lt;br&gt;Details below&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;transaction&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;signrawtransaction 01000000027b03b7f16d78a5f7b544ff077d0627272bddd90dd2813b98455c43d6b2399c8d00000000b400473044022038d684f29a1876ee9a16789d30134f52256fe406c02733cd60b96b223688537d02201f17c15df24f0626c030d03a7d645beae291e51bdca476aa12ddb190aa60d37b834c69512103a64866d5b54db792b4416b8b804a9d32abb3e1a329a5de8e2c6f75bb1954c1fe2103d02e81e2c4ab474133e6758b31f16c45a7e2c2e67cac68a8a764a195a6f4fba42102b7f08b968d2e77fd030d55ca089987e7529067c24f56a7d2ad36ff68857952c653aeffffffff67ddbc9722c393db00ae9660d6829c37e33b22ad7a0c8c901adca9d8a62f8bc00100000000ffffffff020000000000000000e0a9142b06e6bad9276986bd4362bc37e0c340e74d16f4870573706b6602754ca173706b647b6906726f775f6964695569046d657461536940646530346435386463356363633462393637316333363237666238643632366665346131353831306263316665336537323466656561373631393635666237316903646f63536940313665636162313837353739316532623665643063396136646165356131326137396439323132306531633361666264336139633835333563653434363636647d751c73706b712bddd90dd2813b98455c43d6b2399c8d0100000000000000750057a6160000000017a9142b06e6bad9276986bd4362bc37e0c340e74d16f48700000000 &quot;[{\&quot;txid\&quot;:\&quot;c08b2fa6d8a9dc1a908c0c7aad223be3379c82d66096ae00db93c32297bcdd67\&quot;,\&quot;vout\&quot;:1,\&quot;scriptPubKey\&quot;:\&quot;a9142b06e6bad9276986bd4362bc37e0c340e74d16f487\&quot;,\&quot;redeemScript\&quot;:\&quot;512102ac597f3662902130bc452378a76f39036021df9bb0172c350900586763713288210303dac8ea0daa1711bfeeb377abeb099b1f67e16926f706c1bde471d679165df42102b0e74cfeb618f6099bc4c740fda5db01ea9f2f9ad8a3458a4d3946dc5e582e8153ae\&quot;}]&quot;&amp;nbsp; &quot;[\&quot;L2joQKfmqvkKYjn3ungez5DKWyueqknaPEMYr7HwGg5GoyhKq2g9\&quot;]&quot; &quot;ALL&quot;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;Result from cold-node&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;nbsp; &amp;nbsp; &quot;hex&quot; : &quot;0100000002dfe6f00dec3bfda21b9c7093abb42186077c6866a4136cb386e68fb55168e11700000000b400473044022074a3cba43894f86ef615130341050d625f1ac8ab4d2ec426fb708c6911bec0c3022057bd4492ff4d7d5c8b81bc72417972099cf852873b0a6e2132e826e3cc27f6b0834c69512103a64866d5b54db792b4416b8b804a9d32abb3e1a329a5de8e2c6f75bb1954c1fe2103d02e81e2c4ab474133e6758b31f16c45a7e2c2e67cac68a8a764a195a6f4fba42102b7f08b968d2e77fd030d55ca089987e7529067c24f56a7d2ad36ff68857952c653aeffffffff38d783804d493e087bbc1dba05ef55fdb4e3b77e6f9cbddc859c9508df99845500000000b40047304402201511b4bb50b2161826ab4ea36234d3bf9ab778cdfebfaa5cd2d08040fc5df61c022079fa19e976005240daaf030793f6c1e0e5c68e6b7a569f084cf95baefb7f0ffb014c69512102ac597f3662902130bc452378a76f39036021df9bb0172c350900586763713288210303dac8ea0daa1711bfeeb377abeb099b1f67e16926f706c1bde471d679165df42102b0e74cfeb618f6099bc4c740fda5db01ea9f2f9ad8a3458a4d3946dc5e582e8153aeffffffff010000000000000000e0a9142b06e6bad9276986bd4362bc37e0c340e74d16f4870573706b6602754ca173706b647b6906726f775f6964695069046d657461536940646530346435386463356363633462393637316333363237666238643632366665346131353831306263316665336537323466656561373631393635666237316903646f63536940313665636162313837353739316532623665643063396136646165356131326137396439323132306531633361666264336139633835333563653434363636647d751c73706b71077c6866a4136cb386e68fb55168e11701000000000000007500000000&quot;,&lt;br&gt;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color:#FF0000&quot;&gt;&lt;strong&gt; &quot;complete&quot; : false&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;Result from hot node&lt;/span&gt;&lt;br&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;{&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;&amp;nbsp; &amp;nbsp; &quot;hex&quot; : &quot;01000000027b03b7f16d78a5f7b544ff077d0627272bddd90dd2813b98455c43d6b2399c8d00000000b400473044022038d684f29a1876ee9a16789d30134f52256fe406c02733cd60b96b223688537d02201f17c15df24f0626c030d03a7d645beae291e51bdca476aa12ddb190aa60d37b834c69512103a64866d5b54db792b4416b8b804a9d32abb3e1a329a5de8e2c6f75bb1954c1fe2103d02e81e2c4ab474133e6758b31f16c45a7e2c2e67cac68a8a764a195a6f4fba42102b7f08b968d2e77fd030d55ca089987e7529067c24f56a7d2ad36ff68857952c653aeffffffff67ddbc9722c393db00ae9660d6829c37e33b22ad7a0c8c901adca9d8a62f8bc001000000b40047304402204f049d3216deb3c40d8125ebd464140032bd056647f9d6118a0262bb144aee3c0220452bcf369918c02716e0ac537dcd79cae6bbb9b603b51352bb9cabd6b4e31fac014c69512102ac597f3662902130bc452378a76f39036021df9bb0172c350900586763713288210303dac8ea0daa1711bfeeb377abeb099b1f67e16926f706c1bde471d679165df42102b0e74cfeb618f6099bc4c740fda5db01ea9f2f9ad8a3458a4d3946dc5e582e8153aeffffffff010000000000000000e0a9142b06e6bad9276986bd4362bc37e0c340e74d16f4870573706b6602754ca173706b647b6906726f775f6964695569046d657461536940646530346435386463356363633462393637316333363237666238643632366665346131353831306263316665336537323466656561373631393635666237316903646f63536940313665636162313837353739316532623665643063396136646165356131326137396439323132306531633361666264336139633835333563653434363636647d751c73706b712bddd90dd2813b98455c43d6b2399c8d01000000000000007500000000&quot;,&lt;br&gt;&lt;span style=&quot;color:#FF0000&quot;&gt;&lt;strong&gt;&amp;nbsp; &amp;nbsp; &quot;complete&quot; : true&lt;/strong&gt;&lt;/span&gt;&lt;br&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/22750/signing-using-cold-node-reports-wrong-complete-attribute</guid>
<pubDate>Fri, 28 Aug 2020 17:51:00 +0000</pubDate>
</item>
<item>
<title>Guidance to create smart filters on cold</title>
<link>https://www.multichain.com/qa/16599/guidance-to-create-smart-filters-on-cold</link>
<description>We are properly protecting admin key, cold signing permission management. But now are needing to create filters that have to be done by admin addresses. Can you please provide steps to do that using the cold node? &lt;br /&gt;
&lt;br /&gt;
Thanks in Advance.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/16599/guidance-to-create-smart-filters-on-cold</guid>
<pubDate>Mon, 11 Nov 2019 13:55:47 +0000</pubDate>
</item>
<item>
<title>Cold walet - Keypool ran out, please call keypoolrefill first -</title>
<link>https://www.multichain.com/qa/16417/cold-walet-keypool-ran-out-please-call-keypoolrefill-first</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
Can you please let me know how to generate new addresses in the cold wallet?&lt;br /&gt;
I just can't generate a new address in cold wallet.&lt;br /&gt;
&lt;br /&gt;
--------------&lt;br /&gt;
Using the cold wallet client, if I enter getnewadress, I get this error:&lt;br /&gt;
$ Keypool ran out, please call keypoolrefill first .&lt;br /&gt;
&lt;br /&gt;
Then, trying to run keypoolrefill, or keypoolrefill=1000 or keypool=100, I get this error:&lt;br /&gt;
$ Method not available in cold version of MultiChain.&lt;br /&gt;
&lt;br /&gt;
--&amp;gt;On a fun fact, the keypool=&amp;lt;n&amp;gt; option is available in the cold wallet help menu.&lt;br /&gt;
&lt;br /&gt;
I tried run the keypool command on a unlock cold wallet with walletpassphrase abcxyz, but same result, as trying to run command on hot wallet, where the command seems to work without any flaw but dosen't help on the cold wallet getnewaddress issue.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
&lt;br /&gt;
INZ</description>
<guid isPermaLink="true">https://www.multichain.com/qa/16417/cold-walet-keypool-ran-out-please-call-keypoolrefill-first</guid>
<pubDate>Wed, 30 Oct 2019 02:22:06 +0000</pubDate>
</item>
<item>
<title>Incorrect or no genesis block found. Wrong datadir for network?</title>
<link>https://www.multichain.com/qa/11011/incorrect-or-genesis-block-found-wrong-datadir-for-network</link>
<description>I'm generating a new blockchain in a master container, then after the params.dat gets transferred to the peer container (through connecting), it is served to another container with multichain cold and my public API inside. Once the params are written to the correct directory it attempts to start multichain cold.&lt;br /&gt;
&lt;br /&gt;
Sometimes I get the error &amp;quot;Incorrect or no genesis block found. Wrong datadir for network?&amp;quot;. Sometimes it starts correctly. I don't see how it can be a race condition in writing the params, because I have verified with hashes that the params have been copied correctly before I start the daemon.&lt;br /&gt;
&lt;br /&gt;
Can you give me more information on this error? Why is multichain cold looking for a genesis block? Why is it looking for a datadir when it has no networking capabilities, so should be basically stateless right?&lt;br /&gt;
&lt;br /&gt;
I'm sorry I ask so many questions but I am working on a big multichain project, so I'm constantly running into stuff.&lt;br /&gt;
&lt;br /&gt;
This is my code so you should see that the params are written before I try to start the cold daemon (there is no concurrency or deferred functions in the GetParams method):&lt;br /&gt;
&lt;br /&gt;
if err := app.GetParams(); err != nil { panic(err) }&lt;br /&gt;
&lt;br /&gt;
cmd := exec.Command(&amp;quot;multichaind-cold&amp;quot;, CONST_CHAIN_NAME, &amp;quot;-http&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
cmd.Stdout = os.Stdout&lt;br /&gt;
&lt;br /&gt;
cmd.Stderr = os.Stderr&lt;br /&gt;
&lt;br /&gt;
fmt.Println(&amp;quot;Running multichaind-cold and waiting for it to finish...&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
err := cmd.Run()&lt;br /&gt;
&lt;br /&gt;
fmt.Printf(&amp;quot;Command finished with error: %v\n&amp;quot;, err)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<guid isPermaLink="true">https://www.multichain.com/qa/11011/incorrect-or-genesis-block-found-wrong-datadir-for-network</guid>
<pubDate>Tue, 11 Sep 2018 23:06:36 +0000</pubDate>
</item>
<item>
<title>Multichain-cold signrawtransaction (atomic exchange)</title>
<link>https://www.multichain.com/qa/10977/multichain-cold-signrawtransaction-atomic-exchange</link>
<description>I get this error, while it works on a hot node:&lt;br /&gt;
&lt;br /&gt;
{&amp;quot;result&amp;quot;:null,&amp;quot;error&amp;quot;:{&amp;quot;code&amp;quot;:-707,&amp;quot;message&amp;quot;:&amp;quot;Wrong signature; Input: 0, txid: 11449f7aafdef8dd58e83d9840e4dacd666053336ba68e1072d9cc71fe3d90de, vout: 0&amp;quot;},&amp;quot;id&amp;quot;:&amp;quot;multichain-client&amp;quot;}&lt;br /&gt;
&lt;br /&gt;
I figured its because if i'm using a different node to the one watching the address (cold daemon for example), I have to supply the gettxout info.&lt;br /&gt;
&lt;br /&gt;
Maybe you could please update the off-chain atomic exchange tutorial (or error messages), mentioning this scenario as I just wasted ages trying to debug it.&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<guid isPermaLink="true">https://www.multichain.com/qa/10977/multichain-cold-signrawtransaction-atomic-exchange</guid>
<pubDate>Sun, 09 Sep 2018 01:22:23 +0000</pubDate>
</item>
</channel>
</rss>