txgraph: Add DoWork function (feature)

This can be called when the caller has time to spend now, and wants future operations
to be fast.
This commit is contained in:
Pieter Wuille
2025-01-09 14:22:24 -05:00
parent 295a1ca8bb
commit b685d322c9
3 changed files with 31 additions and 0 deletions

View File

@@ -526,6 +526,10 @@ FUZZ_TARGET(txgraph)
// these here without making more calls to real, which could affect its internal
// state. A full comparison is done at the end.
break;
} else if (command-- == 0) {
// DoWork.
real->DoWork();
break;
}
}
}