Recreating Bitcoin 9:Everything is Transaction

Epilogue #

This chapter will explain the reason to design transaction as a function equivalent.

And, what is the essence of a function?

Transaction Designed as a Standard Function Equivalent #

In the café, softened chatter mixed with smell of coffee.

Gilfoyle was holding his coffee, looking out of the window.

Satoshi was also holding his coffee and looking out of the window.

Both were enjoying an inner feeling of satisfaction and fulfillment.

They were satisfied with the UTXO design: both understood that they created a world-class design.

Gilfoyle turned his head and looked at Satoshi, “You’ve got ambition?”

Satoshi looked back, dumbfounded, “What do you mean?”

Gilfoyle said, “What I’m saying is, do you want to make Bitcoin wilder?”

Satoshi said, “Of course. I’m not even afraid of breaking it. Untamed in what way? I’m a liberal.”

“What’re you thinking?” Satoshi asked.

“I want to make Bitcoin into a world-class general computer.”

“Oh my god! The tempo is right. Hey up! Go on!“ Apparently, Satoshi drank too much espresso.

Gilfoyle said, “What is the essence of Bitcoin? It’s essentially a transaction system. It is a single-business service.”

“You mean Bitcoin can handle businesses other than transactions? But my original intention was to create a digital cash system!” Satoshi responded.

Gilford said, “Intention limits your vision and prevents you from seeing the potential of Bitcoin. Now Bitcoin’s architecture has the opportunity to transform into a world general computer. The transaction business happens to be a necessary condition for a world computer.”

“As for how to achieve the world class, I don’t have a solution at the moment. But I do know that the general direction is to make it more distributed.”

“As for becoming a general computer, only one thing needs to be changed.”

“What’s that?” Satoshi asked.

“We only need to make transaction into a function equivalent!” Gilfoyle answered.

Satoshi took a sip of coffee, thinking about the reasoning behind Gilfoyle’s words.

Suddenly Satoshi slammed on the table and said, “I got it! You tell me if I’m right.”

“The essence of computer is not programming language or machine language. Nor is it CPU, RAM or other hardware like disk drive. The essence of computer is abstract computation. Computation is a logical system, and the expression of logical systems is functions. So having the definition of functions is like life having defined cells. From cells we can have extremely complex beings. So equaling transactions to functions is like giving the Bitcoin system the ability to become a general computer. People can then use computation to build any kind of businesses.”

Gilfoyle said, “Exactly right! Successful instances of the logical system include Lambda calculus and mathematical systems. Comparatively, Lambda calculus is more standardized than mathematical systems for engineering, so usually the bottom layer language will be Lambda calculus. Therefore, when we design the function equivalent for transactions, we should consider Lambda calculus. Basically, we consider a transaction as a standard function instead of a free function like in mathematical systems.”

(For readers who do not have an understanding on Lambda calculus, now you only need to know why Lambda calculus is more standard than mathematical systems)

LEGO’s Basic Block #

“Why is Lambda calculus more standard than mathematical systems?” Satoshi asked.

Gilfoyle said, “Take the example of LEGO: standard functions are like LEGO blocks, free functions are like Plasticine modeling clay. Bitcoin transactions in the current stage are like anime toy models.”
1) Standard functions in Lambda calculus are like basic LEGO blocks

图片 1.png

LEGO blocks

2) Free functions in mathematical systems are like Plasticine modelling clay

图片 1.png

Modelling clay

3) Transactions in the Bitcoin system in its current stage are like anime toy models

图片 1.png

Anime toy model

Gilfoyle continued, “Although the Plasticine clay is as tall as LEGO blocks and can both make a small man, the clay is harder to a group to work with because it is too individualized and different in shapes and size to connect with other parts. But LEGO blocks are very standardized 2*4 blocks. Since we all have the same blocks, we can connect our parts together to make more complicated models, more group-oriented, engineering problems.”

图片 1.png

LEGO is better for more complicated projects

Gilfoyle added, “Currently, Bitcoin’s transactions are like the anime toys: because there is no room for customized user solutions, the service provided by Bitcoin is very simple. The only room for customization Bitcoin gives to users is hence in the general computation of transaction signature verification. We can open up a window through this computing resource and expand it, indirectly providing it to the users.” (see graph below)

图片 1.png

Users use transaction to compute

“So, we what do is making transactions into ‘LEGO blocks,’” Satoshi said.

“Exactly!” Gilfoyle affirmed.

“This is a small change, but it is a systemic leap,” Satoshi added.

“It requires looking through the cloud of noise at the essential fundamentals at the bottom layer. An analogy here is the fundamental blocks of economics are transactions; the fundamental blocks of material are atoms; the fundamental bocks of life are cells; the fundamental blocks of computation is functions. Since the fundamental blocks of Lambda calculus are standard functions, Bitcoin’s fundamental blocks are transactions of standard functions,” Gilfoyle said.

Satoshi said, “Very elegant. Transactions of standard functions can realize both general computation and market economy.”

“Yes. Bitcoin has realized transactions, which create the economic flows necessary for the cost of Bitcoin becoming a general computer,” Gilfoyle said.

“From another perspective, the transaction service is the embedded functionality of the general computer, and the functionality of the standard function of the transaction is the operating system interface provided to users to build applications.” Satoshi said.

Functions can build anything. Therefore, everything is Transaction.
Bitcoin is anything!

Satoshi and Gilfoyle now could look out the window to enjoy the inner ecstasy.

Next chapter :Recreating Bitcoin 10:Transaction Script

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

重新创造比特币4:数字签名

作者:何岩,由 recreating.org发行。 0.前言 # 前篇说到了对称加密,并且我们发现没必要将交易的消息全部加密,因为交易数据不怕见光。只需要加密一小部分即可,究竟应该加密哪部分呢? 1.签名 # 既然我们的根本目的并不是防止别人看到交易数据的明文,而只是要用密文证明“我是我”。那么我的要求就是尽量加密更少的文字,即,加密付款者的名字。 这是为什么呢? 启发往往来自于现实生活的例子: 赵四想买台拖拉机,但是钱不够,向刘能借了1万块钱,刘能要求赵四写个借条。... Continue →