火星链 火星链
Ctrl+D收藏火星链
首页 > KuCoin > 正文

atc:《精通比特币》英文版批注导读·第1章

作者:

时间:1900/1/1 0:00:00

今天起,我们一起学习比特币领域经典的作品MasteringBitcoin,国内译作《精通比特币》。这本书的作者是AndreasM.Antonopoulos是国外比特币圈一位前辈,这本书被誉为比特币最好的技术参考。

《精通比特币》的第一版中文版已经在国内出版,第二版英文版于2017年7月完成,目前没有中文纸质版本。但是在网络上有网友贡献出了英文版。以下是相关链接:

书籍主页:https://github.com/bitcoinbook/bitcoinbook英文版链接:https://github.com/bitcoinbook/bitcoinbook/blob/develop/book.asciidoc中文版链接:https://bitcoinbook.info/wp-content/translations/cmn/book.pdf

我会选择英文版作为我们的学习主材料,针对这些英文材料,梳理出逻辑,并写出我的理解。由于已经有现成的中文版译本,因此我不会对英文逐句翻译;对于一些比较简单的部分,我会择机省略。但是对其中的部分英文用法,我会给出解释。我期待能达到的效果是,既能把比特币给学了,顺便把英语的表达积累。作为读者,建议你先阅读英文,尝试自己搞明白,再看我的文字;如果英文理解有困难,那就自行参考一下译本。不要只看中文,不看英文,这样你会看不懂的。

好,下面我从前言开始梳理:

0.前言

前言地址参见https://github.com/bitcoinbook/bitcoinbook/blob/develop/preface.asciidoc

由于前言有许多说明性的文字,我仅从中摘录部分论述。

WritingtheBitcoinBook

Ifirststumbleduponbitcoininmid-2011.Myimmediatereactionwasmoreorless"Pfft!Nerdmoney!"andIignoreditforanothersixmonths,failingtograspitsimportance.ThisisareactionthatIhaveseenrepeatedamongmanyofthesmartestpeopleIknow,whichgivesmesomeconsolation.ThesecondtimeIcameacrossbitcoin,inamailinglistdiscussion,IdecidedtoreadthewhitepaperwrittenbySatoshiNakamototostudytheauthoritativesourceandseewhatitwasallabout.IstillrememberthemomentIfinishedreadingthoseninepages,whenIrealizedthatbitcoinwasnotsimplyadigitalcurrency,butanetworkoftrustthatcouldalsoprovidethebasisforsomuchmorethanjustcurrencies.Therealizationthat"thisisn’tmoney,it’sadecentralizedtrustnetwork,"startedmeonafour-monthjourneytodevoureveryscrapofinformationaboutbitcoinIcouldfind.Ibecameobsessedandenthralled,spending12ormorehourseachdaygluedtoascreen,reading,writing,coding,andlearningasmuchasIcould.Iemergedfromthisstateoffugue,morethan20poundslighterfromlackofconsistentmeals,determinedtodedicatemyselftoworkingonbitcoin.

FCA数字资产主管在加入不到一年后离职:金色财经报道,英国金融行为监管局(FCA)的数字资产主管Binu Paul在加入不到一年的时间里已经离开了该机构。

Paul于去年10月加入英国金融监管机构。他之前在新西兰金融市场管理局担任金融技术专家领导。他从Victoria McLoughlin手中接过了数字资产主管的职位,后者是临时性的。

截至发稿时,FCA没有回应评论请求,也没有确认谁将取代Paul。[2023/6/26 22:01:26]

这段有几个信息点值得注意:

(1)作者在第一次接触比特币的时候,并没有太在意,忽略了六个月的时间;第二次是在邮件讨论中遇到比特币,这时才开始读中本聪的白皮书。作者想必是懊悔的,但是后面他发现其他很多聪明人,在第一次遇到比特币,也是这样的反应,却给了他一些安慰。不过作者还是幸运的,有的人每一次都说要读,但是最后仍然是不了了之,一拖十几年,甚至一辈子就过去了。看一下你的待办清单,有多少事情是你一直想做但是却没有做的呢?

