Tari: Added coinbase_merkle_proof to pow_data

This commit is contained in:
SChernykh
2024-05-10 13:56:28 +02:00
parent d6364709ca
commit e986e5dc2e
7 changed files with 21 additions and 7 deletions

View File

@@ -61,6 +61,8 @@ public:
FORCEINLINE const std::vector<MinerShare>& shares() const { return m_shares; }
FORCEINLINE uint64_t get_reward() const { return m_finalReward; }
FORCEINLINE std::vector<uint8_t> get_coinbase_merkle_proof() const { ReadLock lock(m_lock); return m_merkleTreeMainBranch; }
#ifdef P2POOL_UNIT_TESTS
FORCEINLINE const PoolBlock* pool_block_template() const { return m_poolBlockTemplate; }
FORCEINLINE std::mt19937_64& rng() { return m_rng; }