diff options
author | stickies-v <stickies-v@protonmail.com> | 2022-09-30 11:11:31 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-10-13 23:37:36 +0800 |
commit | 43ced0b436b05ed12489a99bbac89f3b4c9ac035 (patch) | |
tree | 1f5593770440755a0879b6d011e193e6594d3786 /src/rest.h | |
parent | fc8f2bfa3abc284ae3c1127fcf36535603ecc891 (diff) |
wallet: only update m_next_resend when actually resending
We only want to relay our resubmitted transactions once every 12-36h.
By separating the timer update logic out of ResubmitWalletTransactions
and into MaybeResendWalletTxs we avoid non-relay calls (previously in
the separate ReacceptWalletTransactions function) from resetting that
timer.
Github-Pull: #26205
Rebased-From: 9245f456705b285e2d9afcc01a6155e1b3f92fad
Diffstat (limited to 'src/rest.h')
0 files changed, 0 insertions, 0 deletions