概念性的东西就不说太多了,直接上图,开始讲解我们的区块链到底是个什么东西
Let's not talk too much about the concept of strong. Let's go straight up and start talking about what our block chain really is.
说到哈希值,这个应该就是区块链的核心所在了,哈希值就像是防伪标签一样,我们又称为数字签名。
When it comes to Hashi, this should be at the heart of the chain of blocks. Hashi is like a fake label, and we call it a digital signature.
如下图所示一般:我在DATA(数据)里面输入“勿悔”,随后Hash(哈希值)就会出来对应着“勿悔的”哈希值,而且这个哈希值对应的勿悔是有且只有一个哈希值的。
The general figure is as follows: I enter "Do not repent" in DATA, and then Hash (Hash) comes out corresponding to the "Do not regret" Hash, and this has no regrets and has only one Hash.
哈希值:是通过SHA256算法生成的一个独有值,你会问哈希值会不会被猜中?
Hashi Value: A unique value generated through the SHA256 algorithm, would you ask if Hashi Value would be guessed?
答案是不会的,想猜对SHA256算法产生的哈希值,你需要拥有能计算整个宇宙原子数量整和的计算机。
The answer is no. To guess the Hashi value from the SHA256 algorithm, you need a computer that calculates the sum of the universe's atoms.
区块内包含的内容
What's in the block
- Block
索引,我们也俗称为区块高度,这里记录着区块的高度信息
Index, we're also commonly known as block height, where information about block height is recorded.
- Nonce
挖矿最后需要算出来的就是这几个数字,不难嘛!你试试。
That's the number that's the last number to figure out. It's not that hard. Try it.
- Data
data记录着我们的整个交易数据,也正是因为这些数据不可篡改,我们也可在创建自己的区块链的时候加上我们不愿意被修改的信息。
Data records our entire transaction data, and it is because these data cannot be tampered with that we can add information that we do not want to change when we create our own block chains.
- Hash : 哈希值
通过sha256算法对区块进行签名
Sign blocks through the sha256 algorithm
区块链,顾名思义就是由区块结合产生的一个链接呗。
The block chain, by definition, is a link created by a combination of blocks.
这里需要注意的就是区块链中加了一个(上一个区块的哈希值),这样就能完好的将我们的区块链接起来,实现一个区块链。
What needs to be noted here is that a chain of blocks is added (the Hashi value of the previous block) so that we can well link our blocks to a chain of blocks.
这里面应该还要有一个(时间戳),时间戳能提高整个区块信息的可追溯性。
There should also be a (time stamp) that enhances the traceability of information on the block as a whole.
严格的来讲这不算一个完美的区块链,但是对于小白入门来讲,已经足以让我们了解什么是区块链了!
Strictly speaking, it's not a perfect block chain, but it's enough for White to know what a block chain is!
我是,致力于普及区块链技术
I'm working on popularization of block chain technology .
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论