| 168 | } |
| 169 | |
| 170 | VdfRequest |
| 171 | VdfSpeculationNode::_GetInputRequest(const VdfSchedule &requestingSched) const |
| 172 | { |
| 173 | VdfMaskedOutputVector maskedOutputs; |
| 174 | |
| 175 | // Build a request that pulls on all our inputs. |
| 176 | VDF_FOR_EACH_SCHEDULED_OUTPUT_ID(outputId, requestingSched, *this) { |
| 177 | const VdfOutput *output = requestingSched.GetOutput(outputId); |
| 178 | if (VdfMaskedOutput mo = _GetSourceOutput(*this, output->GetName())) { |
| 179 | maskedOutputs.push_back(std::move(mo)); |
| 180 | } |
| 181 | } |
| 182 | |
| 183 | return VdfRequest(std::move(maskedOutputs)); |
| 184 | } |
| 185 | |
| 186 | const VdfSchedule * |
| 187 | VdfSpeculationNode::_GetSchedule(const VdfRequest &request) const |
nothing calls this directly
no test coverage detected