Commit 8022d1e
committed
Select the channel with the highest balance for blinded paths
When building a compact blinded path we need to pick a channel for
an SCID that we think is mostl likely to stick around the longest.
We don't really have any great options cause we have no idea what
downstream code does, but "highest balance" seems marginally
better than the previous criteria of "oldest channel".1 parent 10391b7 commit 8022d1e
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14085 | 14085 | | |
14086 | 14086 | | |
14087 | 14087 | | |
14088 | | - | |
| 14088 | + | |
| 14089 | + | |
| 14090 | + | |
14089 | 14091 | | |
14090 | 14092 | | |
14091 | 14093 | | |
| |||
14108 | 14110 | | |
14109 | 14111 | | |
14110 | 14112 | | |
14111 | | - | |
| 14113 | + | |
| 14114 | + | |
| 14115 | + | |
14112 | 14116 | | |
14113 | 14117 | | |
14114 | 14118 | | |
| |||
0 commit comments