Compare two transactions according to their order in the main graph. Both transactions must be in the main graph. The main graph must not be oversized.
Declared in <txgraph.h>
virtual
std::strong_ordering
CompareMainOrder(
Ref const& a,
Ref const& b) noexcept = 0;
The ordering of a relative to b in the main graph's linearization.
| Name | Description |
|---|---|
| a | First transaction to compare. |
| b | Second transaction to compare. |