<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Bitcoin on Huabing Blog</title>
    <link>https://zhaohuabing.com/tags/bitcoin/</link>
    <description>Recent content in Bitcoin on Huabing Blog</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 03 Jun 2018 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://zhaohuabing.com/tags/bitcoin/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Bitcoin Script</title>
      <link>https://zhaohuabing.com/2018/06/03/cryptocurrency_week3_bitcoin_script/</link>
      <pubDate>Sun, 03 Jun 2018 00:00:00 +0000</pubDate>
      <guid>https://zhaohuabing.com/2018/06/03/cryptocurrency_week3_bitcoin_script/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;This series of articles are my notes of &amp;ldquo;Bitcoin and Cryptocurrency Technologies&amp;rdquo; online course.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Bitcoin Script is using to transfer coins instead of just signature and public key address, which allows more flexibilities for Bitcoin transactions.&lt;/p&gt;&#xA;&lt;h2 id=&#34;a-standard-transaction&#34;&gt;A Standard Transaction&lt;/h2&gt;&#xA;&lt;p&gt;Let&amp;rsquo;s say  Alice wants to spend some coins she received from a previous transaction, this is how the procedure looks like.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Alice receives some coins from a previous transaction.  One of the outputs of that transaction specifies the public key of Alice to indicate that the coins in that output are transferred to Alice.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;Actually, it&amp;rsquo;s the cryptographic hash of the public key in order to lower the risk that attacker might figure out the private key by the public key.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Distributed Consensus</title>
      <link>https://zhaohuabing.com/2018/05/26/cryptocurrency_week2_distributed_consenus/</link>
      <pubDate>Sun, 27 May 2018 00:00:00 +0000</pubDate>
      <guid>https://zhaohuabing.com/2018/05/26/cryptocurrency_week2_distributed_consenus/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;This series of articles are my notes of &amp;ldquo;Bitcoin and Cryptocurrency Technologies&amp;rdquo; online course.&lt;/p&gt;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Incentives and Proof of Work</title>
      <link>https://zhaohuabing.com/2018/05/26/cryptocurrency_week2_incentives_and_proof_of_work/</link>
      <pubDate>Sat, 26 May 2018 00:00:00 +0000</pubDate>
      <guid>https://zhaohuabing.com/2018/05/26/cryptocurrency_week2_incentives_and_proof_of_work/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;This series of articles are my notes of &amp;ldquo;Bitcoin and Cryptocurrency Technologies&amp;rdquo; online course.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;incentive&#34;&gt;Incentive&lt;/h2&gt;&#xA;&lt;p&gt;The mechanism to motivate nodes join the Bitcoin network and create blocks.&lt;/p&gt;&#xA;&lt;h3 id=&#34;incentive-1-block-reward&#34;&gt;Incentive 1: Block Reward&lt;/h3&gt;&#xA;&lt;p&gt;Creator of block gets to&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;include special coin-creation transaction in the block&lt;/li&gt;&#xA;&lt;li&gt;choose reciptient address of this transaction (Of course, it is the miner&amp;rsquo;s address)&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Explanation: Because the coin-creation transaction is just like other transaction in that block, it will only be valid if the created block ends up in the consensus chain, it&amp;rsquo;s the incentive which encourages the nodes to be honest, otherwise they can&amp;rsquo;t get their rewards.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Programming Assignment: Scrooge Coin</title>
      <link>https://zhaohuabing.com/2018/05/20/cryptocurrency_week1_scroogecoin/</link>
      <pubDate>Sun, 20 May 2018 00:00:00 +0000</pubDate>
      <guid>https://zhaohuabing.com/2018/05/20/cryptocurrency_week1_scroogecoin/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;This series of articles are my notes of &amp;ldquo;Bitcoin and Cryptocurrency Technologies&amp;rdquo; online course.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;p&gt;Finally, I got to the most exciting part of week 1 lectures-the programming assignment!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Digital Signature and Public Key as Identities</title>
      <link>https://zhaohuabing.com/2018/05/12/cryptocurrency_week1_digital_signature/</link>
      <pubDate>Tue, 15 May 2018 00:00:00 +0000</pubDate>
      <guid>https://zhaohuabing.com/2018/05/12/cryptocurrency_week1_digital_signature/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;This series of articles are my notes of &amp;ldquo;Bitcoin and Cryptocurrency Technologies&amp;rdquo; online course.&lt;/p&gt;&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Hash Pointers and Data Structures</title>
      <link>https://zhaohuabing.com/post/2018-05-12-cryptocurrency_week1_hash_pointer_and_data_structures/</link>
      <pubDate>Sat, 12 May 2018 00:00:00 +0000</pubDate>
      <guid>https://zhaohuabing.com/post/2018-05-12-cryptocurrency_week1_hash_pointer_and_data_structures/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;This series of articles are my notes of &amp;ldquo;Bitcoin and Cryptocurrency Technologies&amp;rdquo; online course.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;hash-pointer&#34;&gt;Hash Pointer&lt;/h2&gt;&#xA;&lt;p&gt;Hash Pointer is comprised of two parts:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Pointer to where some information is stored&lt;/li&gt;&#xA;&lt;li&gt;Cryptographic hash of that information&#xA;The pointer can be used to get the information, the hash can be used to verify that information hasn&amp;rsquo;t been changed&#xA;&#xA;  &lt;img src=&#34;https://zhaohuabing.com/img//2018-05-12-cryptocurrency_week1_hash_pointer_and_data_structures/hashpointet.png&#34; alt=&#34;hashpointer&#34;&gt;&#xA;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Cryptographic Hash Function</title>
      <link>https://zhaohuabing.com/2018/05/07/cryptocurrency_week1_cryptographic_hash_function/</link>
      <pubDate>Wed, 09 May 2018 22:00:00 +0000</pubDate>
      <guid>https://zhaohuabing.com/2018/05/07/cryptocurrency_week1_cryptographic_hash_function/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;This series of articles are my notes of &amp;ldquo;Bitcoin and Cryptocurrency Technologies&amp;rdquo; online course.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;hash-function&#34;&gt;Hash Function&lt;/h2&gt;&#xA;&lt;p&gt;Hash function is a mathematical function:&lt;em&gt;H(X)=Y&lt;/em&gt;&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;H:  A hash function which takes an input value and calculates an output value&lt;/li&gt;&#xA;&lt;li&gt;X: Input of the hash function, it could be any data of any length&lt;/li&gt;&#xA;&lt;li&gt;Y: Output of the hash function: a fix-size bit(, it can be 256, 384, 516 &amp;hellip;, Bitcoin uses 256)&lt;/li&gt;&#xA;&lt;/ul&gt;</description>
    </item>
    <item>
      <title>Introduction to crypto and cryptocurrencies</title>
      <link>https://zhaohuabing.com/2018/05/06/cryptocurrency_week1/</link>
      <pubDate>Sun, 06 May 2018 00:00:00 +0000</pubDate>
      <guid>https://zhaohuabing.com/2018/05/06/cryptocurrency_week1/</guid>
      <description>&lt;blockquote&gt;&#xA;&lt;p&gt;This series of articles are my notes of &amp;ldquo;Bitcoin and Cryptocurrency Technologies&amp;rdquo; online course.&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;h2 id=&#34;how-did-i-get-into-this&#34;&gt;How did I get into this?&lt;/h2&gt;&#xA;&lt;p&gt;I have noticed the buzzwords “Bitcoin” and “Blockchain” for a while. There are lots of articles, news, and talks around them. It seems that many people believe that cryptocurrency is the future of online payment, some even claim that blockchain would become the fundamental technology of the next generation of the Internet.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
