<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated></updated>
  <generator>https://nostr.ae</generator>

  <title>Nostr notes by </title>
  <author>
    <name></name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://nostr.ae/npub15q0aacpvzz8a8l7qp2uy07klrn43jcxtunef33yvxtj9yw2mjc7s2n5l43.rss" />
  <link href="https://nostr.ae/npub15q0aacpvzz8a8l7qp2uy07klrn43jcxtunef33yvxtj9yw2mjc7s2n5l43" />
  <id>https://nostr.ae/npub15q0aacpvzz8a8l7qp2uy07klrn43jcxtunef33yvxtj9yw2mjc7s2n5l43</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqsveht0a5e7rkxhh0xp800h7a6wwuh40phdjm3hle776t5u6yjuzfczyzsplhhq9sggl5llcq9ts3l6muwwkxtqe0j09xxy3sewg53etwtr6kf2zu3</id>
    
      <title type="html">📅 Original date posted:2021-09-09 📝 Original message:Hello ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsveht0a5e7rkxhh0xp800h7a6wwuh40phdjm3hle776t5u6yjuzfczyzsplhhq9sggl5llcq9ts3l6muwwkxtqe0j09xxy3sewg53etwtr6kf2zu3" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsvzwrnclvzu75xpwhcnjpzddd6s2x5aaapc4j59l9tecxzwfpyrtcm4krvu&#39;&gt;nevent1q…krvu&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-09-09&lt;br/&gt;📝 Original message:Hello all,&lt;br/&gt;&lt;br/&gt;I recently went down the bitcoin protocol rabbit hole. I wanted to use&lt;br/&gt;GNU guile scheme to experiment with bitcoin. I initially started by&lt;br/&gt;creating a toy bitcoin miner but I&amp;#39;ve run into some inconsistencies with&lt;br/&gt;the documentation found on&lt;br/&gt;&lt;a href=&#34;https://en.bitcoin.it/wiki/Getblocktemplate&#34;&gt;https://en.bitcoin.it/wiki/Getblocktemplate&lt;/a&gt;. Namely with creating the&lt;br/&gt;templates merkle root.&lt;br/&gt;&lt;br/&gt;&amp;gt;From my understanding a coinbase transaction should have the&lt;br/&gt;transactions data concatenated before creating the merkle root. But&lt;br/&gt;getblocktemplate does not have a json cointbasetxn field. So I&amp;#39;m not&lt;br/&gt;sure how to create a coinbase transaction without that.&lt;br/&gt;&lt;br/&gt;I have a test template response data found here.&lt;br/&gt;&lt;a href=&#34;https://raw.githubusercontent.com/mrosset/prospect/master/test-suite/data.json&#34;&gt;https://raw.githubusercontent.com/mrosset/prospect/master/test-suite/data.json&lt;/a&gt;&lt;br/&gt;and using a modified version of the merkle python reference script found&lt;br/&gt;on the wiki page. see&lt;br/&gt;&lt;a href=&#34;https://github.com/mrosset/prospect/blob/master/scripts/merkle.py&#34;&gt;https://github.com/mrosset/prospect/blob/master/scripts/merkle.py&lt;/a&gt; . I&amp;#39;m&lt;br/&gt;able to create a merkle root with the hash&lt;br/&gt;c5fff939f628a04428c080ed5bd7cd9bc0b4722b2522743049adb18213adf28a but&lt;br/&gt;that&amp;#39;s minus the coinbase transaction.&lt;br/&gt;&lt;br/&gt;So far I&amp;#39;m able to replicate this hash using the test data in guile. But&lt;br/&gt;I&amp;#39;d like to sanitize this so that I&amp;#39;m using a coinbase transaction and&lt;br/&gt;making sure the python and guile merkle roots match.&lt;br/&gt;&lt;br/&gt;In short how do I get the coinbase transaction without the coinbasetxn&lt;br/&gt;field existing?&lt;br/&gt;&lt;br/&gt;Mike
    </content>
    <updated>2023-06-07T22:59:08Z</updated>
  </entry>

</feed>