Commit bcee94d
committed
Merge bitcoin/bitcoin#26359: p2p: Erlay support signaling follow-ups
46339d2 test, refactor: Reorder sendtxrcncl tests for better readability (Gleb Naumenko)
14263c1 p2p, refactor: Extend logs for unexpected sendtxrcncl (Gleb Naumenko)
87493e1 p2p, test, refactor: Minor code improvements (Gleb Naumenko)
00c5dec p2p: Clarify sendtxrcncl policies (Gleb Naumenko)
ac6ee5b test: Expand unit and functional tests for txreconciliation (Gleb Naumenko)
bc84e24 p2p, refactor: Switch to enum class for ReconciliationRegisterResult (Gleb Naumenko)
a60f729 p2p: Drop roles from sendtxrcncl (Gleb Naumenko)
6772cbf tests: stabilize sendtxrcncl test (Gleb Naumenko)
Pull request description:
Non-trivial changes include:
- Getting rid of roles in `sendtxrcncl` message (summarized in the [BIP PR](bitcoin/bips#1376));
- Disconnect the peer if it send `sendtxrcncl` although we are in `blocksonly` and notified the peer with `fRelay=0`;
- Don't send `sendtxrcncl` to feeler connections.
ACKs for top commit:
vasild:
ACK 46339d2
ariard:
ACK 46339d2
mzumsande:
Code Review ACK 46339d2
Tree-SHA512: b5cc6934b4670c12b7dbb3189e739ef747ee542ec56678bf4e4355bfb481b746d32363c173635685b71969b3fe4bd52b1c8ebd3ea3b35c82044bba69220f6417File tree
8 files changed
+169
-166
lines changed- src
- node
- test
- test/functional
- test_framework
8 files changed
+169
-166
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| 480 | + | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
| |||
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
488 | | - | |
489 | 489 | | |
490 | 490 | | |
491 | 491 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3273 | 3273 | | |
3274 | 3274 | | |
3275 | 3275 | | |
3276 | | - | |
3277 | | - | |
3278 | | - | |
| 3276 | + | |
| 3277 | + | |
| 3278 | + | |
| 3279 | + | |
3279 | 3280 | | |
3280 | | - | |
| 3281 | + | |
3281 | 3282 | | |
3282 | | - | |
3283 | | - | |
3284 | 3283 | | |
3285 | | - | |
3286 | | - | |
3287 | 3284 | | |
3288 | 3285 | | |
3289 | 3286 | | |
| |||
3500 | 3497 | | |
3501 | 3498 | | |
3502 | 3499 | | |
3503 | | - | |
3504 | 3500 | | |
3505 | 3501 | | |
3506 | 3502 | | |
3507 | 3503 | | |
3508 | 3504 | | |
3509 | | - | |
3510 | | - | |
3511 | | - | |
| 3505 | + | |
| 3506 | + | |
3512 | 3507 | | |
3513 | 3508 | | |
3514 | 3509 | | |
3515 | 3510 | | |
3516 | 3511 | | |
3517 | | - | |
| 3512 | + | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
| 3520 | + | |
3518 | 3521 | | |
3519 | 3522 | | |
3520 | | - | |
| 3523 | + | |
3521 | 3524 | | |
3522 | | - | |
3523 | | - | |
| 3525 | + | |
| 3526 | + | |
| 3527 | + | |
| 3528 | + | |
| 3529 | + | |
| 3530 | + | |
| 3531 | + | |
| 3532 | + | |
| 3533 | + | |
3524 | 3534 | | |
3525 | 3535 | | |
3526 | 3536 | | |
3527 | | - | |
3528 | | - | |
3529 | | - | |
3530 | | - | |
3531 | | - | |
3532 | | - | |
3533 | | - | |
3534 | | - | |
3535 | | - | |
3536 | | - | |
3537 | | - | |
| 3537 | + | |
3538 | 3538 | | |
3539 | 3539 | | |
3540 | 3540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
84 | | - | |
85 | | - | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | | - | |
| 91 | + | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
96 | | - | |
97 | | - | |
98 | | - | |
| 95 | + | |
| 96 | + | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
| 117 | + | |
130 | 118 | | |
131 | | - | |
132 | | - | |
133 | | - | |
| 119 | + | |
| 120 | + | |
134 | 121 | | |
135 | | - | |
136 | | - | |
137 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
138 | 125 | | |
139 | 126 | | |
140 | 127 | | |
| |||
166 | 153 | | |
167 | 154 | | |
168 | 155 | | |
169 | | - | |
170 | 156 | | |
171 | 157 | | |
172 | | - | |
173 | | - | |
| 158 | + | |
174 | 159 | | |
175 | 160 | | |
176 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | | - | |
76 | | - | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
264 | | - | |
| 262 | + | |
265 | 263 | | |
266 | 264 | | |
267 | 265 | | |
| |||
0 commit comments