Commit 9245f45
committed
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.1 parent 7fbde8a commit 9245f45
2 files changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
1920 | 1921 | | |
1921 | 1922 | | |
1922 | 1923 | | |
| 1924 | + | |
| 1925 | + | |
1923 | 1926 | | |
1924 | 1927 | | |
1925 | 1928 | | |
1926 | | - | |
1927 | | - | |
| 1929 | + | |
1928 | 1930 | | |
1929 | 1931 | | |
1930 | 1932 | | |
| |||
1951 | 1953 | | |
1952 | 1954 | | |
1953 | 1955 | | |
1954 | | - | |
1955 | | - | |
1956 | | - | |
1957 | 1956 | | |
1958 | 1957 | | |
1959 | 1958 | | |
| |||
1990 | 1989 | | |
1991 | 1990 | | |
1992 | 1991 | | |
| 1992 | + | |
1993 | 1993 | | |
1994 | 1994 | | |
1995 | 1995 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
250 | 250 | | |
251 | 251 | | |
252 | 252 | | |
253 | | - | |
| 253 | + | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
| 351 | + | |
| 352 | + | |
351 | 353 | | |
352 | 354 | | |
353 | 355 | | |
| |||
537 | 539 | | |
538 | 540 | | |
539 | 541 | | |
| 542 | + | |
| 543 | + | |
540 | 544 | | |
541 | 545 | | |
542 | 546 | | |
| |||
0 commit comments