XMRig
2 years ago
No known key found for this signature in database
GPG Key ID: 446A53638BE94409
2 changed files with
10 additions and
4 deletions
-
src/net/strategies/DonateStrategy.cpp
-
src/net/strategies/DonateStrategy.h
|
|
@ -1,6 +1,6 @@ |
|
|
|
/* XMRig
|
|
|
|
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright (c) 2018-2022 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright (c) 2016-2022 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* |
|
|
|
* This program is free software: you can redistribute it and/or modify |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
@ -106,6 +106,12 @@ int64_t xmrig::DonateStrategy::submit(const JobResult &result) |
|
|
|
|
|
|
|
void xmrig::DonateStrategy::connect() |
|
|
|
{ |
|
|
|
# ifdef XMRIG_ALGO_ASTROBWT |
|
|
|
if (m_algorithm == Algorithm::ASTROBWT_DERO_2) { |
|
|
|
return; |
|
|
|
} |
|
|
|
# endif |
|
|
|
|
|
|
|
m_proxy = createProxy(); |
|
|
|
if (m_proxy) { |
|
|
|
m_proxy->connect(); |
|
|
|
|
|
@ -1,6 +1,6 @@ |
|
|
|
/* XMRig
|
|
|
|
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright (c) 2018-2022 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright (c) 2016-2022 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* |
|
|
|
* This program is free software: you can redistribute it and/or modify |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
|