Matthew Little
|
9482238599
|
feat: mempool stats endpoint and prometheus metrics (#1241)
* feat: implement endpoint for various mempool stats
* chore: remove coinbase tx entries from mempool stats (will always be empty)
* chore: update prometheus mempool stats on new block, microblock, and mempool tx
* chore: add mempool tx byte size stats
* chore: add indexes to speedup mempool table queries
* chore: move `registerMempoolPromStats` fn to db helper module
* docs: add OpenAPI schema for new mempool stats endpoint
* chore: tests for mempool stats endpoint
* chore: restore mempool garbage collect env var after test
* chore: bytea serialization tests
* chore: strict hex string handling for bytea value serializer
* chore: improved mempool_tx indexing
* chore: unit test fix
|
2022-08-03 15:54:36 +02:00 |
|