<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Papercrane</id>
	<title>Bitcoin Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://en.bitcoin.it/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Papercrane"/>
	<link rel="alternate" type="text/html" href="https://en.bitcoin.it/wiki/Special:Contributions/Papercrane"/>
	<updated>2026-04-08T09:57:14Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=User:Papercrane&amp;diff=35607</id>
		<title>User:Papercrane</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=User:Papercrane&amp;diff=35607"/>
		<updated>2013-02-14T08:11:34Z</updated>

		<summary type="html">&lt;p&gt;Papercrane: Created page with &amp;quot;reversefold.com&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;reversefold.com&lt;/div&gt;</summary>
		<author><name>Papercrane</name></author>
	</entry>
	<entry>
		<id>https://en.bitcoin.it/w/index.php?title=Talk:Protocol_documentation&amp;diff=35562</id>
		<title>Talk:Protocol documentation</title>
		<link rel="alternate" type="text/html" href="https://en.bitcoin.it/w/index.php?title=Talk:Protocol_documentation&amp;diff=35562"/>
		<updated>2013-02-07T20:35:57Z</updated>

		<summary type="html">&lt;p&gt;Papercrane: /* Errors? */ Add a comment about the version message example checksum&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= What is &amp;quot;77x&amp;quot;? Header size wrong? =&lt;br /&gt;
The description for the headers command says &amp;quot;77x?&amp;quot; as the size for the block_headers[] returned.  However, the description of the block_header structure is 81 bytes (4+32+32+4+4+4+1).  What exactly is returned by the headers command? -- [[User:AndyParkins|AndyParkins]]&lt;br /&gt;
&lt;br /&gt;
= Version in getblocks? =&lt;br /&gt;
Apparently the official client sends the protocol version in getblocks messages, (possibly even in getheaders). This seems to me to be just weird --[[User:Bluecmd|Bluecmd]] 14:57, 6 June 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
= Separate page for hexdumps? =&lt;br /&gt;
&lt;br /&gt;
Does anyone else think it may be a good idea to put the hexdumps on a separate page?  It&#039;d be nice to have this page just describe the protocol, but at the same time, be able to have examples of each of the different messages and objects.  On that node, would it also be helpful if I were to do a hexdump example of all of the different commands/structures? --[[User:Andrew12|Andrew12]] 23:26, 9 June 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
:I think that a page devoted solely to hexdumps wouldn&#039;t be a bad idea, especially if there would be multiple variants per each example and some of them would be explained step-by-step. This page needs cleanup.&lt;br /&gt;
--[[User:ThePiachu|ThePiachu]] 14:06, 2 October 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
= Proposing additional protocol messages =&lt;br /&gt;
&lt;br /&gt;
According to the Bitcoin paper in order to do the simplified verification the client needs to store all headers of the entire chain but needs data only for those blocks that contain transactions of interest.&lt;br /&gt;
&lt;br /&gt;
For this I propose the following new message types:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;setfilter&#039;&#039;&#039; this message contains a list of bitcoin addresses. After receiving this message on a connection the client will stop broadcasting any inv messages for transactions which don&#039;t have a matching address in its inputs or outputs. inv for new blocks will not be filtered. &lt;br /&gt;
 &lt;br /&gt;
