Commit 38762f7
committed
Merge dashpay#6574: fix: ReconnectionInfo should also store Dash-specific flags
17f0aa3 fix: ReconnectionInfo should also store Dash-specific flags (UdjinM6)
Pull request description:
## Issue being fixed or feature implemented
Mixing with p2p v2 protocol enabled on p2p v1 masternodes triggers reconnection which "forgets" about Dash-specific flags so these connections aren't dropped on mixing session timeouts like they should. Most nodes on testnet are upgraded so the issue wasn't noticeable there unfortunately.
## What was done?
Store Dash-specific flags in `ReconnectionInfo` and use them in `PerformReconnections()` later
## How Has This Been Tested?
## Breaking Changes
n/a
## Checklist:
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added or updated relevant unit/integration/functional/e2e tests
- [ ] I have made corresponding changes to the documentation
- [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
ACKs for top commit:
kwvg:
ACK 17f0aa3
PastaPastaPasta:
utACK 17f0aa3
Tree-SHA512: eb69716e79acc29529b900900d284ddd2d6565d847b1039194c8764fa4575a7a8f51e95b733dc58a550819f9cf5be11de759ceb6884ce44723ede912231cc5741 parent 580b74c commit 38762f7
2 files changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2247 | 2247 | | |
2248 | 2248 | | |
2249 | 2249 | | |
2250 | | - | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
2251 | 2253 | | |
2252 | 2254 | | |
2253 | 2255 | | |
| |||
5171 | 5173 | | |
5172 | 5174 | | |
5173 | 5175 | | |
5174 | | - | |
| 5176 | + | |
| 5177 | + | |
| 5178 | + | |
5175 | 5179 | | |
5176 | 5180 | | |
5177 | 5181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1981 | 1981 | | |
1982 | 1982 | | |
1983 | 1983 | | |
| 1984 | + | |
| 1985 | + | |
1984 | 1986 | | |
1985 | 1987 | | |
1986 | 1988 | | |
| |||
0 commit comments