MCPcopy Create free account
hub / github.com/ElementsProject/lightning / mark_success

Method mark_success

plugins/currencyrate-plugin/src/oracle.rs:152–155  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

150 }
151
152 fn mark_success(&mut self) {
153 self.failures = 0;
154 self.backoff_until = Instant::now();
155 }
156
157 fn mark_failure(&mut self) {
158 self.failures += 1;

Callers 3

refresh_currencyMethod · 0.80
background_refreshMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected