Return TxState or SyncTxState as a string for logging or debugging.

Synopsis

Declared in <wallet/transaction.h>

template<typename T>
std::string
TxStateString(T const& state);

Return Value

A human‐readable string describing the state.

Parameters

Name

Description

state

The transaction state variant to describe.

Created with MrDocs