MCPcopy Create free account
hub / github.com/aws/clock-bound / feed_repro

Method feed_repro

clock-bound/src/daemon/clock_sync_algorithm.rs:133–144  ·  view source on GitHub ↗

wrapper around feed_inner that emits reproducibility

(&mut self, routable_event: RoutableEvent)

Source from the content-addressed store, hash-verified

131
132 // wrapper around feed_inner that emits reproducibility
133 fn feed_repro(&mut self, routable_event: RoutableEvent) -> Option<&ClockParameters> {
134 let serialized = serde_json::to_string(&routable_event).unwrap();
135 let output = self.feed_inner(routable_event);
136 tracing::info!(
137 target: PRIMER_TARGET,
138 event = serialized,
139 output = serde_json::to_string(&output).unwrap(),
140 "feed"
141 );
142
143 output
144 }
145
146 /// Feed event into the link local
147 fn feed_link_local(

Callers 1

feedMethod · 0.80

Calls 1

feed_innerMethod · 0.80

Tested by

no test coverage detected