Commit 74d9598
committed
Merge bitcoin/bitcoin#32134: descriptors: Multipath/PR 22838 follow-ups
56f271e descriptors refactor: Clarify multipath data relationships through local struct (Hodlinator)
7e974f4 descriptors refactor: Use range-for and limit scope of seen_multipath (Hodlinator)
99a92ef descriptors doc: Correct Markdown format + wording (Hodlinator)
Pull request description:
Follows up on unresolved suggestions from #22838. In order of priority:
1. Fixes a couple of typos [^1][^2] and indentation to conform to Markdown.
2. Solves `for`-loop nit [^3] and also limits variable scope.
3. Clarifies data relationships [^4][^5] by introducing `struct` rather than comments.
[^1]: bitcoin/bitcoin#22838 (comment)
[^2]: bitcoin/bitcoin#22838 (comment)
[^3]: bitcoin/bitcoin#22838 (comment)
[^4]: bitcoin/bitcoin#22838 (comment)
[^5]: bitcoin/bitcoin#22838 (comment)
ACKs for top commit:
Prabhat1308:
re-ACK [`56f271e`](bitcoin/bitcoin@56f271e)
mabu44:
tACK 56f271e
l0rinc:
utACK 56f271e
rkrux:
crACK 56f271e
Tree-SHA512: 75777c911640038a3e0ea48601c0f55463a5f8ff5b3462d81e8992d9fc8f988d5a240e2166befa67a2a246696b0863f8e2508524c14697c490d3b229fe0489962 files changed
+19
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | | - | |
294 | | - | |
295 | | - | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1440 | 1440 | | |
1441 | 1441 | | |
1442 | 1442 | | |
1443 | | - | |
1444 | | - | |
1445 | | - | |
| 1443 | + | |
| 1444 | + | |
| 1445 | + | |
| 1446 | + | |
| 1447 | + | |
1446 | 1448 | | |
1447 | 1449 | | |
1448 | 1450 | | |
1449 | 1451 | | |
1450 | | - | |
| 1452 | + | |
1451 | 1453 | | |
1452 | 1454 | | |
1453 | 1455 | | |
1454 | 1456 | | |
1455 | 1457 | | |
1456 | | - | |
| 1458 | + | |
1457 | 1459 | | |
1458 | 1460 | | |
1459 | 1461 | | |
| |||
1465 | 1467 | | |
1466 | 1468 | | |
1467 | 1469 | | |
| 1470 | + | |
| 1471 | + | |
1468 | 1472 | | |
1469 | 1473 | | |
1470 | 1474 | | |
1471 | | - | |
| 1475 | + | |
1472 | 1476 | | |
1473 | 1477 | | |
1474 | 1478 | | |
1475 | 1479 | | |
1476 | | - | |
| 1480 | + | |
1477 | 1481 | | |
1478 | 1482 | | |
1479 | 1483 | | |
1480 | | - | |
| 1484 | + | |
1481 | 1485 | | |
1482 | 1486 | | |
1483 | 1487 | | |
1484 | 1488 | | |
1485 | 1489 | | |
1486 | 1490 | | |
1487 | 1491 | | |
1488 | | - | |
| 1492 | + | |
1489 | 1493 | | |
1490 | 1494 | | |
1491 | 1495 | | |
1492 | | - | |
| 1496 | + | |
1493 | 1497 | | |
1494 | | - | |
| 1498 | + | |
1495 | 1499 | | |
1496 | 1500 | | |
1497 | 1501 | | |
| |||
0 commit comments