Ariel Luaces [ARCHIVE] on Nostr: š
Original date posted:2019-03-29 š Original message: > I am forking this ...
š
Original date posted:2019-03-29
š Original message:
> I am forking this thread as my reply is not at all related to the JIT-Routing.
Sorry I think my last reply was also getting off subject as well.
Thank you for forking the thread
> Nonexistent channels (i.e. channels that do not have some backing UTXO in the Bitcoin blockchain) are not safe to propagate on the network since they are trivially spammable (i.e. can generate a large number of fake channels to waste network bandwidth).
I hadn't considered the effect this gossip would have on the network.
Definitely nodes should not trust one another to tell the truth about
nonexistent channels.
The source node could blindly allow intermediate nodes to create
sub-routes to the next hop.
But I wouldn't favor this blind routing idea because fee calculations
would be a complete guesses.
> A good pruning heuristic is "channel capacity", which can be checked onchain (the value of the UTXO backing the channel is the channel capacity).
> It is good to keep channels with large capacity in the routemap, because such large channels are more likely to successfully route a payment than smaller channels.
> So it is reasonable to delete channels with low capacity when the routemap memory is becoming close to full.
I'm generally concerned about these heuristics because any time nodes
can game a heuristic they will be expected to do so.
Gaming a heuristic can be good or bad depending on the side-effects.
One side effect of the "channel capacity" heuristic is more reliable
payments but another side effect is that low capacity (but possibly
reliable) channels are neglected.
> It seems to me that s/aggregate-channel/high-capacity-channel/g in your idea would still work.
> In effect, the high-capacity channel is very likely to successfully route in either direction.
> But if by chance it falls into a state where it is unable to route in one direction or other, the intermediate node has other, lower-capacity channels that it can use JIT-Routing with to improve the directionality of the high-capacity channel.
> Nothing in the JIT-Routing idea requires that the rebalancing loop is small, only that a loop exists.
>
> Nodes still need to track their direct channels (so they are implicitly always in the routemap).
> But payee nodes making BOLT1 invoices could also provide `r` routes in the invoice, with the given routes being from nodes with high-capacity channels, so that even if the intermediate channels are pruned due to low capacity, it is possible to get paid.
Without low capacity channels spontaneous payments would not work. Or
they would depend on asking for an invoice under the hood.
It feels to me that at some point, someone with complete knowledge of
the network needs to be employed.
Cheers
Ariel Lorenzo-Luaces
Published at
2023-06-09 12:54:40Event JSON
{
"id": "2e342ce14260e6155e1bcffc6654e1f9e147bb428707e9e0e8c4395005289fc0",
"pubkey": "ebed449fcaac35befed3b0f55f70eef25ed95542b26fd12595522daa62016304",
"created_at": 1686315280,
"kind": 1,
"tags": [
[
"e",
"51aa2604767b047b656b0c7b3002b6e04df5103011e56634c097f530dbf94ff3",
"",
"root"
],
[
"e",
"8714458d2c32877941208701935913515612cb45c009beb5f8ff6e672bd2a8ef",
"",
"reply"
],
[
"p",
"17ccd89be295c0ae65f1cd3740a9dad84ec8b6d7050712a7f04ae5284b2fab99"
]
],
"content": "š
Original date posted:2019-03-29\nš Original message:\n\u003e I am forking this thread as my reply is not at all related to the JIT-Routing.\n\nSorry I think my last reply was also getting off subject as well.\nThank you for forking the thread\n\n\u003e Nonexistent channels (i.e. channels that do not have some backing UTXO in the Bitcoin blockchain) are not safe to propagate on the network since they are trivially spammable (i.e. can generate a large number of fake channels to waste network bandwidth).\n\nI hadn't considered the effect this gossip would have on the network.\nDefinitely nodes should not trust one another to tell the truth about\nnonexistent channels.\n\nThe source node could blindly allow intermediate nodes to create\nsub-routes to the next hop.\nBut I wouldn't favor this blind routing idea because fee calculations\nwould be a complete guesses.\n\n\u003e A good pruning heuristic is \"channel capacity\", which can be checked onchain (the value of the UTXO backing the channel is the channel capacity).\n\u003e It is good to keep channels with large capacity in the routemap, because such large channels are more likely to successfully route a payment than smaller channels.\n\u003e So it is reasonable to delete channels with low capacity when the routemap memory is becoming close to full.\n\nI'm generally concerned about these heuristics because any time nodes\ncan game a heuristic they will be expected to do so.\nGaming a heuristic can be good or bad depending on the side-effects.\nOne side effect of the \"channel capacity\" heuristic is more reliable\npayments but another side effect is that low capacity (but possibly\nreliable) channels are neglected.\n\n\u003e It seems to me that s/aggregate-channel/high-capacity-channel/g in your idea would still work.\n\u003e In effect, the high-capacity channel is very likely to successfully route in either direction.\n\u003e But if by chance it falls into a state where it is unable to route in one direction or other, the intermediate node has other, lower-capacity channels that it can use JIT-Routing with to improve the directionality of the high-capacity channel.\n\u003e Nothing in the JIT-Routing idea requires that the rebalancing loop is small, only that a loop exists.\n\u003e\n\u003e Nodes still need to track their direct channels (so they are implicitly always in the routemap).\n\u003e But payee nodes making BOLT1 invoices could also provide `r` routes in the invoice, with the given routes being from nodes with high-capacity channels, so that even if the intermediate channels are pruned due to low capacity, it is possible to get paid.\n\nWithout low capacity channels spontaneous payments would not work. Or\nthey would depend on asking for an invoice under the hood.\nIt feels to me that at some point, someone with complete knowledge of\nthe network needs to be employed.\n\nCheers\nAriel Lorenzo-Luaces",
"sig": "d320153f75c22b6165bb28773d3fb02ba3b82a22e13dbc154c922092de4b55ff371736f6879f2f256117a64245709637a3a1fe26ca919c350e6be3414867b50d"
}