Skip to content

Update Dfbb7879.md #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 18 additions & 5 deletions Dfbb7879.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,29 @@ timezone: Pacific/Auckland # 新西兰标准时间 (UTC+12)
# {Dfbb7879}

1. 自我介绍
2. 你认为你会完成本次残酷学习吗?
3. 你认为你会完成本次残酷学习吗?

## Notes

<!-- Content_START -->

### 2024.07.11

笔记内容

### 2024.01.06
Optimistic Rollup(乐观汇总)是一种依赖于 Layer 1(L1)区块链的 Layer 2(L2)扩展解决方案。它通过利用 L1 区块链(如以太坊)的共识机制(PoW 或 PoS),而非自建共识机制,来保证安全性。
在 Optimism 主网上,L1 区块链为以太坊,L2 继承了其安全性和数据可用性保障。
在 Bedrock 体系中,L2 区块通过非合约地址(如 0xff00...0010)保存至以太坊主网,使用 EIP-4844 提议的 blob 数据结构以降低 L1 交易费用。
L1 区块不可篡改或审查,确保了数据完整性和可用性。
为了节省成本,提交至 L1 的区块以压缩格式存储。
在 Bedrock 体系中,L2 区块通过非合约地址(如 0xff00...0010)保存至以太坊主网,使用 EIP-4844 提议的 blob 数据结构以降低 L1 交易费用。
L1 区块不可篡改或审查,确保了数据完整性和可用性。
为了节省成本,提交至 L1 的区块以压缩格式存储。由一个名为 Sequencer(排序器) 的实体负责,提供以下服务:确认交易并更新状态构建和执行 L2 区块将用户交易提交至 L1。
L1 → L2:存款
使用 L1CrossDomainMessenger 或 L1StandardBridge。
存款交易会在对应“epoch”的第一个 L2 区块中被记录。
L2 → L1:提款
初始化提款交易(L2)。
等待输出根提交到 L1,并通过 proveWithdrawalTransaction 提交提款证明。
等待挑战期(主网通常为 7 天)后,完成提款。
Optimism 的设计通过乐观汇总协议实现了扩展性、安全性和低成本交易。其核心在于将 L2 的计算和存储负载从以太坊主网转移,同时继承以太坊的安全特性,非常适合需要高效扩展的区块链应用场景。
### 2024.07.12

<!-- Content_END -->