0xMiden / 0xMiden/protocol

Cache output note ID

未关闭
#1,783 2 条评论 0 个 reaction 已指派 1 人 已被 @Fumuran 认领 在 GitHub 查看
kernels
主要语言
Rust
星标
132
派生
167
平均合并
1 天 23 小时
30 天内合并 PR
110

描述

As part of the expensive procedure results caching, we should cache the output note ID (which is also an output note hash), since its computation is quite expensive: it is computed as `hash(recipient, assets_commitment)`, so every time the assets got changed, we need to recompute the ID.

_Originally posted by @bobbinth in [#77](https://github.com/0xMiden/miden-base/issues/77#issuecomment-3213060180)_

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。