官方版塊——Filecoin完成大規模Spec升級

2021-01-19 金色財經區塊鏈

2020年10月14日,Filecoin官方團隊發布其進行了一個巨大的Spec升級。雲儲科技小助手團隊第一時間捕捉到相關訊息,接下來帶您了解此次有關Spec升級的熱點訊息!

搬自於:https://filecoin.io/blog/filecoin-spec-update/

在過去的幾個月裡,Filecoin在修訂規範和自定義網站方面取得了巨大的進展!大量的更新使得規格比以前精確了6倍多,完成度達到了85%,而且剩餘的細節已經在改進中。由於新的工作流程、身份徽章、搜索等等,貢獻規範和諮詢規範也得到了極大的改進。

Over the last few months, we have made massive progress revamping the Filecoin Specification and its custom website! There are a myriad of updates, which together made the spec over 6x more accurate than before, achieving an outstanding 85% completeness score with many of the remaining details already in progress. Contributing to the spec and consulting the spec has also been improved dramatically due to new workflows, status badges, search and more.

如果您最近還沒有訪問Filecoin Spec網站,請訪問https://spec.filecoin.io/,你將看到一個完全翻新的網站,裡面充滿更新的內容!

If you haven’t visited the Filecoin Spec site recently, head over to: https://spec.filecoin.io/ to see a fully refurbished website, full of updated content!

Spec網站經歷了好幾輪的「設計→實現→部署」,以整合為Filecoin開發者、實現者、研究人員和生態系統開發者創建更加出色的平臺所需的所有功能。此外,我們降低了更新規範內容所需的複雜性,應用了結構化依存管理,增加了確保整個規範一致性的特性,增加了對新工具的支持等等!

The Spec website went through several 「design → implement → deploy」 rounds, in order to integrate all the features essential to create a great platform for Filecoin developers, implementers, researchers and ecosystem developers. Additionally, we reduced the complexity required to update the spec content, applied structured dependency management, added features to ensure consistency throughout the spec, added support for new tools, and much more!

新的Filecoin規範貢獻工作流程

現在,更新spec內容變得更簡單、更令人愉快。包括在markdown文件進行「單點」編輯,後端機制負責其餘的工作,並自動更新目錄(ToC)和文檔結構!您可以在該規範的repo自述文件中找到所有需要的簡單說明。

Updating the spec content is now a much simpler and more enjoyable experience that involves 「single-touch」 edits in markdown files. The backend mechanics take care of the rest, updating the Table of Contents (ToC) and document structure automatically! You can find all the simple instructions needed in order to contribute in the spec’s repo README file.

更新後的網站最值得注意的功能分為以下幾類:

The most noteworthy features of the updated site are split into the following categories:

工具和語法:

通過npm和Go模塊無縫控制依存關係通過katex無縫進行數學支持新的markdown,帶有一些自定義規則,以確保內容降價的一致性,該內容在CI中最為測試運行。Seamless control over dependencies with npm and Go ModulesSeamless math support through katexNew markdown linter with some custom lint rules to ensure consistency in the content markdown, which runs in the CI as a test.圖表和代碼塊:

Mermaid和點處理管道(可以選擇在將來添加更多)與Hugo 伺服器很好地集成在一起,用於開發和內容編輯。可以使用符號短代碼從規範中引用,這樣即使代碼本身被修改,正確的代碼塊也會被引用,並從相應的存儲庫中提取出來。Mermaid and Dot processing pipelines (with an option to add more in the future) nicely integrated with Hugo server for development and content editing.Code can be referenced from the specification using symbol shortcodes so that the correct code block is referenced and pulled from the respective repository even if the codebase itself is modified.文檔層次結構:

