File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,8 +34,7 @@ const CHANNEL_DIFF_UPDTATE_INTERVAL: u32 = 10;
3434const MAX_LEN_DOWN_MSG : u32 = 10000 ;
3535const MAIN_POOL_ADDRESS : & str = "mining.dmnd.work:2000" ;
3636//const TEST_POOL_ADDRESS: &str = "127.0.0.1:20000";
37- const TEST_POOL_ADDRESS : & str =
38- "k8s-default-pool-de2d9b37ea-6bc40843aed871f2.elb.eu-central-1.amazonaws.com:2000" ;
37+ const TEST_POOL_ADDRESS : & str = "18.193.252.132:2000" ;
3938const MAIN_AUTH_PUB_KEY : & str = "9bQHWXsQ2J9TRFTaxRh3KjoxdyLRfWVEy25YHtKF8y8gotLoCZZ" ;
4039const TEST_AUTH_PUB_KEY : & str = "9auqWEzQDVyd2oe1JVGFLMLHZtCo2FFqZwtKA5gd9xbuEu7PH72" ;
4140//const TP_ADDRESS: &str = "127.0.0.1:8442";
Original file line number Diff line number Diff line change @@ -155,7 +155,8 @@ async fn start_update(
155155 let sleep_duration = if share_count >= crate :: SHARE_PER_MIN * 3.0
156156 || share_count <= crate :: SHARE_PER_MIN / 3.0
157157 {
158- std:: time:: Duration :: from_millis ( 5000 )
158+ // TODO: this should only apply when after the first share has been received
159+ std:: time:: Duration :: from_millis ( crate :: ARGS . adjustment_interval )
159160 } else {
160161 std:: time:: Duration :: from_millis ( crate :: ARGS . adjustment_interval )
161162 } ;
You can’t perform that action at this time.
0 commit comments