(2)作者在研究完白皮书以后,意识到这不仅仅是电子货币,而是一种信任的网络,这不只是可以为货币打下基础,还可以是很多事情的基础。在意识到这个问题以后,作者沉迷学习四个月,每天研究12个小时,盯着电脑,阅读、编码、写作,之后瘦了20磅。注意这里的becameobsessedandenthralled,gluedtoascreen,emergedfromthisstateoffugue都是很好的表达,英语写作可以借鉴。

(3)这里要学习的是作者的精神。从描述上看,作者是内驱力很强的一个人。做一件事情,不是因为别人给你打了鸡血,而是你自己通过学习,发现一件事情的极端重要意义,从而自主产生动力,不惜一切代价精进。这是区分人与人成就的重要原因。我记得,李笑来老师在讲他最初接触到比特币的时候,也有类似的场景片断。其实在任何领域,要有一定的成绩,都要有这样一种“钉钉子”精神,完成自己的原始知识资本积累。

(4)在十九大报告中有这样一句话,“增强狠抓落实本领,坚持说实话、谋实事、出实招、求实效,把雷厉风行和久久为功有机结合起来,勇于攻坚克难,以钉钉子精神做实做细做好各项工作。”

Twoyearslater,aftercreatinganumberofsmallstartupstoexplorevariousbitcoin-relatedservicesandproducts,Idecidedthatitwastimetowritemyfirstbook.Bitcoinwasthetopicthathaddrivenmeintoafrenzyofcreativityandconsumedmythoughts;itwasthemostexcitingtechnologyIhadencounteredsincetheinternet.Itwasnowtimetosharemypassionaboutthisamazingtechnologywithabroaderaudience.

这里作者声情并茂地说:“比特币让我创意勃发,让我殚精竭虑;就互联网出来以来,我遇到的最激动人心的技术”。那就让我们跟着这位瘦下来20磅的作者,开始精通比特币的旅程吧。

剩下的部分作者讲了一些书面向的读者,封面的隐喻以及阅读指南,请大家自行阅读。

https://github.com/bitcoinbook/bitcoinbook/blob/develop/preface.asciidoc

1.简介

这一部分基础内容由于在比特币白皮书的解析部分已经有所讨论,所以行文会比较简略。原文地址在

https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch01.asciidoc。

签名银行因向客户提供虚假声明而被起诉:金色财经报道,市场消息:签名银行因向客户提供虚假声明而被起诉,拟议中的集体诉讼旨在从签名银行获得赔偿。[2023/3/15 13:04:18]

WhatIsBitcoin?

Bitcoinisacollectionofconceptsandtechnologiesthatformthebasisofadigitalmoneyecosystem.Unitsofcurrencycalledbitcoinareusedtostoreandtransmitvalueamongparticipantsinthebitcoinnetwork.Bitcoinuserscommunicatewitheachotherusingthebitcoinprotocolprimarilyviatheinternet,althoughothertransportnetworkscanalsobeused.Thebitcoinprotocolstack,availableasopensourcesoftware,canberunonawiderangeofcomputingdevices,includinglaptopsandsmartphones,makingthetechnologyeasilyaccessible.

比特币是一套概念与技术,形成的电子现金生态系统。在解析比特币白皮书的文章中,我们已经对电子现金需要有的基本特点进行过分析。

Userscantransferbitcoinoverthenetworktodojustaboutanythingthatcanbedonewithconventionalcurrencies,includingbuyandsellgoods,sendmoneytopeopleororganizations,orextendcredit.Bitcoincanbepurchased,sold,andexchangedforothercurrenciesatspecializedcurrencyexchanges.Bitcoininasenseistheperfectformofmoneyfortheinternetbecauseitisfast,secure,andborderless.

比特币在某种程度上,是现金互联网的最佳形式,因为快、安全、无界。

