MCPcopy Create free account
hub / github.com/ElementsProject/elements / AddReadErrCallback

Method AddReadErrCallback

src/coins.h:365–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363 explicit CCoinsViewErrorCatcher(CCoinsView* view) : CCoinsViewBacked(view) {}
364
365 void AddReadErrCallback(std::function<void()> f) {
366 m_err_callbacks.emplace_back(std::move(f));
367 }
368
369 bool GetCoin(const COutPoint &outpoint, Coin &coin) const override;
370

Callers 1

LoadChainstateFunction · 0.80

Calls 1

emplace_backMethod · 0.80

Tested by

no test coverage detected