()
| 1619 | |
| 1620 | # Last hop of the long route. The expensive shortcut never reaches it. |
| 1621 | def long_forwards(): |
| 1622 | return len(mids[-1].rpc.listforwards(status="settled")["forwards"]) |
| 1623 | |
| 1624 | def budget_of(line): |
| 1625 | return int(re.search(r"onion budget is ([0-9]+)\.", line).group(1)) |
no test coverage detected