1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-18 21:22:50 -05:00

Update BlockTemplate class.

This commit is contained in:
XMRig
2021-08-23 18:32:58 +07:00
parent a28f411339
commit bea2a6cf5b
11 changed files with 598 additions and 257 deletions

35
src/base/tools/Span.h Normal file
View File

@@ -0,0 +1,35 @@
/* XMRig
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
* Copyright (c) 2016-2021 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
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef XMRIG_SPAN_H
#define XMRIG_SPAN_H
#include "3rdparty/epee/span.h"
namespace xmrig {
using Span = epee::span<const uint8_t>;
} /* namespace xmrig */
#endif /* XMRIG_SPAN_H */