1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-18 05:19:30 -05:00

Update Job.h

This commit is contained in:
pdxwebdev
2022-03-25 01:08:31 -07:00
committed by GitHub
parent 01129fcc40
commit fbc3a04221

View File

@@ -76,7 +76,6 @@ public:
inline const String &poolWallet() const { return m_poolWallet; }
inline const uint32_t *nonce() const { return reinterpret_cast<const uint32_t*>(m_blob + nonceOffset()); }
inline const uint8_t *blob() const { return m_blob; }
inline int32_t nonceOffset() const { auto f = algorithm().family(); return (f == Algorithm::KAWPOW) ? 32 : ((f == Algorithm::GHOSTRIDER) ? 76 : ((m_algorithm == Algorithm::RX_YADA) ? 147 : 39)); }
int32_t nonceOffset() const;
inline size_t nonceSize() const { return (algorithm().family() == Algorithm::KAWPOW) ? 8 : 4; }
inline size_t size() const { return m_size; }