比特幣價格 比特幣價格
Ctrl+D 比特幣價格
ads
首頁 > Coinw > Info

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

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.

SilverGate收到紐交所關于10K報告不合規的告知函:金色財經報道,加密貨幣銀行SilverGate收到紐交所關于10K報告不合規的告知函。[2023/3/21 13:15:58]

這段有幾個信息點值得注意:

(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。

WhatIsBitcoin?

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

Aptos發布新錢包適配器標準,Petra Wallet、Rise Wallet等錢包已完成集成:金色財經報道,據 Aptos 在社交媒體披露,新錢包適配器標準(Wallet Adapter Standard)已正式發布,跨網絡部署、集成和交易將比以往任何時候都更容易部署,開發人員無需在 Aptos 生態系統中維護和實施不同的錢包,相關操作將由“適配器”處理,并且為錢包連接和錢包選擇器模式提供UI。截至目前,多個錢包已完成了集成,包括 Petra Wallet、Rise Wallet、MomentumSafe、Martian Wallet、Pontem Netwok、Fewcha Wallet、Trust Wallet 和 BloctoApp。[2023/2/1 11:41:07]

比特幣是一套概念與技術,形成的電子現金生態系統。在解析比特幣白皮書的文章中,我們已經對電子現金需要有的基本特點進行過分析。

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.

香港金管局總裁:對推行零售央行數字貨幣持觀望態度:金色財經報道,香港金管局總裁余偉文最新出席曼谷舉行的論壇表示,明年將會與金融機構,在零售層面測試“數字港元”的可行性,不過他坦言,香港本地已有多元化和有效率的支付系統,若無法找到很令人信服的場境,對于推行零售央行數字貨幣(rCBDC)會“有一點猶豫”。金管局目前已與中國、阿聯酋、泰國等地央行和金融機構試行多種央行數字貨幣跨境網絡(mBridge),在批發層面以數字貨幣處理企業跨境支付和結算。余偉文稱,十分看好CBDC能在批發、跨境結算層面帶來很多便利,也希望更多地區參與mBridge計劃。零售層面方面,余偉文稱,會在未來一年在零售層面探索數字港元的可行性,若果未有很成功的案例,會對零售CBDC抱觀望態度(wait and see),但仍會不斷準備相關技術和法律。[2022/12/5 21:24:12]

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

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)

NFT項目Moonbirds交易額突破6億美元:金色財經報道,據cryptoslam數據顯示,NFT項目Moonbirds交易額已突破6億美元,截至目前達到603,649,458美元,交易量為19,753筆,其中買家數量13,645個,賣家數量8,122個,當前地板價為6.8ETH。[2022/11/22 7:56:18]

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:

CanItrustthatthemoneyisauthenticandnotcounterfeit?

CanItrustthatthedigitalmoneycanonlybespentonce(knownasthe“double-spend”problem)?

CanIbesurethatnooneelsecanclaimthismoneybelongstothemandnotme?

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

瑞士奢侈手表品牌Hublot推出200款限量版豪華手表,支持加密支付:6月21日消息,瑞士奢侈手表制造商 Hublot 今日宣布將發布 200 款新的限量版手表,這些手表也可通過 BitPay 使用選定的加密貨幣在線購買。新款Big Bang Unico Essential Grey將在鐘表制造商 Hublot United States eBoutique 獨家發售,這款手表的售價約為 20,700 歐元(21,800 美元),因此以目前旗艦數字產品的市場價格計算,僅略高于一個完整的比特幣。

上月消息,Hublot曾發推展示ENS域名“Hublot.eth”。[2022/6/21 4:43:10]

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

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幣是什么幣

Coinw
比特幣:【曝光】世界第二大比特幣礦機生產商嘉楠耘智是如何煉成的;中國集成電路產業突圍“作戰圖”_人工智

中國集成電路產業突圍“作戰圖”PCB產業東移中國,國內PCB產業謀求高端領域嘉楠耘智自爆:世界第二大比特幣礦機生產商是如何煉成的清華大學在仿生石墨烯壓力傳感器研究取得重要進展瞄準AI商機.

1900/1/1 0:00:00
數字貨幣:瑞波幣年回報率36018%,比特幣被秒成渣!未來中國有望發行數字貨幣_瑞波幣2023年釋放比特幣中國官網聯系方式

2017年可以說是數字貨幣元年,瘋狂也不足以形容數字貨幣的蓬勃發展。數據顯示,全球數字貨幣資產的價值從150億美元增長到了7500億美元,超越谷歌的市值,成為這個時代最偉大的牛市之一,而2017.

1900/1/1 0:00:00
伊甸園:「萬物簡史」西醫的草藥年代_亞馬遜幣是什么幣

“偏方治大病,草藥賽名醫”,作為勞動人民千百年來根據實踐流傳下來的經驗科學的精華,草藥在中醫中占據著舉足輕重的作用,前不久屠呦呦憑借青蒿素問鼎諾獎,更是讓人們認識到草藥在新時代的新價值.

1900/1/1 0:00:00
USD:「行情」關注以太坊 觀望萊特幣_SDTUSD幣

ETH/USDT繼續維持反彈,目前突破310一線原定區間阻力,像前期拓展區間阻力328一線進發。就目前蓄勢而言,突破隨時可能發生.

1900/1/1 0:00:00
數字貨幣:未來的貨幣,第四維度貨幣:全息貨幣,量子貨幣_數字貨幣交易所官方網址

縱觀歷史的發展,整個社會體系對一個人,一個商品的價值是采用貨幣的形式來衡量的, 這件商品,值多少錢? howmuchmoney?這項服務,需要多少貨幣? 等等.

1900/1/1 0:00:00
區塊鏈:顛覆App store的區塊鏈新物種:DAPP_APP幣是什么幣DAPP價格

引語:喬布斯與Appstore在1983年,史蒂芬.喬布斯就開始談論現在已被大家熟知的App應用商店的商業模式.

1900/1/1 0:00:00
ads