-
Notifications
You must be signed in to change notification settings - Fork 125
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
Add integration test for auth failure between mining_device
and a pool
#1164
Add integration test for auth failure between mining_device
and a pool
#1164
Commits on Sep 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 14a44aa - Browse repository at this point
Copy the full SHA 14a44aaView commit details -
Add error handling to
PoolSv2::start
Handle errors in `start` function for better user experience and to be able to catch errors in test environment, for example without introducing error handling, we do not get a proper response if the provided `coinbase_output` in the config is valid.
Configuration menu - View commit details
-
Copy full SHA for 261e818 - Browse repository at this point
Copy the full SHA 261e818View commit details -
Adds a new property `state` to the pool struct. The main goal is providing abilities to mutate the state internally, i.e. only by the role itself, and abilities to view the state by the role runner.
Configuration menu - View commit details
-
Copy full SHA for ac99a06 - Browse repository at this point
Copy the full SHA ac99a06View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4033af - Browse repository at this point
Copy the full SHA a4033afView commit details -
A utility struct that wraps the original `PoolSv2` and provide some utility to start the pool role in testing env.
Configuration menu - View commit details
-
Copy full SHA for 02c4dc3 - Browse repository at this point
Copy the full SHA 02c4dc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a80407 - Browse repository at this point
Copy the full SHA 3a80407View commit details -
Separate
lib
code frombin
inmining-device
Isolating the library code into a `lib/mod.rs` and consume it in `main.rs`.
Configuration menu - View commit details
-
Copy full SHA for e23fbe6 - Browse repository at this point
Copy the full SHA e23fbe6View commit details -
Handle
mining_device
open channel error case.. just return the error to the user to give an indication that an error occurd.
Configuration menu - View commit details
-
Copy full SHA for b49416c - Browse repository at this point
Copy the full SHA b49416cView commit details -
Save dropped
PoolSv2
downstreamsThis commit adds a new property to the `Running` state called `DroppedDownstreams` that saves a vector of `Vec<u32>`, u32 referring to the `downstream_id`.
Configuration menu - View commit details
-
Copy full SHA for 08afc09 - Browse repository at this point
Copy the full SHA 08afc09View commit details -
Add integration test for mining device auth..
failure with a pool. This test run a `TemplateProvider`, `PoolSv2` and a `mining_device` with the auth-failure flag enable which will result in the `PoolSv2` to reject the `mining_device`.
Configuration menu - View commit details
-
Copy full SHA for 4ae9608 - Browse repository at this point
Copy the full SHA 4ae9608View commit details