跳到正文
Ethereum Research (ethresear.ch)· dlebee·· 20 天前AI 评分40

存储优化型重放保护:从 hash => bool 到打包标志位,协议层能否做得更好?

Storage-optimized replay protection: from hash => bool to packed flag lanes, and can the protocol offer better?

AI 导读

针对隐私池 nullifier、Permit2 nonceBitmap 等每事件需永久写入一个标志位的场景,文章梳理了从 mapping(bytes32 => bool) 到 256 位 bitmap、再到按操作方划分 lane 的打包路径。

来源:Ethereum Research (ethresear.ch) · ethresear.ch