[#TxGraph-DoWork] = xref:TxGraph.adoc[TxGraph]::DoWork :relfileprefix: ../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual bool DoWork(uint64_t max_cost) noexcept = 0; ---- == Return Value Whether all currently‐available work is done. == Parameters [cols="1,4"] |=== | Name| Description | *max_cost* | Upper bound on the amount of work to perform in this call. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#