MCPcopy Create free account
hub / github.com/SeismicSystems/summit / notify_subscribers

Method notify_subscribers

syncer/src/actor.rs:1155–1161  ·  view source on GitHub ↗

Notify any subscribers for the given commitment with the provided block.

(&mut self, commitment: B::Digest, block: &B)

Source from the content-addressed store, hash-verified

1153 response.send_lossy(true);
1154 let round = finalization.round();
1155 let height = block.height();
1156 let commitment = block.digest();
1157 debug!(?round, %height, "received finalization");
1158
1159 wrote |= self
1160 .store_finalization(
1161 height,
1162 commitment,
1163 block,
1164 Some(finalization),

Callers 4

verify_deliveredMethod · 0.80
cache_verifiedMethod · 0.80
cache_blockMethod · 0.80
store_finalizationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected