<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Endianness on iMil.net</title>
		<link>http://imil.net/blog/tags/endianness/</link>
		<description>Recent content in Endianness on iMil.net</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Wed, 13 May 2020 14:24:35 +0200</lastBuildDate>
		
			<atom:link href="http://imil.net/blog/tags/endianness/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Understanding Bitcoin LevelDB Format (and messing up with bytes)</title>
				<link>http://imil.net/blog/posts/2020/bitcoin-leveldb-debugging/</link>
				<pubDate>Wed, 13 May 2020 14:24:35 +0200</pubDate>
				<guid>http://imil.net/blog/posts/2020/bitcoin-leveldb-debugging/</guid>
				<description>&lt;p&gt;I&amp;rsquo;ve contributed to a small project I found useful in my digging of &lt;em&gt;Bitcoin&lt;/em&gt;&amp;rsquo;s &lt;em&gt;LevelDB&lt;/em&gt; databases structure; &lt;a href=&#34;https://github.com/yuuichi-fujioka/go-leveldbctl&#34;&gt;leveldbctl&lt;/a&gt; is a &lt;em&gt;CLI&lt;/em&gt; tool that permits to parse a &lt;em&gt;LevelDB&lt;/em&gt; database rather simply. But it was missing a critical function for my use case, hexadecimal fields handling, which are heavily used by &lt;em&gt;Bitcoin&lt;/em&gt;. Until now it was only capable of reading / writing &lt;code&gt;strings&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;It is now possible to use it to retrieve values from &lt;code&gt;Bitcoin&lt;/code&gt;&amp;rsquo;s (and probably a lot more cryptocurrencies) block &lt;code&gt;index&lt;/code&gt; keys, i.e.:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
