Recreating Bitcoin 2:First Version is Online!

Bitcoin v0.0.1 #

A week later, Satoshi completed the development of Bitcoin’s first version. Based on the plan before, he went to the closest computer store to buy a low-spec server and carried it to the cafe. He connected it online and installed the Linux OS. After he deployed the Bitcoin system, it was launched.

Then he purchased the domain name: www.bitcoin.org on GoDaddy and connected it to the IP address of Bitcoin’s server. Now Bitcoin could be accessed through the domain.

There came the obscure unveiling of Bitcoin to the world.

“Boss, Bitcoin is now up for use!” said Satoshi to Bob.

“Hah, great! Now, who wants to be the first in history to use Bitcoin?” asked Bob to the people in the cafe.

Alice answered back, “I will do it! It was inspired by me after all! I’ll get a latte with it. Lad, how do I go about using this?”

“You can open the website: www.bitcoin.org on your browser,” said Satoshi.
Alice used his phone to open the website and saw this (graph below):

图片 1.png

Login Page

Alice said, “Wow. It’s working! So what are my username and password?

Satoshi said, “I forgot to register for you. I’ll do that right now!”

Satoshi made it to the host background and used vi tool (a tool on Linux to edit files) to add a line of information in user.txt:

Alice, Bitcoin123, 0

“Alright! Your username is Alice, password is Bitcoin123. Keep them to yourself,” said Satoshi to Alice quietly.

图片 1.png

Account balance page

“My balance is 0. Do I need to use dollars to exchange some Bitcoin?” Alice asked.

“Yeah. Give me some dollars and I’ll transfer some Bitcoins to your account.”

Alice gave Satoshi 100 dollars. Then Satoshi logged in his account and transferred 100 Bitcoin to Alice’s account.

“If you want to exchange back to dollars, come to me and I’ll get your dollars back with your Bitcoin,” explained Satoshi.

Satoshi became the first one-person Bitcoin exchange.

The total currency supply was equal to the default balance of 21,000,000 Bitcoin in Satoshi’s own account.

But of course, it was only a temporary solution. There was no fundamental difference with the Federal Reserve: if Satoshi wanted to increase the supply, he only needed to secretly modify the balance.

This issue would be solved one step at a time. Let’s finish Alice’s first transaction.

“Can I send money to Bob now?” Alice asked.

“Yes. Just refresh the page and click ‘Transfer’.”

Alice refreshed the page and on the screen was 100 Bitcoin (graph below).

图片 1.png

Alice’s Balance Page

Now Alice proceeded to the transaction page. The screen looked like this:

图片 1.png

Transaction Page

Alice changed the transaction amount and clicked “Confirm”. Transaction was complete.

“That’s it? It’s so simple! Boss check if you’ve got it,” said Alice to Bob.
Bob took his phone out and logged in the website using the username and password. 30 Bitcoin appeared in his account.

“This is so fast! Now I don’t need to look for change for my customers!” Bob complimented, “Alice, come and taste my new cake: BITCAKE. Now everyone here in the store that pays with Bitcoin from now on gets a free BITCAKE!”

图片 1.png

Bob’s balance page

“Let me try this!” people in the cafe rushed to Satoshi to exchange for Bitcoin.

Satoshi registered an account for each of the customers and added to their balance.

“Manually setting this up is not a solution. I must upgrade it in the next version. How I do solve the registration issue? If I don’t do away with the password verification process, it’d be no fundamentally different from the banking system. If the system operator wants to attack a user, they only need to delete the user’s account or change the balance to 0. That’s too easy, poor little creature” Satoshi sat there and started to think about the solution.

These issues would be solved later.

But right now, the first Bitcoin system was up and running in Bob’s cafe. That was worth celebrating.

Next chapter :Recreating Bitcoin 3:Getting Rid of the Account Model

CONTENTS #

Recreating Bitcoin:A Fictional Story of Why Bitcoin was Designed This Way

Part one : Transactions
Recreating Bitcoin 1:Start over with a Simple Web Transaction System
Recreating Bitcoin 2:First Version is Online!
Recreating Bitcoin 3:Getting Rid of the Account Model
Recreating Bitcoin 4:Digital Signature
Recreating Bitcoin 5:Public Key and Private Key
Recreating Bitcoin 6:Version 0.0.2 is Online!
Recreating Bitcoin 7:UTXO
Recreating Bitcoin 8:System Refactoring Based on UTXO
Recreating Bitcoin 9:Everything is Transaction
Recreating Bitcoin 10:Transaction Script

Part Two : Swarm System
Recreating Bitcoin 11:Swarm System (Part I)
Recreating Bitcoin 12:Swarm System (Part II)
Recreating Bitcoin 13:P2P Network
Recreating Bitcoin 14:Synchronizing Transactions
Recreating Bitcoin 15:Synchronizing Ledger
Recreating Bitcoin 16:Block chain
Recreating Bitcoin 17:Network Flexibility
Recreating Bitcoin 18:Proof of Work (Part I)
Recreating Bitcoin 19:Proof of Work (Part II)
Recreating Bitcoin 20:The Reorganization and Division of
Forking

Complete book selling at Amazon( > US > UK > CA > JP > DE > FR > ES > IT) #

amazon.png

BSV Donate:
1Djc4TdVBi8urzmSXKHwg8cpEAYKcRQxgY

©2019 - Recreating.org all rights reserved

 
0
Kudos
 
0
Kudos

Now read this

重新创造比特币11:群系统(上)

作者:何岩,由 recreating.org发行。 0.前言 # 本系列的上半部分,主要围绕着交易TX的演进。 从这篇开始,进入下半部分,核心为点对点网络架构。 Bitcoin系统将朝着生命体的方向演进。 1.寻找演进方向 # 中途镇,咖啡馆。 中本聪和Gilfoyle按照之前的设计,实现了交易脚本机制,Bitcoin就好似生命演化出了细胞。 接下来,中本聪开始思考,如何用细胞拼装出复杂的生命体,甚至是拥有自我意识的超级智能体。 中本聪:“... Continue →