You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are some scenarios where we have to resort to QueryBroadcastMessages to obtain more complete gossip messages. One is the dissemination of our own public channel information to the counter-party. Since normal broadcast requires the other party to send us a BroadcastMessageFilter (without this we will not send any thing to the peer), and the counterparty may have not sent this message to us, we can't reliably depend on normal broadcast mechanism to broadcast the message to counter-party. We can use QueryBroadcastMessages in this scenario.
But currently the querying of broadcast messages is a one-shot process. https://github.com/contrun/fiber/blob/c583ac8d6f5d7b7c2d7278eb80e391b66e9d0557/src/fiber/gossip.rs#L2438-L2440 This is not very reliable. The other party may not be ready to process this query (it does not have the message or in the above example, it may not be able to generate a ChannelUpdate yet because to it the funding transaction is not confirmed yet). We should at least retry a few more nodes a few more times before giving up.
The text was updated successfully, but these errors were encountered:
There are some scenarios where we have to resort to
QueryBroadcastMessages
to obtain more complete gossip messages. One is the dissemination of our own public channel information to the counter-party. Since normal broadcast requires the other party to send us aBroadcastMessageFilter
(without this we will not send any thing to the peer), and the counterparty may have not sent this message to us, we can't reliably depend on normal broadcast mechanism to broadcast the message to counter-party. We can useQueryBroadcastMessages
in this scenario.But currently the querying of broadcast messages is a one-shot process. https://github.com/contrun/fiber/blob/c583ac8d6f5d7b7c2d7278eb80e391b66e9d0557/src/fiber/gossip.rs#L2438-L2440 This is not very reliable. The other party may not be ready to process this query (it does not have the message or in the above example, it may not be able to generate a ChannelUpdate yet because to it the funding transaction is not confirmed yet). We should at least retry a few more nodes a few more times before giving up.
The text was updated successfully, but these errors were encountered: