openmina / mina-network-debugger

4 stars 2 forks source link

As a developer, I want to measure time the network is processing the transaction, so we can optimize it #20

Open vlad9486 opened 1 year ago

vlad9486 commented 1 year ago

For each transaction measure time elapsed between transaction appear and snark is ready.

The difficult part is correspondence between the transactions and snarks. Debugger need to apply transaction on the head block, calculate ledger hash and find matching hash in snark.

vlad9486 commented 1 year ago

Added /tx/latest and /tx/<number> methods. To show time between transaction is first seen and transaction is included in block.