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 摘要。