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

pool: Use regular expressions to identify clients. #406

Merged
merged 2 commits into from
Oct 13, 2023

Commits on Oct 12, 2023

  1. Configuration menu
    Copy the full SHA
    44438b1 View commit details
    Browse the repository at this point in the history
  2. pool: Use regular expressions to identify clients.

    This modifies that logic that identifies mining clients by their user
    agent to use regular expressions instead of requiring hard coded version
    numbers.
    
    It also adds tests to ensure proper matching functionality.
    
    The primary motivation is to allow the pool to continue to work with new
    patch versions of mining clients without requiring updates the pool
    software.
    
    However, it also provides the flexibility to adapt to specific client
    software that might not conform to semver semantics in the future if is
    desired.
    davecgh committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    13bba52 View commit details
    Browse the repository at this point in the history