1
I was trying to understand the flow of control between functions (operations performed and their order) when a transaction is received.
1
I was trying to understand the flow of control between functions (operations performed and their order) when a transaction is received.
1
bool AcceptToMemoryPool(CTxMemPool& pool, CValidationState &state, const CTransaction &tx, bool fLimitFree,
bool* pfMissingInputs, bool fRejectInsaneFee)
wallet.cpp, CWallet::AddToWallet:
bool CWallet::AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet)
can you please explain the arguments passed ? – somesh – 2014-10-21T19:31:41.133
@somesh Could you explain why you want to know? I initially assumed that you wanted to instrument the code somehow. – Nick ODell – 2014-10-22T02:13:53.263
When any transaction is recieved, or just when you recieve a transaction that pays to you? – Nick ODell – 2014-10-20T22:02:17.057
In both case, which functions will be called ? and in what order? – somesh – 2014-10-21T19:00:08.703