wallet::TxStateString

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

NameDescription
stateThe transaction state variant to describe.