summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/pool_data.hpp
blob: 4e92359ec193a2a095daea6ae64e9e76220e2fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <cstdint>
#include <string>

constexpr static size_t invalid_pool_id = (-1);

namespace xmrstak
{

struct pool_data
{
	uint32_t iSavedNonce;
	size_t   pool_id;

	pool_data() : iSavedNonce(0), pool_id(invalid_pool_id)
	{
	}
};

} // namespace xmrstak
OpenPOWER on IntegriCloud