Skip to content

neutrino: add support for BIP 324 #319

Open
@Roasbeef

Description

@Roasbeef

Due to a recent merge in the btcd repo, we now have a module that implements BIP 324: v2transport.

We should add support to neutrino, gated behind a config flag.

For the most part, we just need to update to the latest btcd version as our dep. One thing worth pointing out, is that we'll need to implement our own version of the v2 handshake downgrade. See this commit, for what the final version of this logic looks like in btcd. We should be able to re-use the peer.P2PDowngrader struct I added, which will be used in the connection management code to identify which nodes we need to reconnect to.

We should also start to signal support for the newly added feature bit.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions