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.
Declared in <txgraph.h>
virtual
bool
DoWork(uint64_t max_cost) noexcept = 0;
Whether all currently-available work is done.
| Name | Description |
|---|---|
| max_cost | Upper bound on the amount of work to perform in this call. |