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