Unliketraditionalcurrencies,bitcoinareentirelyvirtual.Therearenophysicalcoinsorevendigitalcoinsperse.Thecoinsareimpliedintransactionsthattransfervaluefromsendertorecipient.Usersofbitcoinownkeysthatallowthemtoproveownershipofbitcoininthebitcoinnetwork.Withthesekeystheycansigntransactionstounlockthevalueandspenditbytransferringittoanewowner.Keysareoftenstoredinadigitalwalletoneachuser’scomputerorsmartphone.Possessionofthekeythatcansignatransactionistheonlyprerequisitetospendingbitcoin,puttingthecontrolentirelyinthehandsofeachuser.

比特币通过密钥的方式来证明所有权。如果你掌握了密钥,你就掌握了对应的货币。

Bitcoinisadistributed,peer-to-peersystem.Assuchthereisno"central"serverorpointofcontrol.Bitcoinarecreatedthroughaprocesscalled"mining,"whichinvolvescompetingtofindsolutionstoamathematicalproblemwhileprocessingbitcointransactions.Anyparticipantinthebitcoinnetwork(i.e.,anyoneusingadevicerunningthefullbitcoinprotocolstack)mayoperateasaminer,usingtheircomputer’sprocessingpowertoverifyandrecordtransactions.Every10minutes,onaverage,abitcoinminerisabletovalidatethetransactionsofthepast10minutesandisrewardedwithbrandnewbitcoin.Essentially,bitcoinminingdecentralizesthecurrency-issuanceandclearingfunctionsofacentralbankandreplacestheneedforanycentralbank.

跨链加密支付平台SphereOne完成250万美元新一轮融资:金色财经报道,跨链加密支付平台 SphereOne 宣布完成250 万美元新一轮融资,Distributed Global 领投,Newark Venture Partners、Zero Knowledge、天使投资人 Leore Avidar 以及 Bolt.com 的 Eric Feldman 参投。SphereOne帮助用户在任何区块链上使用任何加密货币处理购买交易,帮助商家提高转化率并留住客户,该平台优先考虑交易的即时性和功能,其功能包括一键结账、加密货币兑换等。[2023/1/20 11:21:54]

比特币的挖矿机制,将中央银行的货币发行与清算工作去中心化,从而不需要任何中央银行。

Thebitcoinprotocolincludesbuilt-inalgorithmsthatregulatetheminingfunctionacrossthenetwork.Thedifficultyoftheprocessingtaskthatminersmustperformisadjusteddynamicallysothat,onaverage,someonesucceedsevery10minutesregardlessofhowmanyminers(andhowmuchprocessing)arecompetingatanymoment.Theprotocolalsohalvestherateatwhichnewbitcoinarecreatedevery4years,andlimitsthetotalnumberofbitcointhatwillbecreatedtoafixedtotaljustbelow21millioncoins.Theresultisthatthenumberofbitcoinincirculationcloselyfollowsaneasilypredictablecurvethatapproaches21millionbytheyear2140.Duetobitcoin’sdiminishingrateofissuance,overthelongterm,thebitcoincurrencyisdeflationary.Furthermore,bitcoincannotbeinflatedby"printing"newmoneyaboveandbeyondtheexpectedissuancerate.

比特币有内置的算法用于调控挖矿速度,以保证每10分钟挖到一次。比特币总数是2100万枚,预计到2140年全部挖出。比特币是通缩型货币,无法通过“印钞”的方式,增发货币。

Behindthescenes,bitcoinisalsothenameoftheprotocol,apeer-to-peernetwork,andadistributedcomputinginnovation.Thebitcoincurrencyisreallyonlythefirstapplicationofthisinvention.Bitcoinrepresentstheculminationofdecadesofresearchincryptographyanddistributedsystemsandincludesfourkeyinnovationsbroughttogetherinauniqueandpowerfulcombination.Bitcoinconsistsof:

Adecentralizedpeer-to-peernetwork(thebitcoinprotocol)

Apublictransactionledger(theblockchain)

Asetofrulesforindependenttransactionvalidationandcurrencyissuance(consensusrules)

1亿枚USDC已从Coinbase地址转移到Circle进行销毁:12月16日消息,PeckShield监测显示,1亿枚USDC已从 Coinbase 标记的地址转移到 Circle 并在 USDC Treasury销毁。[2022/12/16 21:49:25]

