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

[net] Connman options encapsulation #2632

Merged
merged 11 commits into from
Dec 7, 2021

Commits on Nov 22, 2021

  1. add WhitelistedRange to CConnman::Options

      Part of a series of changes to clean up the instantiation of connman by decoupling the command line arguments.
    
      Coming from btc@ce79f3251851f6177f38009341802e6065cb70af
    Marko Bencun authored and furszy committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    41c89af View commit details
    Browse the repository at this point in the history
  2. add Binds, WhiteBinds to CConnman::Options

    Part of a series of changes to clean up the instantiation of connman by decoupling the command line arguments.  We also now abort with an error when explicit binds are set with -listen=0.
    
    Coming from btc@ce79f3251851f6177f38009341802e6065cb70af
    Marko Bencun authored and furszy committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    d9e91ff View commit details
    Browse the repository at this point in the history
  3. add SeedNodes to CConnman::Options

    Start of a series of changes to clean up the instantiation of connman by decoupling the command line arguments.
    Marko Bencun authored and furszy committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    8d788ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    987342e View commit details
    Browse the repository at this point in the history
  5. Add vConnect to CConnman::Options

    Split the "-connect" argument parsing out of CConnman and put it into AppInitMain().
    Marko Bencun authored and furszy committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    a13b7c9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8c8ad18 View commit details
    Browse the repository at this point in the history
  7. add m_added_nodes to connman options

    Marko Bencun authored and furszy committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    729c63d View commit details
    Browse the repository at this point in the history
  8. remove unused IsArgSet check

    Forgotten in 506b700
    Marko Bencun authored and furszy committed Nov 22, 2021
    Configuration menu
    Copy the full SHA
    71667df View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8c02b59 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2021

  1. net: Add missing locks in net.{cpp,h}

    * writing variable 'nTotalBytesRecv' requires holding mutex 'cs_totalBytesRecv' exclusively
    * writing variables 'nTotalBytesSent' require holding mutex 'cs_totalBytesSent' exclusively
    * writing variable 'vAddedNodes' requires holding mutex 'cs_vAddedNodes' exclusively
    
    Backports btc@63f21d27ee463dafc32982d1ac50a1032449dd36 without the nMaxOut* variable changes that we don't have.
    furszy committed Nov 26, 2021
    Configuration menu
    Copy the full SHA
    5716940 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e1d12d3 View commit details
    Browse the repository at this point in the history