0xMiden / 0xMiden/faucet

Emit tracing events for committed and consumed notes

未关闭
#283 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
10
派生
12
平均合并
1 天 15 小时
30 天内合并 PR
9

描述

As discussed in [this comment](https://github.com/0xMiden/faucet/pull/268#pullrequestreview-4877378266):

> now that the faucet will be a network faucet, we should emit events for what notes were committed and consumed. For example, it would be great to be able to see the amount of time that passes between the time in which the operator submits the tx, then the note gets committed, and finally it gets picked up and consumed by the ntx builder. We should have this information as part of the SyncSummary that we get from doing Client::sync_state

Once #262 gets merged, the faucet will be a network account, which means a mint request takes two transactions to complete rather than one. It would be useful to have som way of measuring the latency of a mint request. We should emit tracing events tracking the lifecycle of a note so we can see how long each phase takes.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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