0xMiden / 0xMiden/faucet

Emit tracing events for committed and consumed notes

Ouverte
#283 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
10
Forks
12
Merge moyen
1 j 15 h
PR mergées (30 j)
9

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.