Recreating Bitcoin

Read this first

重新造物 Recreating

原创作品 Original Works

  • Recreating Bitcoin , Written by Yan HE, Translated by JC,
    Tells a fictional story of Satoshi creating Bitcoin at a cafe in a small town, selling at Amazon
  • 重新创造比特币 , Written by 何岩
    讲述了中本聪在小镇咖啡馆,从零开始设计比特币的故事
  • 重新创造Lisp , Written by 何岩
    讲述了Rick & Morty,创造Lisp的故事
  • 比特币经济学 , Written by hslayj ,
    基于BitcoinSV的全新视角来重新构想世界经济格局。
    Recreating Economics based on Bitcoin : Reimagining the world economic landscape based on a new perspective of BitcoinSV.
  • 文明升级 , Written by hslayj ,
    超越亚当·斯密《国富论》,又一人类文明史的鼎力之作。
    Upgrade of civilization : A work comparable to Adam Smith’s The Wealth of Nations, a masterpiece of human civilization.

目的 Purpose

重构世界观,基于BitcoinSV的视角。
Recreating the world view, based on a new perspective of BitcoinSV.

介绍 Introduction

1-1.png

“What I cannot recreate, I do not understand.” - Yann

对于伟大的造物,重新创造就是一种膜拜。

For great creation,

...

Continue reading →


重新创造Lisp1: Rick & Morty

作者:何岩,recreating.org出品,谢绝转载。

0.前言

为了表达计算机科学的全局定位感,我将以SICP(Structure and Interpretation of Computer Programs)为内核,用故事的形式来进行重构。

故事的人物原型采用动画片:Rick & Morty

RickAndMorty.jpeg

1.Rick & Morty

Morty家的车库是Rick的工作室。

木头桌子上,一个发光的立方体,电脑连着立方体,Rick盯着电脑。

“那是什么?” Morty问。

“我做的小宇宙。” Rick说,”给太空船当电池。”

“嗯…怎么有点不正常呢?“,Rick拿出两支蓝牙耳机:”从外面看不出问题,我们得进去一趟了。把这个插在耳朵里。

”这是什么?“,Morty问。

”MI (即,意识转换器,英文全称:Mind Interpreter),用来把我们的意识连入小宇宙。”,Rick说。

两人戴好MI,按下按钮,立刻失去了意识,倒在了地上。

2.BUG来自GC(垃圾回收器)

Rick和Morty恢复意识的时候,发现已经置身于一家咖啡馆,墙上写着Recreating Cafe。

牛头人端着咖啡,走过来:“Rick,你可来了!最近发生了一些可怕的事情。”

niutouren.png

牛头人是宇宙联邦的通缉犯,为了不连累家族被灭,五年前自首,后被处死,自首之前,Rick帮牛头人把意识上传到了小宇宙之中,牛头人便在小宇宙中开起了咖啡馆。

“什么事?”Rick接过咖啡,品了一口:“ 嗯!牛头人,手艺又进步了!Morty快尝尝全宇宙最好喝的Recreating咖啡!”

Morty喝了一口,心想全世界的咖啡不都一个味吗。

牛头人没有等来Morty的赞叹,继续说:“大概一周前,一些人头顶会莫名的出现一个光环,几天之后,这些人会在同一个时刻…”牛头人打了个响指,“…就那么消失了!”

Rick瞪大了眼睛:“就像天使头上的那种光环吗?”

“对!对!就是那种!“

“Morty!快跑!这里不安全!”Rick摸着耳朵上的MI,按下了退出按钮。

Morty急忙学着做了同样的动作。

三个...

Continue reading →


Recreating Bitcoin

Recreating Bitcoin Index.png

“I’m extremely happy to see people finally trying to understand bitcoin and thinking for themselves. Bitcoin SV is my original bitcoin protocol with a lot of the code bugs fixed. I enjoyed reading the story and I was impressed to see people finally taking the time to understand.”
- Dr. Craig S Wright, aka Satoshi Nakamoto, Creator of Bitcoin, nChain Chief Scientist

CONTENTS

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...

Continue reading →


重新创造比特币

作者:何岩,由 recreating.org发行。

Recreating Bitcoin Index.png

“I’m extremely happy to see people finally trying to understand bitcoin and thinking for themselves. Bitcoin SV is my original bitcoin protocol with a lot of the code bugs fixed. I enjoyed reading the story and I was impressed to see people finally taking the time to understand.”
- Dr. Craig S Wright, aka Satoshi Nakamoto, Creator of Bitcoin, nChain Chief Scientist

目录

Part One : 交易
重新创造比特币1:从一个简单的web交易系统开始
重新创造比特币2:第一个版本上线啦
重新创造比特币3:舍弃账户模型
重新创造比特币4:数字签名
重新创造比特币5:公钥和私钥
重新创造比特币6:第二个版本上线啦
重新创造比特币7:UTXO
重新创造比特币8:基于UTXO的系统重构
重新创造比特币9:万物皆交易
重新创造比特币10:交易脚本

Part Two : 群系统
重新创造比特币11:群系统(上)
重新创造比特币12:群系统(下)
重新创造比特币13:P2P网络
重新创造比特币14:交易的同步
重新创造比特币15:账本的同步
重新创造比特币16:Block Chain
重新创造比特币17:网络的弹性
重新创造比特币18:工作量证明(上)
重新创造比特币19:工作量证明(下)
重新创造比特币20:分叉之重组与分裂

