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

Method addBlockService

cpp/registry/RegistryDB.cpp:696–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694 return _assignLoopCount < oth._assignLoopCount;
695 }
696 void addBlockService(BlockServiceState bs) {
697 _services.emplace_back(bs);
698 ++_endOffset;
699 }
700 uint32_t getNextBlockServiceIdx() {
701 uint32_t ret = _services[_nextToAssign].blockServiceIdx;
702 if (++_nextToAssign == _endOffset) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected