More debugging when resending txs
This commit is contained in:
@@ -3116,6 +3116,7 @@ std::vector<uint256> CWallet::ResendWalletTransactionsBefore(int64_t nTime)
|
||||
// Sort them in chronological order
|
||||
multimap<unsigned int, CWalletTx*> mapSorted;
|
||||
uint32_t now = (uint32_t)time(NULL);
|
||||
LogPrintf("%s: nTime=%ld now=%d\n", __func__, nTime, now);
|
||||
|
||||
// vector of wallet transactions to delete
|
||||
std::vector<uint256> vwtxh;
|
||||
@@ -3183,6 +3184,7 @@ std::vector<uint256> CWallet::ResendWalletTransactionsBefore(int64_t nTime)
|
||||
|
||||
void CWallet::ResendWalletTransactions(int64_t nBestBlockTime)
|
||||
{
|
||||
LogPrintf("%s: nBestBlockTime=%ld nNextResend=%ld nLastResend=%ld time=%ld\n", __func__, nBestBlockTime, nNextResend, nLastResend, GetTime());
|
||||
// Do this infrequently and randomly to avoid giving away
|
||||
// that these are our transactions.
|
||||
if (GetTime() < nNextResend || !fBroadcastTransactions)
|
||||
@@ -3207,15 +3209,11 @@ void CWallet::ResendWalletTransactions(int64_t nBestBlockTime)
|
||||
|
||||
/** @} */ // end of mapWallet
|
||||
|
||||
|
||||
|
||||
|
||||
/** @defgroup Actions
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
|
||||
CAmount CWallet::GetBalance() const
|
||||
{
|
||||
CAmount nTotal = 0;
|
||||
|
||||
Reference in New Issue
Block a user