從ToC中提取節編號,以便在重新組織節時自動更新ToC。不需要編輯單獨的文件來保持同步。部分深度連結集成。現在單頁呈現穩定了,並且部分結構也反映在ToC中。Section numbering is pulled from the ToC, so that the ToC is automatically updated once sections are reorganised. No need to edit separate files to keep things in sync.Section deep-linking integrated.Single page rendering is now stable and section structure is reflected in the ToC.除了這些隱藏的變化,網站外觀也進行了改版!

In addition to these background changes, the website got a facelift too!

在內容方面,我們花費了大量的精力來更新協議說明。Filecoin是一項龐大的工程。如果協議的規範被列印出來,那將是一本400頁的教科書!

On the content front, we have put a huge amount of effort in updating the description of the protocol. Filecoin is an enormous project. To put our effort into perspective, if printed, the specification of the protocol would be a ~400-page textbook!

Filecoin規範與實現無關,這意味著文本提供了使網絡運行的算法和協議交互的良好描述,而沒有涉及實現細節。該規範提供了開發人員在任何語言中實現Filecoin所需的所有細節。僅在需要時提供對Lotus實現的引用。

The Filecoin specification is implementation-agnostic, which means that the text provides a nice description of the algorithmics and protocol interactions that make the network operate, without going into implementation details. The specification provides all the required details that developers need in order to implement the Filecoin in any language. References to the Lotus implementation are provided only where needed.

測量進度

在我們3個月的Spec項目旅程中,開放了超過300個GitHub問題,超過200個PRs被合併。

In our 3-month Spec Project journey there were more than 300 GitHub issues opened and more than 200 PRs merged.

現在,規範網站84%的內容是最新的。為了跟蹤我們自己的進展,以及站點和協議的「健康」狀態,我們整合了三個出色的工具:

Today the spec site is 84% up-to-date. In order to keep track of our own progress, as well as the 「health」 state of the site and protocol, we have incorporated three great tools:

明亮的儀錶盤,顯示了規範中每個部分的「不正確」、「在成品/草案」、「可靠」和「穩定」的狀態。我們已經在spec markdown文件中集成了front matter屬性來自動將值提供給儀錶板,而且不需要任何額外的操作。還值得注意的是,儀錶板是從ToC自動生成和更新的。為了更新儀錶板,不需要編輯單獨的文件!

A bright dashboard that shows the state of each section of the spec in the range of 「Incorrect」, 「WIP/Draft」, 「Reliable」 and 「Stable」. We have integrated front matter properties in spec markdown files to feed the values automatically into the dashboard, without any extra action needed. It is also worth noting that the dashboard is generated and updated automatically from the ToC. There is no need to edit separate files in order to update the dashboard!

「審核完成」指示器,作為指示板的一列,顯示協議的特定組件是否已被審核。在提供審計報告的地方,會有一個報告(或以前報告的列表)的連結,以及審計發生的日期。

An 「audit-complete」 indicator as a separate column of the dashboard to show whether the specific component of the protocol has been audited. Where an audit report is available, there is a link to the report (or list of previous reports) together with the date when the audit took place.

穩定進度條,總結整個規範的狀態。

A stabilisation progress bar that summarises the state of the whole specification.

一個獨立的「實施狀態」儀錶盤,包含所有不同Filecoin實現的狀態信息:Lotus、Fuhon、Forest和go-filecoin。儀錶板集成了鉤子,無縫地從相應的存儲庫中提取信息,並報告CI測試的成功/失敗以及測試覆蓋率。

A separate 「Implementation Status」 dashboard with status information for all the different Filecoin implementations: Lotus, Fuhon, Forest and go-filecoin. The dashboard integrates hooks to seamlessly pull information from the corresponding repositories and reports CI test success/failure as well as test coverage.

FIP整合

經過幾輪測試和兩次令人印象深刻的太空競賽之後,該協議現在已經進行了微調,開始「發射」了!從現在開始,協議的變更將通過Filecoin改進建議(FIP)進行。對協議的建議更改必須經過一個明確指定的過程,該過程在FIP存儲庫中有詳細說明。

