TxGraph is internally lazy, and will not compute many things until they are needed. Calling DoWork will perform some work now (controlled by max_cost) so that future operations are fast, if there is any. Returns whether all currently‐available work is done. This can be invoked while oversized, but oversized graphs will be skipped by this call.
Synopsis
Declared in <txgraph.h>
virtual
bool
DoWork(uint64_t max_cost) noexcept = 0;
Return Value
Whether all currently‐available work is done.
Parameters
Name |
Description |
max_cost |
Upper bound on the amount of work to perform in this call. |
Created with MrDocs