<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>y_nakajo</author_name>
  <author_url>https://blog.hatena.ne.jp/y_nakajo/</author_url>
  <blog_title>アルゴリズムとかオーダーとか</blog_title>
  <blog_url>https://y-nakajo.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>ethereumのデータを分析する場合、大量のBlockHeaderやTransaction、Receiptを取得する必要がある。これらの膨大なデータをHTTPを介してJSON-RPCで取得しようとするとかなりの時間を要することとなる。 そのため、今回は大量データ処理をするために直接go-ethereumのLevelDBから値を読みだす方法を調べたのでその内容をまとめる。 試した環境 go-ethereumのLevelDBをopenする 最新のblock headerを読みだす block headerをまとめて読みだす block headerのパース ancient DBについて</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy-nakajo.hatenablog.com%2Fentry%2F2021%2F09%2F01%2F005639&quot; title=&quot;go-ethereumのLevelDBを直接読む - アルゴリズムとかオーダーとか&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-09-01 00:56:39</published>
  <title>go-ethereumのLevelDBを直接読む</title>
  <type>rich</type>
  <url>https://y-nakajo.hatenablog.com/entry/2021/09/01/005639</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