Amechanismforreachingglobaldecentralizedconsensusonthevalidblockchain(Proof-of-Workalgorithm)

比特币代表了过去几十年密码学研究和分布式系统的研究顶点,包括以下四个方面的创新:

(1)分布式的点对点网络

(2)一套公众账簿系统

(3)一套交易验证和发币的规则

(4)一套在区块链上达到共识的机制

Asadeveloper,Iseebitcoinasakintotheinternetofmoney,anetworkforpropagatingvalueandsecuringtheownershipofdigitalassetsviadistributedcomputation.There’salotmoretobitcointhanfirstmeetstheeye.

比特币就像金钱的互联网,可以通过分布式的计算方式,传播价值,保障电子资产所有权。

Inthischapterwe’llgetstartedbyexplainingsomeofthemainconceptsandterms,gettingthenecessarysoftware,andusingbitcoinforsimpletransactions.Infollowingchapterswe’llstartunwrappingthelayersoftechnologythatmakebitcoinpossibleandexaminetheinnerworkingsofthebitcoinnetworkandprotocol.

DigitalCurrenciesBeforeBitcoin

Theemergenceofviabledigitalmoneyiscloselylinkedtodevelopmentsincryptography.Thisisnotsurprisingwhenoneconsidersthefundamentalchallengesinvolvedwithusingbitstorepresentvaluethatcanbeexchangedforgoodsandservices.Threebasicquestionsforanyoneacceptingdigitalmoneyare:

CanItrustthatthemoneyisauthenticandnotcounterfeit?

CanItrustthatthedigitalmoneycanonlybespentonce(knownasthe“double-spend”problem)?

CanIbesurethatnooneelsecanclaimthismoneybelongstothemandnotme?

Issuersofpapermoneyareconstantlybattlingthecounterfeitingproblembyusingincreasinglysophisticatedpapersandprintingtechnology.Physicalmoneyaddressesthedouble-spendissueeasilybecausethesamepapernotecannotbeintwoplacesatonce.Ofcourse,conventionalmoneyisalsooftenstoredandtransmitteddigitally.Inthesecases,thecounterfeitinganddouble-spendissuesarehandledbyclearingallelectronictransactionsthroughcentralauthoritiesthathaveaglobalviewofthecurrencyincirculation.Fordigitalmoney,whichcannottakeadvantageofesotericinksorholographicstrips,cryptographyprovidesthebasisfortrustingthelegitimacyofauser’sclaimtovalue.Specifically,cryptographicdigitalsignaturesenableausertosignadigitalassetortransactionprovingtheownershipofthatasset.Withtheappropriatearchitecture,digitalsignaturesalsocanbeusedtoaddressthedouble-spendissue.

欧盟草案显示加密税可能带来25亿美元收入:金色财经报道,欧盟委员会将于本周晚些时候公布一份新税收指令草案。该指令将针对加密资产服务提供商,将其作为访问个人税收所需信息的最简单解决方案。该草案显示,欧盟委员会对加密货币征税的提案估计,对加密货币资产征税可能增加多达24亿欧元(25亿美元)。该提议定于本周在欧盟委员会通过,声称将填补“监管缺口”,消除加密货币投资者的逃税机会,并确保成员国避免税收缺口。

根据草案,欧盟的加密服务提供商将需要向国家税务当局报告,该草案将加密资产定义为“以去中心化方式发行的资产,以及稳定币和某些不可替代的代币”。要适用规则,加密资产必须用作支付或投资手段,“有限的网络和某些实用代币”可能例外。[2022/12/6 21:26:32]

这里讲的是传统的现金安全与电子现金安全的异同,与我们前一篇文章中谈到的信息要点类似,参见《比特币白皮书解析|从零开始区块链》。这一部分英语我就不展开介绍,但是可以分享一个学习思路:如果你对一件事情本身就很了解,或者你对这件事情的了解,是通过母语或者其他语言习得,那你用英语或者你需要学习的语言,再去读关于这个主题的讨论,你的语言学习吸收效率会很高。