* &#039;&#039;&#039;getblocksfiltered&#039;&#039;&#039; this message works exactly like getblocks but it will be answered with a filtered list of only those blocks that contain transactions with unspent outputs matching the filter list.&lt;br /&gt;
&lt;br /&gt;
and the following new inventory type for getdata&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;MSG_BLOCK_PRUNED&#039;&#039;&#039; this will be answered like a MSG_BLOCK but all transactions not matching the filter list and transactions that are already spent will be stripped from the block before transmitting it to the client.&lt;br /&gt;
&lt;br /&gt;
When a client requests such filtering then all new blocks will still be advertised like normal but the client will have the opportunity to request only the absolute minimum necessary data to perform the simplified verification as outlined in the paper and new transactions will only be sent to it if they match the filter list. This should save a LOT of bandwidth.&lt;br /&gt;
[[User:Prof7bit|Prof7bit]] 21:03, 24 June 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Errors? ==&lt;br /&gt;
&lt;br /&gt;
https://en.bitcoin.it/wiki/Protocol_specification#version&lt;br /&gt;
&lt;br /&gt;
Under version message there is the field version which has the type of int32_t. Shouldn&#039;t it be uint32_t? Same with the start_height.&lt;br /&gt;
--[[User:ThePiachu|ThePiachu]] 18:04, 30 September 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
The modern example (protocol 60002) of the version message appears to have an incorrect checksum. When running the same data through a checksum I get 3B 64 8D 5A. Here&#039;s the output of the whole message in the same blocks as in the page:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
F9 BE B4 D9&lt;br /&gt;
76 65 72 73 69 6F 6E 00 00 00 00 00&lt;br /&gt;
64 00 00 00&lt;br /&gt;
3B 64 8D 5A&lt;br /&gt;
62 EA 00 00&lt;br /&gt;
01 00 00 00 00 00 00 00&lt;br /&gt;
11 B2 D0 50 00 00 00 00&lt;br /&gt;
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF 00 00 00 00 00 00&lt;br /&gt;
01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF 00 00 00 00 00 00&lt;br /&gt;
3B 2E B3 5D 8C E6 17 65&lt;br /&gt;
0F 2F 53 61 74 6F 73 68 69 3A 30 2E 37 2E 32 2F&lt;br /&gt;
C0 3E 03 00&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--[[User:Papercrane|papercrane]] 12:29, 7 February 2013 (PST)&lt;br /&gt;
&lt;br /&gt;
https://en.bitcoin.it/wiki/Protocol_specification#Network_address&lt;br /&gt;
&lt;br /&gt;
The hexdump of the network address doesn&#039;t seem to have the time field.&lt;br /&gt;
--[[User:ThePiachu|ThePiachu]] 18:04, 30 September 2011 (GMT)&lt;br /&gt;
:Are you looking at the network address in a version packet? Are you using an up-to-date Bitcoin client? --[[User:Atheros|Atheros]] 22:33, 2 October 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
https://en.bitcoin.it/wiki/Protocol_specification#getblocks&lt;br /&gt;
&lt;br /&gt;
Shouldn&#039;t the field size of block locator hashes be 32x? ?&lt;br /&gt;
--[[User:ThePiachu|ThePiachu]] 21:35, 1 October 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
https://en.bitcoin.it/wiki/Protocol_specification#getheaders&lt;br /&gt;
&lt;br /&gt;
Shouldn&#039;t the field size of hash_start be 32 ?&lt;br /&gt;
--[[User:ThePiachu|ThePiachu]] 21:35, 1 October 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
https://en.bitcoin.it/wiki/Protocol_specification#headers&lt;br /&gt;
&lt;br /&gt;
I think the Field Size of Block Headers is wrong (77x? rather than 81x?).&lt;br /&gt;
--[[User:ThePiachu|ThePiachu]] 18:45, 7 October 2011 (GMT)&lt;br /&gt;
&lt;br /&gt;
== Missing? ==&lt;br /&gt;
&lt;br /&gt;
The nonce in the version message is created when the local node is created, not when connection is established. I still have to confirm this in a real example before correcting it in the wiki.&lt;br /&gt;
[[User:Jdnavarro|Jdnavarro]] ([[User talk:Jdnavarro|talk]]) 16:15, 12 September 2012 (GMT)&lt;br /&gt;
&lt;br /&gt;
It seems that the magic bytes for the testnet in version 0.7.0 is 0x0709110B. Am I missing something?&lt;br /&gt;
[[User:Jdnavarro|Jdnavarro]] ([[User talk:Jdnavarro|talk]]) 12:28, 23 September 2012 (GMT)&lt;br /&gt;
&lt;br /&gt;
When a &#039;&#039;&#039;getdata&#039;&#039;&#039; message with multiple blocks is sent (i.e. initial block download), the remote node, after sending all the requested block messages, it sends an &#039;&#039;&#039;inv&#039;&#039;&#039; message with its top block.&lt;br /&gt;
[[User:Jdnavarro|Jdnavarro]] ([[User talk:Jdnavarro|talk]]) 16:08, 8 October 2012 (GMT)&lt;br /&gt;
&lt;br /&gt;
The maximum size for a Block or a Transaction is 1MB. The overall message size is 32MB, which I think is deliberately redundant because it shouldn&#039;t be possible to generate a message of such size with the other limits. Should this be part of the protocol?&lt;br /&gt;
[[User:Jdnavarro|Jdnavarro]] ([[User talk:Jdnavarro|talk]]) 18:20, 15 October 2012 (GMT)&lt;/div&gt;</summary>
		<author><name>Papercrane</name></author>
	</entry>
</feed>