mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 13:15:41 +00:00
network-gossip: add metric for number of local messages (#7871)
* network-gossip: add metric for number of local messages * grandpa: fix GossipEngine missing metrics registry parameter * network-gossip: increase known messages cache size * network-gossip: fix tests * grandpa: remove unnecessary clone Co-authored-by: Max Inden <mail@max-inden.de> * network-gossip: count registered and expired messages separately * network-gossip: add comment on known messages cache size * network-gossip: extend comment with cache size in memory Co-authored-by: Max Inden <mail@max-inden.de>
This commit is contained in:
@@ -20,6 +20,7 @@ futures-timer = "3.0.1"
|
||||
libp2p = { version = "0.33.0", default-features = false }
|
||||
log = "0.4.8"
|
||||
lru = "0.6.1"
|
||||
prometheus-endpoint = { package = "substrate-prometheus-endpoint", version = "0.8.0", path = "../../utils/prometheus" }
|
||||
sc-network = { version = "0.8.0", path = "../network" }
|
||||
sp-runtime = { version = "2.0.0", path = "../../primitives/runtime" }
|
||||
wasm-timer = "0.2"
|
||||
|
||||
Reference in New Issue
Block a user