Whencryptographystartedbecomingmorebroadlyavailableandunderstoodinthelate1980s,manyresearchersbegantryingtousecryptographytobuilddigitalcurrencies.Theseearlydigitalcurrencyprojectsissueddigitalmoney,usuallybackedbyanationalcurrencyorpreciousmetalsuchasgold.

Althoughtheseearlierdigitalcurrenciesworked,theywerecentralizedand,asaresult,wereeasytoattackbygovernmentsandhackers.Earlydigitalcurrenciesusedacentralclearinghousetosettlealltransactionsatregularintervals,justlikeatraditionalbankingsystem.Unfortunately,inmostcasesthesenascentdigitalcurrenciesweretargetedbyworriedgovernmentsandeventuallylitigatedoutofexistence.Somefailedinspectacularcrasheswhentheparentcompanyliquidatedabruptly.Toberobustagainstinterventionbyantagonists,whetherlegitimategovernmentsorcriminalelements,adecentralizeddigitalcurrencywasneededtoavoidasinglepointofattack.Bitcoinissuchasystem,decentralizedbydesign,andfreeofanycentralauthorityorpointofcontrolthatcanbeattackedorcorrupted.

这一部分在我以前的文章里面也提到过,中心化的问题就是单点容易受到攻击,但是比特币采用了去中心化的方式,通过数字签名来实现验证和所有权。

HistoryofBitcoin

Bitcoinwasinventedin2008withthepublicationofapapertitled"Bitcoin:APeer-to-PeerElectronicCashSystem,"writtenunderthealiasofSatoshiNakamoto(see).Nakamotocombinedseveralpriorinventionssuchasb-moneyandHashCashtocreateacompletelydecentralizedelectroniccashsystemthatdoesnotrelyonacentralauthorityforcurrencyissuanceorsettlementandvalidationoftransactions.Thekeyinnovationwastouseadistributedcomputationsystem(calleda"Proof-of-Work"algorithm)toconductaglobal"election"every10minutes,allowingthedecentralizednetworktoarriveatconsensusaboutthestateoftransactions.Thiselegantlysolvestheissueofdouble-spendwhereasinglecurrencyunitcanbespenttwice.Previously,thedouble-spendproblemwasaweaknessofdigitalcurrencyandwasaddressedbyclearingalltransactionsthroughacentralclearinghouse.

比特币白皮书我们之前已经梳理完了,我读到这里的时候,内心啊哈一笑。

Thebitcoinnetworkstartedin2009,basedonareferenceimplementationpublishedbyNakamotoandsincerevisedbymanyotherprogrammers.TheimplementationoftheProof-of-Workalgorithm(mining)thatprovidessecurityandresilienceforbitcoinhasincreasedinpowerexponentially,andnowexceedsthecombinedprocessingpoweroftheworld’stopsupercomputers.Bitcoin’stotalmarketvaluehasattimesexceeded$135billionUSdollars,dependingonthebitcoin-to-dollarexchangerate.Thelargesttransactionprocessedsofarbythenetworkwas$400millionUSdollars,transmittedinstantlyandprocessedforafeeof$1.

这里的数据是,比特币目前最大的一笔交易是4亿美金的转账,手续费1美金。不过现在有比这个更高的交易了。

SatoshiNakamotowithdrewfromthepublicinApril2011,leavingtheresponsibilityofdevelopingthecodeandnetworktoathrivinggroupofvolunteers.Theidentityofthepersonorpeoplebehindbitcoinisstillunknown.However,neitherSatoshiNakamotonoranyoneelseexertsindividualcontroloverthebitcoinsystem,whichoperatesbasedonfullytransparentmathematicalprinciples,opensourcecode,andconsensusamongparticipants.Theinventionitselfisgroundbreakingandhasalreadyspawnednewscienceinthefieldsofdistributedcomputing,economics,andeconometrics.

这里说了两个重要的信息点:

(1)比特币开发出了以后,即使中本聪也无法控制

(2)比特币这项发明是突破性的,并且带来了分布式计算、经济学以及计量经济学的新领域。