After several testing rounds and two impressive Space Race competitions, the protocol has now been fine-tuned and is ready for lift off! From now on, changes to the protocol will take place through Filecoin Improvement Proposals (FIPs). Suggested changes to the protocol have to go through a clearly specified process, detailed in the FIP repository.

在大多數情況下,FIP需要更新協議規範,因此我們正在進行的工作包括將Filecoin規範與FIP流程無縫集成。

In most cases, FIPs will require updates to the protocol specification and therefore one of the streams of our ongoing efforts include seamless integration of the Filecoin Spec with the FIP process.

下一步計劃

Filecoin還集成了規範版本控制,以創建規範本身的Time Machine,以便及時查看協議更新之前的規範。最後但同樣重要的是,Filecoin正在集成工具以通過API代理從遠程源中提取數據。這將實現與FIP的無縫集成,為了能夠擴展儀錶板,使其包括「一致性測試」的狀態。

We are also integrating spec versioning to create a Time Machine of the specification itself such that you can view back in time what the spec was prior to a protocol update. Last but certainly not least, we are integrating tools to pull data from remote sources through an API proxy. This will enable the seamless integration with FIPs but will also allow us to extend the dashboard to include the status of 「Conformance Tests」.

如果你是一個Filecoin開發者,研究員,礦工,或用戶,官方十分歡迎:

If you are a Filecoin developer, researcher, miner, or user, we』d love:

您對規範的貢獻您對站點和規範更新過程的反饋如何進一步改善用戶體驗的想法Your help contributing to the specYour feedback on the site and process of updating the specIdeas on how to improve the user experience even further在兩輪的太空競賽中,協議和規範已經有了重大的進展和升級,因此現在需要更加的努力,把Filecoin所有規範的儀錶板單元變為藍色!我們的目標是在接下來的幾周內擁有90%的可靠內容,在接下來的幾個月裡擁有100%的穩定內容。

There has been significant progress and upgrades to the protocol and its specification during the two rounds of Space Race, and as a result extra effort is now needed to paint all of the spec dashboard cells in Filecoin blue! We are shooting to have 90% reliable content in the next couple of weeks and 100% stable content in the next couple of months.

本文來源: 金色財經 / 作者:浙江雲儲