重新创造比特币:用一个虚拟的故事,讲述比特币为什么如此设计

  • 重新创造比特币是一本比特币入门书籍,由recreating.org发行。
  • 用一个虚构故事,讲述了中本聪在小镇咖啡馆,从零开始创造比特币的过程。
  • 本书获得了Craig...

Continue reading →


比特币经济学 Recreating Economics based on Bitcoin

比特币经济学.png

比特币经济学:基于BitcoinSV的全新视角来重新构想世界经济格局

Recreating Economics based on Bitcoin : Reimagining the world economic landscape based on a new perspective of BitcoinSV

内容来自:BSV成长交流群
入群请加微信:bsvwlgy
主要观点来自:hslayj
版权归属:hslayj
hslayj的新书:文明升级
©2020 - hslayj all rights reserved
BSV Donate : 19Y6exH3MntM5VJDCvfSvBhJc6eHP7oJ2f

CONTENTS (目录)

比特币经济学 : 首页
比特币经济学 1 : 开讲
比特币经济学 2 : 法律
比特币经济学 3 : CSW
比特币经济学 4 : 法币崩溃
比特币经济学 5 : 核心概念定调
比特币经济学 6 : 经济危机 HOT !!!
比特币经济学 7 : 路径 HOT !!!
比特币经济学 8 : 万链归一
比特币经济学 9 : 产业区块链
比特币经济学 10 : 去中心化
比特币经济学 11 : 代际剥削
比特币经济学 12 : 族群矛盾
比特币经济学 13 : 数据维度打通
比特币经济学 14 : 2020年12月精华
比特币经济学 15 : 破圈-2021年1月精华

Core Concept Definition (核心观点定调)

既然要公开传播,我就对几个观点进行一下定调,免得被过分解读,下文所述比特币都是BSV。
Since it is going to be publicly distributed, I will adjust a few points of view so as not to be over-understood. Bitcoins described below are all BSV.

首先,法币体系的崩溃与比特币的出现没有必然因果关系,即使比特币不出现,现代法币体系也会自然瓦解和崩溃,...

Continue reading →


Recreating Bitcoin 1:Start over with a Simple Web Transaction System

Prologue

1-1.png

For great creation, recreating is worship.

Welcome to the world of Bitcoin !!!

WHAT is the book really about?
Position, concept position, concept position of Bitcoin.

WHY position?
Because the position is clear, understanding the natural occurrence.

HOW to position?
Find the WHY of the problem, give the solution, lead to the next problem, give the solution, and so on.

Vortex model
Inner ring: Problem/solution loop
Outer ring: Conceptual systems emerge naturally

Origin

How many complex must a man understand, before he can create a simple

1999, Midway, café.

Satoshi Nakamoto appeared in the seat by the window, just like he always did.

Satoshi liked this seat, not because of the view outside, but because of the power socket.

o-CAFE-facebook.jpg

coding at cafe

Satoshi was a programmer. Recently he had been on vacation, coming here every day to write code. For him, the perfect...

Continue reading →


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...

Continue reading →


Recreating Bitcoin 3:Getting Rid of the Account Model

Prologue

Bitcoin’s first version had launched. The significance of this milestone is that it demonstrated the application of the system.

Cancelling the Account Model

Since the launch of Bitcoin v0.0.1, business of the cafe had been getting better and better. Bob obviously made a wise decision.

Satoshi, however, grew gradually more annoyed, “Too many people are coming to me to register account and exchange Bitcoin. I don’t even have time for coding. I need to think of another way. Maybe I can delegate the exchange work to Bob.”

Satoshi went to the cafe and asked Bob, “Hey Bob. A lot of people are coming to me for Bitcoin. Now I don’t have time for system upgrade. How about you handle the exchange work?”

“No problem! That works fine with me. But can I adjust the exchange rate?”

“Of course!”

Bob agreed happily. Satoshi told Bob his username and password. Bob’s cafe officially...

Continue reading →


Recreating Bitcoin 4:Digital Signature

Prologue

The previous chapter mentioned symmetrical encryption, and we discovered that we didn’t need to encrypt the whole message in the transaction. Since transaction data can be read by the public, we only need to encrypt a small part of the transaction. What should be encrypt?

Signature

Since our fundamental purpose is not to prevent others from seeing the message in the transaction data, but to use the encrypted message to prove “I am I,” then my requirement is to encrypt as little text as possible. That is, the name of the sender of the encrypted message.

Why?

The inspiration originates from the real life. John wanted to buy a tractor, but he didn’t have enough money. So he needed to borrow $10,000 from Paul. Paul wanted an IOU from John, but John didn’t want to do that. In fact, John didn’t know how to write. Instead, Paul just wrote one for him: John owes Paul $10,000. But...

Continue reading →


Recreating Bitcoin 5:Public Key and Private Key

Public Key & Private Key

So how are the public key and private key of a user generated?

This is precisely the essence of asymmetrical encryption. User’s public key is derived from private key through computation, and user’s private key is counter-intuitively generated by the user themselves.

How is a private key generated?

Private key and public key in essence are numbers. If we treat any number as a private key, we can use elliptical curve cryptography to generate the corresponding public key of this number. That is, Function elliptical curve encryption (private key) = public key.
5-1.png

elliptical curve cryptography

If we let the user to randomly generate numbers and make the range of possibilities large enough, we can prevent two users from generating the same private key - that is, conflict of private key.

But then How large is large enough?

The answer is two to the power of...

Continue reading →