ASolutiontoaDistributedComputingProblem

SatoshiNakamoto’sinventionisalsoapracticalandnovelsolutiontoaproblemindistributedcomputing,knownasthe"ByzantineGenerals'Problem."Briefly,theproblemconsistsoftryingtoagreeonacourseofactionorthestateofasystembyexchanginginformationoveranunreliableandpotentiallycompromisednetwork.SatoshiNakamoto’ssolution,whichusestheconceptofProof-of-Worktoachieveconsensuswithoutacentraltrustedauthority,representsabreakthroughindistributedcomputingandhaswideapplicabilitybeyondcurrency.Itcanbeusedtoachieveconsensusondecentralizednetworkstoprovethefairnessofelections,lotteries,assetregistries,digitalnotarization,andmore.

比特币用了一种新的方式解决拜占庭问题,即在一个不受信任的网络环境下,不同角色如何通过交换信息,来对行动或者状态达成一致。

网络是一个充满了不信任的危险环境,虽然对小白来说不是这样的。我以安全行业的从业者为例,这个行业里很多安全工程师是在虚拟机里看邮件的,因为邮件往往是重要的攻击风险来源,而且对于安全工程师,有一种有趣的说法,两个人的最高信任就是,你发了一个邮件,有一个附件,我毫不犹豫地点开。

要在这样的不信任的环境中,构建信任,是密码学一直以来研究的课题。比特币就是在这个方向上的一次积极的尝试。

BitcoinUses,Users,andTheirStories

ChoosingaBitcoinWallet

GettingYourFirstBitcoin

接下来的小节,原书举了几个比特币的应用场景,以及如何购买第一枚比特币。该部分内容相对简单,在此就不予以详述。可以阅读英文链接

https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch01.asciidoc#bitcoin-uses-users-and-their-stories

标签:bitcoin比特币atcbitcoin币是什么币比特币中国官网联系方式40亿比特币能提现吗比特币最新价格行情走势atc币是什么币

KuCoin热门资讯
区块链:【曝光】世界第二大比特币矿机生产商嘉楠耘智是如何炼成的;中国集成电路产业突围“作战图”

中国集成电路产业突围“作战图”PCB产业东移中国,国内PCB产业谋求高端领域嘉楠耘智自爆:世界第二大比特币矿机生产商是如何炼成的清华大学在仿生石墨烯压力传感器研究取得重要进展瞄准AI商机.

1900/1/1 0:00:00
数字货币:动辄涨几十上百倍的数字币,新手该如何玩?

数字货币火了,很多群很多论坛都能看到讨论,到处都是资产翻百倍的传说。有人写文章规劝大家不要参加“炒币”.

1900/1/1 0:00:00
ENS:十个冷知识!为什么人民币不能复印?

1、世界上第一部西游记并不是果果拍摄的,而是日本,他们拍摄的时间是1978年!西游记2、宇宙中的星星到底有多少个呢?大约比全世界所有的沙子加在一起还要多!星空3、为什么人民币不能复印?人民币采用.

1900/1/1 0:00:00
CCA:发错药之后。。。

从前有一位护士,这位护士叫玛丽,在纽约一家医院已经工作了三年。这年纽约气候异常,住院病人激增,玛丽忙得脚不沾地。一天给病人发药时,她张冠李戴发错了药,幸好被及时发现,没有酿成事故.

1900/1/1 0:00:00
区块链:专访 | 去中间化而非去中心化,以太坊Vitalik解读区块链经济的本质

雷锋网AI金融评论按:本文为对以太坊创始人VitalikButerin的专访,译自tankmagizine,采访者/作者为HansUlrichObrist.

1900/1/1 0:00:00
瑞波币:瑞波币(XRP)如何选择数字钱包更安全?

币姐开场在过去的两三年里,数字货币日益流行。受欢迎的原因是价格上涨。今天,世界上最昂贵的货币是像比特币这样的数字货币。但是当有人谈论数字货币时,比特币并不是人们知道的唯一货币。还有许多其它货币.

1900/1/1 0:00:00