MCPcopy Create free account
hub / github.com/ElementsProject/elements / IsTxInMainChain

Method IsTxInMainChain

src/wallet/wallet.h:500–500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

498 // in place.
499 int GetTxDepthInMainChain(const CWalletTx& wtx) const NO_THREAD_SAFETY_ANALYSIS;
500 bool IsTxInMainChain(const CWalletTx& wtx) const { return GetTxDepthInMainChain(wtx) > 0; }
501
502 /**
503 * @return number of blocks to maturity for this transaction:

Callers 3

MakeWalletTxStatusFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected