<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged spv</title>
<link>https://www.multichain.com/qa/tag/spv</link>
<description>Powered by Question2Answer</description>
<item>
<title>Missing exactly one transaction after &quot;merkleblock&quot;-message</title>
<link>https://www.multichain.com/qa/19804/missing-exactly-one-transaction-after-merkleblock-message</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I've come across an &quot;issue&quot; where after a &quot;merkleblock&quot;-message Multichain leaves out exactly one of transactions in the following &quot;tx&quot;-messages. I'm not sure whether this is intended behavior and I just misunderstood the Bitcoin documentation or an actual problem.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Here's the setup:&lt;/span&gt;&lt;br&gt;I'm using Multichain as a single full node in combination with a browser based Bitcoin SPV node (bcoin).&lt;br&gt;When the SPV node creates and announces a new unconfirmed transaction Multichain receives, validates and adds it to the next block as expected. Multichain proceeds to announce the new block (&quot;inv&quot;-message) and the SPV node requests it (&quot;getdata&quot;-message) as should be. In response, Multichain sends a &quot;merkleblock&quot;-message to the SPV&amp;nbsp;node as well as separate &quot;tx&quot;-messages for all but one transaction of the newly created block.&lt;/p&gt;&lt;p&gt;From the Bitcoin documentation [1]:&lt;br&gt;&lt;em&gt;The merkleblock message is a reply to a getdata message which requested a block using the inventory type MSG_MERKLEBLOCK. It is only part of the reply: if &lt;span style=&quot;text-decoration: underline;&quot;&gt;any &lt;/span&gt;matching transactions are found, they will be sent separately as tx messages.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;And from [2]:&lt;br&gt;&lt;em&gt;After a merkleblock, transactions matching the bloom filter are automatically sent in tx messages.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;Since I &lt;em&gt;didn't &lt;/em&gt;set a bloom filter I expected one &quot;tx&quot;-message for every transaction that is included in the block. However, Multichain leaves out &lt;span style=&quot;text-decoration: underline;&quot;&gt;exactly one&lt;/span&gt; of those transactions.&lt;br&gt;I've noticed that the missing transaction is &lt;span style=&quot;text-decoration: underline;&quot;&gt;always &lt;/span&gt;the one the SPV node announced earlier. My best guess here is that Multichain assumes the SPV node won't need that transaction a second time since it announced it in the first place? Is this intended behavior by Multichain or am I missing something here?&lt;/p&gt;&lt;p&gt;Thanks in advance and best regards&lt;/p&gt;&lt;p&gt;[1] &lt;a rel=&quot;nofollow&quot; href=&quot;https://bitcoin.org/en/developer-reference#merkleblock&quot;&gt;https://bitcoin.org/en/developer-reference#merkleblock&lt;/a&gt;&lt;br&gt;[2] &lt;a rel=&quot;nofollow&quot; href=&quot;https://en.bitcoin.it/wiki/Protocol_documentation#filterload.2C_filteradd.2C_filterclear.2C_merkleblock&quot;&gt;https://en.bitcoin.it/wiki/Protocol_documentation#filterload.2C_filteradd.2C_filterclear.2C_merkleblock&lt;/a&gt;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/19804/missing-exactly-one-transaction-after-merkleblock-message</guid>
<pubDate>Mon, 04 May 2020 17:30:01 +0000</pubDate>
</item>
<item>
<title>Connect Android SPV Bitcoin Wallet with permissioned Multichain blockchain</title>
<link>https://www.multichain.com/qa/6279/connect-android-bitcoin-permissioned-multichain-blockchain</link>
<description>&lt;p&gt;Hi all,&lt;/p&gt;&lt;p&gt;I need to connect an Android SPV Wallet (e.g. &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/breadwallet/breadwallet-android&quot;&gt;this one&lt;/a&gt;) with a Multichain private permissioned blockchain. The application requirements are that &lt;strong&gt;permissions &lt;/strong&gt;and &lt;strong&gt;streams &lt;/strong&gt;of the Multichain blockchain should be leveraged, while we don't need the &lt;strong&gt;assets &lt;/strong&gt;feature. I found that one should change &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.multichain.com/developers/peer-handshaking/#bitcoin&quot;&gt;these&lt;/a&gt;&amp;nbsp;blockchain parameters so as to use a permissioned Multichain blockchain with a mobile wallet instead of a Bitcoin chain.&lt;/p&gt;&lt;p&gt;Some relevant questions:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Are &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.multichain.com/developers/peer-handshaking/#bitcoin&quot;&gt;these &lt;/a&gt;the only changes to be done to make it work?&amp;nbsp;&lt;/li&gt;&lt;li&gt;Is there any step-by-step guide to achieve the connection flawlessly?&lt;/li&gt;&lt;li&gt;Would you suggest another Android SPV Wallet? e.g. can &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/MultiChain/sample-BitcoinWallet&quot;&gt;this forked library&lt;/a&gt;&amp;nbsp;work fine with Android&amp;nbsp;&lt;strong&gt;mobile &lt;/strong&gt;devices? (I plan to install and test the wallet on an android tablet, and then on an android smartphone).&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Many thanks in advance for your responses!&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Natassa&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/6279/connect-android-bitcoin-permissioned-multichain-blockchain</guid>
<pubDate>Thu, 17 Aug 2017 09:51:44 +0000</pubDate>
</item>
<item>
<title>SPV wallets support for assets created on multichain?</title>
<link>https://www.multichain.com/qa/2830/spv-wallets-support-for-assets-created-on-multichain</link>
<description>Hi Multichain Team,&lt;br /&gt;
&lt;br /&gt;
Do the 2 wallets mentioned on the developers page &lt;a href=&quot;http://www.multichain.com/developers/&quot; rel=&quot;nofollow&quot;&gt;http://www.multichain.com/developers/&lt;/a&gt; support native assets created by users on the chain?&lt;br /&gt;
&lt;br /&gt;
Also will they support permissions like a full node supports?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/2830/spv-wallets-support-for-assets-created-on-multichain</guid>
<pubDate>Mon, 03 Oct 2016 10:14:05 +0000</pubDate>
</item>
<item>
<title>SPV node</title>
<link>https://www.multichain.com/qa/2781/spv-node</link>
<description>Hi Multichain Team,&lt;br /&gt;
&lt;br /&gt;
Is it possible to create a SPV node using multichain style addressing, I mean without tweaking it to use bitcoin compatible addresssing?&lt;br /&gt;
&lt;br /&gt;
Or if I am using aplha 24 version of multichain, how do I create a SPV node?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/2781/spv-node</guid>
<pubDate>Mon, 26 Sep 2016 11:23:49 +0000</pubDate>
</item>
<item>
<title>Options for Multichain SPV client</title>
<link>https://www.multichain.com/qa/1946/options-for-multichain-spv-client</link>
<description>Hello MultiChain.&lt;br /&gt;
&lt;br /&gt;
In an scenario with a MultiChain network and thousand of potential users I was thinking in generating the users' addresses in a MultiChain node and operate with them using the RPC API from a very lightweight mobile client, but, if I understood well, in this case all the private keys of the users will be in the MultiChain node. Now, I am thinking in the development of an SPV wallet for the users and I would like to know which are the alternatives to do this. &lt;br /&gt;
&lt;br /&gt;
I have read about BitcoinJ for Multichain, that should work if the MultiChain network behaves like the Bitcoin network, but I have a doubt here: does BitcoinJ for Multichain support the custom issued assets and the permission management that Multichan includes?&lt;br /&gt;
&lt;br /&gt;
Apart from BitcoinJ, do you know about other alternatives to implement a Multichain wallet for mobile phones that avoids the storage of the private keys in a network node?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;
&lt;br /&gt;
Regards.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1946/options-for-multichain-spv-client</guid>
<pubDate>Thu, 02 Jun 2016 11:32:32 +0000</pubDate>
</item>
<item>
<title>SPV node</title>
<link>https://www.multichain.com/qa/1463/spv-node</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
Is it possible to start a SPV node in multichain like bitcoin provides?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1463/spv-node</guid>
<pubDate>Fri, 01 Apr 2016 05:51:58 +0000</pubDate>
</item>
<item>
<title>Connect several users</title>
<link>https://www.multichain.com/qa/855/connect-several-users</link>
<description>What's the most secure way of having several users in a node? &lt;br /&gt;
The node being a hot wallet for all is not a good idea.&lt;br /&gt;
Ideally, &amp;nbsp;each one has a spv wallet, but a web wallet is an option, I guess?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/855/connect-several-users</guid>
<pubDate>Sun, 07 Feb 2016 07:41:06 +0000</pubDate>
</item>
</channel>
</rss>