相關焦點

  • Filecoin獲大規模Spec升級
    網站已全面翻新,歡迎訪問:https://spec.filecoin.io/新的Filecoin規範貢獻工作流程現在,更新規範內容變得更加簡單和有趣我們在spec markdown文件中集成了前端物質屬性,以將這些值自動輸入到儀錶板中,而無需執行任何其他操作。還值得注意的是,儀錶板是從ToC自動生成和更新的。無需編輯單獨的文件即可更新儀錶板!
  • Filecoin獲大規模Spec升級
    網站已全面翻新,歡迎訪問:https ://spec.filecoin.io/我們在spec markdown文件中集成了前端物質屬性,以將這些值自動輸入到儀錶板中,而無需執行任何其他操作。還值得注意的是,儀錶板是從ToC自動生成和更新的。無需編輯單獨的文件即可更新儀錶板!
  • 官方版塊——Filecoin實施進度更新
    2020年10月20日晚間,Filecoin官方團隊發布了有關主網上線後實施發展進度更新的實時資訊,更加詳細的介紹四大實現(Forest、Fuhon、Venus和Lotus)的最新進展和下一步步驟,讓大家對Filecoin有更加深刻的認識!雲儲科技小助手團隊也是第一時間捕捉到熱點資訊,為大家解讀,帶你更加了解Filecoin!
  • Filecoin剛剛獲得了大規模的Spec升級丨星際數據
    Filecoin是一個巨大的項目。從透視的角度來看,如果將其印刷,該協議的規範將是一本約400頁的教科書!Filecoin規範與實現無關,這意味著該文本很好地描述了使網絡正常運行的算法和協議交互,而沒有涉及實現細節。該規範提供了開發人員以任何語言實現Filecoin所需的所有必需詳細信息。僅在需要時提供對Lotus實現的引用。
  • IPFS官方:Filecoin主網點火和啟動階段
    8月,我們完成主網證明可信配置的第二階段(https://filecoin.io/blog/trusted-setup-complete/)、與Cloudflare和以太坊等合作夥伴一起推出了drand主網(https://filecoin.io/blog/distributed-randomness-and-leader-elections/)、發布了對Filecoin加密經濟深度解讀的文章(https
  • 官方版塊--Filecoin官方正面回應大家關心的問題
    (搬自於:https://filecoin.io/zh-cn/blog/filecoin-liftoff-ama/)Filecoin項目在博客中表示:「太空競賽測試網將繼續運行,並在未來三周內通過協議升級和狀態轉換,逐步進入主網。」 這是一個經過多方考慮出的決定,旨在通過繼承測試網期間建立的巨大挖礦能力和社區,包括在整個太空競賽中獲得的餘額和獎勵,來確保Filecoin網絡的安全性。這些代幣在網絡升級時轉換為主網代幣。這些獎項旨在表彰在過去幾個月中幫助壓力測試和改進網絡的大小礦工的巨大貢獻。
  • Filecoin Spec —— 概述(下)
    - 數據的基本表示piece - 表示存儲在filecoin中的數據類型 - 不同FileCoin節點類型的概述存儲庫 - 本地數據結構存儲網絡接口 - 連接到libp2p時鐘 - 掛鍾filecoin節點文件和數據
  • Filecoin官方:水滴科技教你如何搭建大規模集群
    我們了解到了搭建大規模Filecoin挖礦集群的方法。  大家可以根據本文的內容,順利完成filecoin集群的所有前期準備工作。  Filecoin因為挖礦算法複雜、運維難度極大,一直成為阻礙傳統礦工進入的門檻。
  • 官方版塊--Filecoin Liftoff Week活動第一天回顧
    2020年10月20日晚,Filecoin官方團隊發布了有關Filecoin Liftoff Week活動第一天的回顧。雲儲科技小助手團隊第一時間捕捉到相關熱點,帶你了解活動第一天的亮點有哪些!(搬自於:https://filecoin.io/blog/mainnet-liftoff-day1/)
  • Filecoin周報-41:存儲市場大變動,go-filecoin正式接入lotus!
    Steven Li、Iris共同編制【項目介紹】Filecoin是一個將雲存儲轉變為一個算法市場的去中心化存儲網絡。礦工通過提供數據存儲和檢索來獲得Filecoin(FIL)。相反而言,客戶通過付費使得礦工提供存儲,分發和檢索數據。
  • Filecoin官方太空競賽第二輪AMA答疑整理
    北京時間 9 月 17 日上午 9:00,Filecoin 官方舉行關於太空競賽第二輪的 AMA 答疑活動,主要回復一些在太空競賽第二輪的一些問題。北京時間上午 9 點,Filecoin 官方 2020 年第六場 AMA 正式開始。
  • Filecoin官方信息|參與Space Race須知事項
    北京時間8月19日13點,Filecoin官方人員於Blog發布長文表示:「Filecoin獎勵測試網將於北京時間8月25日凌晨6:00正式啟動。」冰河實驗室第一時間發布快訊報導。參與資格1.參賽者獲得獎勵需保持儲存訂單成功率和檢索訂單成功率都達到80%以上;2.訂單機器人會向在競賽開始之後12-24小時之內成功封存一個扇區的礦工發布訂單;3.參賽者需在競賽期間證明至少升級了一個承諾的儲存扇區(升級操作方法詳見:https://docs.filecoin.io/mine/spacerace/#frequently-asked-questions
  • Filecoin week - 27:Lotus devnet/11上線 部分硬體配置公布
    2019年12月11日-測試網上線當前版本 go--filecoin v0.5.8Lotus--devnet/11開發網運行狀況 【go-filecoin】上周 go-filecoindevnet 0.5.8 至此運行六周,系統持續運行中devnet-0.5.8 開發網至周六(12.06)高度約為63000左右;出塊正常,但空塊很多,參與礦工很少由於近期go-filecoin變化很大,此網絡的運行不具有太大的參考價值由於系統的複雜性和進度安排,go-filecoin將不在第一時間參與測試網go-filecoin代碼重構持續進行中,團隊目前還是在集中精力按照spec重構代碼;希望能在測試網開始後不久迎來
  • Filecoin進展加快:FIL面臨全面大規模升級
    2020年10月3日,Filecoin官方在Slack向礦工發出警告,之後將有一個最快的大規模升級,包括經濟狀況的升級、測試FIL的降低、礦工應對緊急情況的反應、測試所有正確的行為、Filecoin創始人胡安也表示:1)這些是針對開發人員和礦工的測試。
  • 官方版塊--Filecoin授予 Waves 4-5和Gitcoin補助金
    通過對開發者撥款回購進行PR,在filecoin.io/grants上進行申請。Liftoff Miner Tooling RFP + Apollo Storage Dapps我們對Filecoin採礦社區的參與以及讓SpaceRace測試網競賽和Filecoin主網啟動都非常成功表示感謝。
  • 鏈世紀財經報導|官方動態-Filecoin二測胡安AMA
    /filecoin-project/sector-storage模塊,Lotus和Go-filecoin均使用該模塊。Aayush:Go-filecoin和Lotus目前正在Testnet Phase 2上進行互操作。我們發現問題並對其進行修補,但它們目前可以完全互操作。Q2:何時確定詳細的經濟模型參數?A2:只有在完成所有核心功能並在testnet上進行了徹底測試之後,才會發布詳細的參數。
  • Filecoin官方發布大礦工測試邀請,你符合條件嗎?
    北京時間4月4日凌晨消息:隨著Filecoin測試網達到PB規模,並且節點實現接近協議完整性,官方邀請存儲空間在5 PB以上的大礦工參加測試,以尋求有關大規模設計,實施和運行採礦和存儲硬體測試的建議。
  • 對話胡安 | Filecoin官方AMA,創始人胡安在線答疑
    現就大家比較關注的問題,整理如下:關於測試網進度問:兩個可互操作的filecoin實現GO-filecoin和Lotus的當前interopnet狀態如何?答:Go-filecoin和Lotus目前正在Testnet第2階段上進行互操作。我們發現問題,並修補它們,但它們目前是完全互操作的。劃重點:Go-filecoin和Lotus目前正在Testnet Phase 2上進行互操作,雖然Go-filecoin未完全融入,但互操作沒有問題。
  • Filecoin官方礦機配置公布!
    Filecoin官方正式公布了測試網獎勵計劃!共計400萬的FIL代幣獎勵,按照當前100元一枚的期貨價格,也是價值4個億人民幣!與此同時官方公布了他們Filecoin團隊的礦機硬體配置。具體硬體如下圖,這是官方在主網上線前的唯一一次給出明確卻具體配置,並且明確Filecoin將使用SDR複製證明(非常類似於現在測試網的結構)來進行測試網獎勵計劃和主網啟動。也就是說,這些配置,就是適合測試網獎勵計劃和主網啟動的挖礦配置,等待這麼久終於等到了官方配置,下面就是黑蝦翻譯整理的具體的礦機配件型號。
  • Filecoin官方:Filecoin已完成可信配置環節
    去年年底,我們成功完成了我們可信任設置的第一階段,也稱為「 tau的力量」儀式。7月底,我們完成了可信設置的第二階段–為將用於主網的6個電路生成安全參數。V丨ipfssy現在,在我們安裝的兩個階段中,都可以使用Filecoin主網的最終參數。感謝所有貢獻者!