Bitcoin Stack Change is a query and reply web site for Bitcoin crypto-currency lovers. It solely takes a minute to enroll.
Anyone can ask a query
Anyone can reply
The very best solutions are voted up and rise to the highest
Requested
Seen
7 occasions
I perceive that route hints may be offered when producing an bill, however how precisely do wallets use this info to help in pathfinding? I think about this could fluctuate barely between implementations since there does not appear to be any strict guidelines on methods to use them within the BOLT specs.
Are there any requirements for methods to use route hints or would possibly they be fully ignored by a lightning pockets?
Typically talking there are two use-cases that may be facilitated by route hints:
- Inform the sender about channels that they won’t learn about. Particularly, if the recipient does not announce it is channels, then the sender can not learn about these channels. Therefore as a way to attain the recipient they must share some channels finishing the community view and permitting the sender to search out paths from sender to recipient. The gossip community is being augmented by route hints from the bill.
- The recipient can trace to the sender that some channels have ample steadiness for use for the cost described by the bill. Assuming the recipient has many channels, a few of them may very well be exhausted, this the recipient provides an inventory of channels which have steadiness to the bill. This prevents failed makes an attempt that will value us time, since it is the final hop. This method is typically known as route increase.