互联网的精髓就是共享,可以共享技术、共享经验、共享情感、共享快乐~
很多年前就有这个想法了,从事IT行业时间也不短了,应该把自己工作和业余所学习的东西记录并分享出来,和有缘人一起学习和交流。 Many years ago, this idea came to light in the IT industry, and it was time to record and share what your work and amateurs learned. and learn and communicate with people of interest. 如果您是那个有缘人,请上岛一叙!爪哇岛随时欢迎您!
比特币(bitcoin)诞生于 2008 年的一篇论文,一个署名为中本聪的人,提出了革命性的构想:** 让我们创造一种不受政府或其他任何人控制的货币!** Why would anyone want to accept a bitcoin, born of a paper in 2008, signed by a middle-aged man, with revolutionary ideas:** Let's create a currency that is not controlled by the government or anyone else!** 下面我尝试帮助大家理解比特币,抛开技术细节,还是很容易解释的。 I'm trying to help you understand bitcoin, leaving out the technical details, it's easy to explain. 首先,理解比特币,必须理解非对称加密。你可能听说过这个词,所谓非对称加密,其实很简单,就是加密和解密需要两把钥匙:一把公钥和一把私钥。 First of all, understand bitcoin and have to understand asymmetric encryption. You may have heard the word "asymmetric encryption," which is simply that encryption and deciphering require two keys: a public key and a private key. 公钥是公开的,任何人都可以获取。私钥是保密的,只有拥有者才能使用。 The public key is public and anyone can access it. The private key is confidential and only the owner can use it. 他人使用你的公钥加密信息,然后发送给你,你用私钥解密,取出信息。反过来,你也可以用私钥加密信息,别人用你的公钥解开,从而证明这个信息确实是你发出的,且未被篡改,这叫做** 数字签名 **。 Others use your public key to encrypt information and send it to you, and you decrypt it and take it out. In turn, you can encrypt it with your private key, and others can uncrypt it with your public key, thus proving that the information is indeed from you and has not been tampered with, which is called ** digital signature **. 现在请设想,** 如果公钥加密的不是普通的信息,而是加密了一笔钱 **,发送给你,这会怎样? Now, imagine, ** If the public key is encrypted not for ordinary information, but for money **, send it to you, what happens? 首先,所有的交易数据都会传送到矿工那里。** 矿工负责把这些交易写入区块链 **。 First, all transaction data are sent to the miners. . 根据比特币协议,一个区块的大小最大是 1MB,而一笔交易大概是 500 字节左右,因此** 一个区块最多可以包含 2000多 笔交易 。 矿工负责把这 2000 多笔交易打包在一起,组成一个区块,然后计算这个区块的哈希 ** ** (计算哈希的过程叫做采矿,这需要大量的计算) **。 According to the Bitcoin agreement, a block is the largest in size of 1MB and a transaction is probably about 500 bytes, so . miners are responsible for wrapping up more than 2,000 transactions together, forming one block and then calculating the Hasi font color="red"** (the process of calculating Hashi is known as mining, which requires a lot of calculations). 矿工之间也在竞争,谁先算出哈希,谁就能第一个添加新区块进入区块链,从而享受这个区块的全部收益,而其他矿工将一无所获。一笔交易一旦写入了区块链,就无法反悔了。 The miners are also competing, and whoever calculates Hashi first will be the first to add a new block into the block chain, thereby reaping the full benefits of the block, while the rest of the miners will get nothing. Once a deal is written into the block chain, there will be no turning back. 比特币的基本知识,就介绍完了,希望你已经明白了比特币是怎么回事。 The basics of Bitcoin are finished, and I hope you've figured out what happened to Bitcoin.
一串数字,背后没有任何资产支持,也没有任何人负责,你把它当作钱付给对方,怎么会有人愿意接受?但是,狂想居然变成了现实。
2017 年,比特币迎来了爆发式的增长,从年初的1000美元,最高涨到了2万美元,全世界都为之震动。
a number with no assets behind it, and no one is responsible for it, but
2017, when Bitcoin turned into reality.
, when it saw an explosion of growth, up to $20,000 from the beginning of the year.
首先,你能解开加密包,取出里面的钱,因为私钥在你手里。 其次,别人偷不走这笔钱,因为他们没有你的私钥。因此,支付可以成功。------这就是比特币(以及其他数字货币)的原理:** 非对称加密保证了支付的可靠性 **。
根据协议公钥的长度是 512 位,这个长度不太方便传播,因此协议又规定,要为公钥生成一个 160 位的指纹。所谓指纹,就是一个比较短的、易于传播的哈希值。160 位是二进制,写成十六进制,大约是 26 到 35 个字符,比如 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2。这个字符串就叫做钱包的地址,它是唯一的,即每个钱包的地址肯定都是不一样的。
由于你是否拥有某个钱包地址,是由私钥证明的,所以一定要保护好私钥,这是极其重要的,如果你的私钥被偷了,你的比特币也就等于没了,因为他人可以冒用你的身份了,把钱包里面的钱都转走。
同样的,你向他人支付比特币,千万不能写错他人的钱包地址,否则你的比特币就支付到了另一个不同的人了。
注册有任何问题请添加 微信:MVIP619 拉你进入群
打开微信扫一扫
添加客服
进入交流群
发表评论