Fuel手册-更新中 (The Fuel Book)-updating
  • 0.Fuel手册 (The Fuel Book)
  • 1. 开发者快速上手 (Developer Quickstart)
    • 1.1构建智能合约 (Building A Smart Contract)
    • 1.2 构建前端 (Building a Frontend)
  • 2.准备开始 (Getting Started)
    • 2.1为什么是Fuel (Why Fuel)
    • 2.2Fuel是什么? (What is Fuel?)
      • 2.2.1 Fuel工具链 (The Fuel Toolchain)
    • 2.3 模块化运动 (Modular Movement)
      • 2.3.1 单片架构 (Monolithic Architecture)
      • 2.3.4 什么是模块化执行层 (What is a Modular Execution Layer)
    • 2.4 Fuel设置 (Fuel Configurations)
      • 2.4.1 作为汇总的Fuel (Fuel as a roll-up)
      • 2.4.2 作为L1的Fuel (Fuel as an L1)
      • 2.4.3 作为状态通道的Fuel (Fuel as a state channel)
      • 2.4.4 作为侧链的Fuel (Fuel as a sidechain)
  • 3. 技术 (Technology)
    • 3.1 并行交易执行(Parallel Transaction Execution)
    • 3.2欺诈证明 (Fraud Proofs)
  • 4. Fuel虚拟机 (The FuelVM)
    • 4.1合约和调用模型(Contract and Call Model)
    • 4.2内存模式 (Memory Mode)
    • 4.3多重原生资产(Multiple Native Assets)
    • 4.4FuelVM和EVM, 轻松搞明白(FuelVM vs. EVM, Explained)
  • 5.Sway语言 (Sway Language)
    • 5.1 Sway设计哲学 (Sway Design Philosophy)
    • 5.2 Sway的安全性 (Sway Safety)
  • 6.开发者看这里(For Developers)
    • 6.1Sway程序示例 (Sway Application Examples)
    • 6.2 网络 (Networks)
      • 6.2.1 `beta-3`测试网 (The `beta-3` testnet)
      • 6.2.2 `beta-2`测试网 (The `beta-2` testnet)
      • 6.2.3 `beta-1` 测试网 (beta-1 testnet)
    • 6.3 运行一个本地Fuel节点 (Running a local Fuel node)
    • 6.4 Sway语言 (Sway Language) 🌴
    • 6.5 Typescript SDK
    • 6.6 Rust SDK
    • 6.7 Fuel索引器 (Fuel Indexer)
    • 6.8 水龙头和区块浏览器 (Faucet and Block Explorer)
    • 6.9 Fuelup
    • 6.10 Fuel GraphQL API
  • 7. Fuel术语 (Fuel Glossary)
Powered by GitBook
On this page
  1. 3. 技术 (Technology)

3.2欺诈证明 (Fraud Proofs)

Previous3.1 并行交易执行(Parallel Transaction Execution)Next4. Fuel虚拟机 (The FuelVM)

Last updated 1 year ago

Fraud proofs are a blockchain verification mechanism whereby a claim on a new block is accepted unless a proof the claim is invalid is provided within some configurable time window. This allows trust-minimized light clients to be secure under the assumption only a single honest full node is available in the network to produce fraud proofs. Both the Fuel protocol and the FuelVM are designed to be fraud-provable in restrictive environments such as the Ethereum Virtual Machine.

欺诈证明是一种区块链验证机制,根据该机制,除非在一些可配置的时间窗口内提供该请求无效的证明,否则新区块上的请求将被接受。这允许信任最小化的轻客户端,即使在假定网络中只有一个诚实的完整节点可以产生欺诈证明的情况下,依然是安全的。Fuel协议和FuelVM都被设计成在限制性环境中可以进行欺诈证明,如Ethereum虚拟机。

are a general-purpose fraud proof mechanism, but come with the downside of requiring a global state tree—an inherently sequential bottleneck. avoid this bottleneck; they simply require each spend of a UTXO to "point" to the creation of the UTXO. Proving the pointer is invalid, or that whatever is being pointed to doesn't match whatever is being spent, are sufficient for exhaustively proving fraud.

状态转换欺诈证明是一种通用的欺诈证明机制,但它的缺点是需要一个全局状态树--一个固有的顺序瓶颈。UTXO欺诈证明避免了这一瓶颈;它们只是要求UTXO的每个花费 "指向 "UTXO的创建。证明这个指针是无效的,或者证明所指向的东西与所花费的东西不匹配,就足以详尽地证明欺诈。

The Fuel transaction format and validation logic are fraud-provable with UTXO fraud proofs. The FuelVM relies on an protocol, whereby an execution trace is bisected until a single step must be executed to check for a mismatch. The is specifically designed to be both expressive yet fraud-provable within the Ethereum Virtual Machine.

Fuel交易格式和验证逻辑是可以用UTXO欺诈证明来进行欺诈验证的。FuelVM依赖于,根据该协议,执行跟踪被一分为二,直到必须执行一个步骤来检查是否匹配。是专门设计的,在以太坊虚拟机中既能表达又能防欺诈。

State-transition fraud proofs
UTXO fraud proofs
Interactive Verification Game
FuelVM instruction set
交互式验证博弈协议