Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start verifying gossip data via bitcoind RPC #428

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

tnull
Copy link
Collaborator

@tnull tnull commented Jan 7, 2025

Based on #426.
Closes #377.

So far, we did not verify gossip data received via the peer-to-peer network. As a small fix in the latest LDK release allows us properly set the gossip verifier, we do so, and start verifying gossip when the bitcoind RPC gossip source is set.

@tnull tnull added this to the 0.5 milestone Jan 7, 2025
@tnull tnull force-pushed the 2025-01-start-verifying-gossip branch from a1ce26e to d4626f8 Compare January 7, 2025 13:00
@tnull tnull force-pushed the 2025-01-start-verifying-gossip branch from d4626f8 to 85912fd Compare January 16, 2025 09:29
So far, we did not verify gossip data received via the peer-to-peer
network. As a small fix in the latest LDK release allows us properly set
the gossip verifier, we do so, and start verifying gossip when the
bitcoind RPC gossip source is set.
@tnull tnull force-pushed the 2025-01-start-verifying-gossip branch from 85912fd to b774b33 Compare January 17, 2025 08:46
@tnull
Copy link
Collaborator Author

tnull commented Jan 17, 2025

Rebased on main after #426 landed.

@tnull tnull requested a review from TheBlueMatt January 17, 2025 08:47
Copy link

@TheBlueMatt TheBlueMatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a super expert on ldk-node code but LGTM. If we don't already, we might consider adding docs for RPC users to suggest they bump rpcworkqueue above the default (honestly the default is absurdly low...)

@tnull
Copy link
Collaborator Author

tnull commented Jan 21, 2025

Not a super expert on ldk-node code but LGTM. If we don't already, we might consider adding docs for RPC users to suggest they bump rpcworkqueue above the default (honestly the default is absurdly low...)

Ah, good point. I'm gonna land this but will make sure to add such a note when dealing with the slow-to-retrieve mempool issue soon.

@tnull tnull merged commit b388ee1 into lightningdevkit:main Jan 21, 2025
11 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Start verifying gossip for the bitcoind RPC backend
3 participants