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

neutrino: don't connect to peer which deny us relay #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 29, 2019

  1. neutrino: don't connect to peer which deny us relay

    In this commit, we fix an existing bug that would allow us to connect to
    the peer that explicitly signals they don't accept transaction relay.
    When we send our version message we explicitly set the `DisableTxRelay`
    bool to `false`, but then fail to check this value for any remote peers.
    With this change, we'll disconnect a peer in the `OnVersion` call back
    if they signal no transaction relay.
    Roasbeef committed Oct 29, 2019
    Configuration menu
    Copy the full SHA
    c53eb0f View commit details
    Browse the repository at this point in the history