MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / BlockServicePicker

Method BlockServicePicker

cpp/shard/BlockServicePicker.cpp:88–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88BlockServicePicker::BlockServicePicker(uint8_t maxBlocksToPick, Duration writableDelay)
89 : _state(nullptr), _rng(ternNow().ns), _maxBlocksToPick(maxBlocksToPick), _writableDelay(writableDelay) {}
90
91void BlockServicePicker::update(
92 const std::unordered_map<uint64_t, BlockServiceCache>& allBlockServices,

Callers

nothing calls this directly

Calls 1

ternNowFunction · 0.85

Tested by

no test coverage detected