ZmnSCPxj [ARCHIVE] on Nostr: š
Original date posted:2019-03-29 š Original message: Good morning Ariel, I am ...
š
Original date posted:2019-03-29
š Original message:
Good morning Ariel,
I am forking this thread as my reply is not at all related to the JIT-Routing.
Sent with ProtonMail Secure Email.
> Public nodes could advertise channels which don't actually exist directly but are instead hidden paths that the source node doesn't need to know or care about. The fees advertised for these aggregate-channels would be the aggregate fees expected from the sub-route.
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 think the biggest gain from this system is that the network can be more abstract. This abstraction allows all possible subsets of public nodes to be a clique since all subsets of nodes can be maximally connected with aggregate-channels as long as the entire network is well connected.
> This new property of the network could allow a source node to select a random privacy-clique and rely on payments to be routed along aggregate-channels without the source node needing to compute or even know the exact sub-routes. Futhermore, the source node could exclusively download and listen to the privacy-clique and ignore the rest of the network structure thus reducing the burden of keeping up to date network information.
Let me suggest something else.
As the LN grows, the public routemap becomes larger and larger, until keeping them in a fast in-memory data structure becomes infeasible on cheap hardware.
In all likelihood, at some point in the future, users will want to be able to limit the memory consumed by implementations for routemaps.
So, some pruning heuristic is needed, to reduce the resource usage of large routemaps.
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.
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.
Regards,
ZmnSCPxj
Published at
2023-06-09 12:54:38Event JSON
{
"id": "2e92a31af1939392cb24639e37145ada669c3f511770f0bb1518a8dbba8de919",
"pubkey": "4505072744a9d3e490af9262bfe38e6ee5338a77177b565b6b37730b63a7b861",
"created_at": 1686315278,
"kind": 1,
"tags": [
[
"e",
"51aa2604767b047b656b0c7b3002b6e04df5103011e56634c097f530dbf94ff3",
"",
"reply"
],
[
"p",
"9456f7acb763eaab2e02bd8e60cf17df74f352c2ae579dce1f1dd25c95dd611c"
]
],
"content": "š
Original date posted:2019-03-29\nš Original message:\nGood morning Ariel,\n\nI am forking this thread as my reply is not at all related to the JIT-Routing.\n\n\nSent with ProtonMail Secure Email.\n\n\u003e Public nodes could advertise channels which don't actually exist directly but are instead hidden paths that the source node doesn't need to know or care about. The fees advertised for these aggregate-channels would be the aggregate fees expected from the sub-route.\n\nNonexistent 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\n\u003e I think the biggest gain from this system is that the network can be more abstract. This abstraction allows all possible subsets of public nodes to be a clique since all subsets of nodes can be maximally connected with aggregate-channels as long as the entire network is well connected.\n\u003e This new property of the network could allow a source node to select a random privacy-clique and rely on payments to be routed along aggregate-channels without the source node needing to compute or even know the exact sub-routes. Futhermore, the source node could exclusively download and listen to the privacy-clique and ignore the rest of the network structure thus reducing the burden of keeping up to date network information.\n\nLet me suggest something else.\n\nAs the LN grows, the public routemap becomes larger and larger, until keeping them in a fast in-memory data structure becomes infeasible on cheap hardware.\nIn all likelihood, at some point in the future, users will want to be able to limit the memory consumed by implementations for routemaps.\n\nSo, some pruning heuristic is needed, to reduce the resource usage of large routemaps.\n\nA good pruning heuristic is \"channel capacity\", which can be checked onchain (the value of the UTXO backing the channel is the channel capacity).\nIt 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.\nSo it is reasonable to delete channels with low capacity when the routemap memory is becoming close to full.\n\nIt seems to me that s/aggregate-channel/high-capacity-channel/g in your idea would still work.\nIn effect, the high-capacity channel is very likely to successfully route in either direction.\nBut 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.\nNothing in the JIT-Routing idea requires that the rebalancing loop is small, only that a loop exists.\n\nNodes still need to track their direct channels (so they are implicitly always in the routemap).\nBut 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\nRegards,\nZmnSCPxj",
"sig": "d347b9e57629e04f2268b40ec7561ebd19776e026e7308dc360e5c7f1f3751c984fab4e28d789cdb5b641302ca0ad96c33ebeb9bac0d343413894dd2bcde2db6"
}