Skip to content

Include mempool stats in block-producer's status #1245

@Mirko-von-Leipzig

Description

@Mirko-von-Leipzig

Include some mempool metrics in the block producer's status endpoint.

This could include:

  • number of inflight transactions, both
    • unbatched and
    • in total (including in batches)
  • number of inflight batches
  • ..maybe note counts? But this is maybe less important

The status endpoint must not lock the mempool to obtain this information as this is an externally accessible endpoint. Instead the mempool can emit these stats using a watch channel.

Metadata

Metadata

Assignees

No one assigned

    Labels

    block-producerRelated to the block producer componentblockedSomething prevents working on thismempoolRelates to the mempool

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions