比特幣行情 比特幣行情
Ctrl+D 比特幣行情
ads
首頁 > 幣贏 > Info

bitcoin:《精通比特幣》英文版批注導讀·第1章

Author:

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

Binance Japan公布市場戰略,聚焦“Web3廣泛采用和穩定幣業務”:8月30日消息,Binance Japan于今日舉行了線上業務說明會,該公司代表千野剛司在會上分享了在該國市場的發展策略,包括支持的代幣、杠桿交易以及目前在Binance全球版中開展的多種使用案例。

千野剛司提及將積極推動Binance生態系統與日本私營企業和政府合作的計劃,并表示這是一項以穩定幣為核心、促進與現有金融體系融合的政策。目前,Binance Japan提供的主要服務是加密貨幣現貨交易和加密借貸產品Simple Earn。

此外,Binance Japan計劃在獲得一級金融工具業務經營者許可后推出杠桿交易。雖然千野剛司沒有說明何時會在日本市場推出Binance全球版的其他產品,但表示會計劃按照日本規定逐步將這些產品引入當地市場。[2023/8/30 13:06: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

Worldcoin代幣持有者數量激增148%:金色財經報道,數據顯示,7月25日,WLD代幣持有者數量為164,195個錢包。而截止到8月5日,該數字已增加148%達到408,721個唯一地址。最大的地址占據了主導地位,占據了驚人的57.8604%的供應量,包含103,494,839個WLD代幣,而前100位持有者總共擁有95.08%的所有權。自該代幣在Optimism上推出以來,已發生1,912,129筆WLD轉賬。

Worldcoin最大的兩個合約地址,牢牢掌握在Worldcoin項目方的控制之下,分別持有WLD供應量的57.86%和17.88%。第三大地址由幣安保管,第四大地址由Wintermute公司維護。[2023/8/7 21:28:56]

1.簡介

這一部分基礎內容由于在比特幣白皮書的解析部分已經有所討論,所以行文會比較簡略。原文地址在

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

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.

Silvergate Capital(SI)盤前股價下跌超40%:1月5日,行情數據顯示,加密友好銀行Silvergate發布四季度初步業績報告顯示客戶總存款從119億美元下降至38億美元后,其盤前股價下跌約40%降至13.37美元。據悉,Silvergate于2019年上市,并在2021年11月漲至每股222美元。[2023/1/5 10:23:50]

比特幣通過密鑰的方式來證明所有權。如果你掌握了密鑰,你就掌握了對應的貨幣。

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

比特幣的挖礦機制,將中央銀行的貨幣發行與清算工作去中心化,從而不需要任何中央銀行。

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

比特幣有內置的算法用于調控挖礦速度,以保證每10分鐘挖到一次。比特幣總數是2100萬枚,預計到2140年全部挖出。比特幣是通縮型貨幣,無法通過“印鈔”的方式,增發貨幣。

Mutant Ape Yacht Club系列NFT24小時交易額增幅突破180:金色財經報道,據NFTGo.io數據顯示,Mutant Ape Yacht Club系列NFT總市值達7.67億美元,在所有NFT項目總市值排名中位列第4;其24小時交易額為142萬美元,增幅達180.72%。截止發稿時,該系列NFT當前地板價為16.05ETH。[2022/9/26 7:20:53]

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

Adecentralizedpeer-to-peernetwork(thebitcoinprotocol)

Apublictransactionledger(theblockchain)

Asetofrulesforindependenttransactionvalidationandcurrencyissuance(consensusrules)

Amechanismforreachingglobaldecentralizedconsensusonthevalidblockchain(Proof-of-Workalgorithm)

比特幣代表了過去幾十年密碼學研究和分布式系統的研究頂點,包括以下四個方面的創新:

(1)分布式的點對點網絡

(2)一套公眾賬簿系統

(3)一套交易驗證和發幣的規則

(4)一套在區塊鏈上達到共識的機制

Asadeveloper,Iseebitcoinasakintotheinternetofmoney,anetworkforpropagatingvalueandsecuringtheownershipofdigitalassetsviadistributedcomputation.There’salotmoretobitcointhanfirstmeetstheeye.

比特幣就像金錢的互聯網,可以通過分布式的計算方式,傳播價值,保障電子資產所有權。

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

DigitalCurrenciesBeforeBitcoin

Theemergenceofviabledigitalmoneyiscloselylinkedtodevelopmentsincryptography.Thisisnotsurprisingwhenoneconsidersthefundamentalchallengesinvolvedwithusingbitstorepresentvaluethatcanbeexchangedforgoodsandservices.Threebasicquestionsforanyoneacceptingdigitalmoneyare:

K-pop 經紀公司 Fantagio 與 Crypto.com 簽署諒解備忘錄,將共同開發 NFT 項目:8月4日消息,韓國娛樂機構 Fantagio 周三宣布與數字資產平臺 Crypto.com 簽署諒解備忘錄(MOU),將共同開展 NFT項目。

在科斯達克上市的 Fantagio 管理著 ASTRO 和 Weki Meki 等 K-pop 偶像團體,以及包括車銀優和邕圣佑在內的韓國演員。[2022/8/4 3:55:23]

CanItrustthatthemoneyisauthenticandnotcounterfeit?

CanItrustthatthedigitalmoneycanonlybespentonce(knownasthe“double-spend”problem)?

CanIbesurethatnooneelsecanclaimthismoneybelongstothemandnotme?

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

這里講的是傳統的現金安全與電子現金安全的異同,與我們前一篇文章中談到的信息要點類似,參見《比特幣白皮書解析|從零開始區塊鏈》。這一部分英語我就不展開介紹,但是可以分享一個學習思路:如果你對一件事情本身就很了解,或者你對這件事情的了解,是通過母語或者其他語言習得,那你用英語或者你需要學習的語言,再去讀關于這個主題的討論,你的語言學習吸收效率會很高。

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

Tags:bitcoin比特幣atcbitcoin幣是什么幣比特幣中國官網聯系方式40億比特幣能提現嗎比特幣最新價格行情走勢atc幣是什么幣

幣贏
GDP:觀察家|二十世紀上半葉的實業家們

經濟觀察報資中筠/文 中國在超過一個半世紀艱苦探索的現代化道路上,曾經出現過一大批實業家,對民族振興、經濟發展、社會進步功不可沒,卻不大進入當代人的視野.

1900/1/1 0:00:00
加密貨幣:挖礦木馬把手機變“礦機” 蘋果封殺挖礦APP予以打擊

經濟觀察網記者馮慶艷實習記者任航蘋果近日更新的AppStore審核指南中禁止了“數字加密貨幣挖掘”的應用,包括顯示在其中的任何第三方廣告將無法運行.

1900/1/1 0:00:00
HIT:農村這種野草300元一斤成致富草,很多農民靠它發財,你有見過嗎

在農村很多農民朋友為了增加收入,都會選擇在地里種植一些花生、玉米、番薯、蔬菜等作物。現在也有很多農民看好了市場,在田野里種植一些高經濟價值的作物,今天小編就給大家介紹這樣的一種野菜,農民稱它為山.

1900/1/1 0:00:00
比特幣:玩幣手冊:競爭幣 分叉幣 合約幣 山寨帀 僵尸幣

玩幣的小伙伴們是不是經常看到這些幣的稱呼又傻傻分不清楚?今天就給大家做個解釋。玩幣的人,都繞不開比特幣.

1900/1/1 0:00:00
GPS:西安千架無人機表演失敗被爆遭遇干擾,軍用無人機也會被干擾?

5月1日,1374架無人機在西安城墻國際文化節升空表演并打破吉尼斯世界紀錄,但無人機定位出現問題,網友稱“無人機紛紛往下掉,就像是流星雨”.

1900/1/1 0:00:00
CEO:在港中資券商高管薪酬遠不及國際投行,但整體人均百萬港幣

圖片來源:圖蟲創意 香港高度繁榮的國際大都市,經濟發達,生活水準高,工資也高得嚇人,券商中國記者在香港旺角一處裝修中的臨街餐廳看到一則招聘,就連服務員月收入也要12000港元起.

1900/1/1 0:00:00
ads