跳至主要内容
Change page

Data structures and encoding

最後編輯: @nhsz(opens in a new tab), 2023年8月15日

Ethereum creates, stores and transfers large volumes of data. This data must get formatted in standardized and memory-efficient ways to allow anyone to run a node on relatively modest consumer-grade hardware. To achieve this, several specific data structures are used on the Ethereum stack.

Prerequisites

You should understand the fundamentals of Ethereum and client software. Familiarity with the networking layer and the Ethereum whitepaper is recommended.

Data structures

Patricia merkle tries

Patricia Merkle Tries are structures that encode key-value pairs into a deterministic and cryptographically authenticated trie. These are used extensively across Ethereum's execution layer.

More on Patricia Merkle Tries

Recursive Length Prefix

Recursive Length Prefix (RLP) is a serialization method used extensively across Ethereum's execution layer.

More on RLP

Simple Serialize

Simple Serialize (SSZ) is the dominant serialization format on Ethereum's consensus layer because of its compatibility with merklelization.

More on SSZ

這篇文章對你有幫助嗎?

網站上次更新: 2024年7月24日

學習

  • 學習中心
  • 什麼是以太坊?
  • 什麼是以太幣 (ETH)?
  • 以太坊錢包
  • 什麼是 Web3?
  • 智慧型合約
  • Gas fees
  • 執行節點
  • 以太坊安全及詐騙預防
  • 測驗中心
  • 以太坊詞彙表
(opens in a new tab)(opens in a new tab)(opens in a new tab)
  • 關於我們
  • 以太坊品牌資產
  • 行為守則
  • 工作機會
  • 隱私條款
  • 使用條款
  • Cookie 政策
  • 媒體聯絡方式(opens in a new tab)