Tari: serialize pow_data WIP

This commit is contained in:
SChernykh
2024-05-09 20:35:41 +02:00
parent 258c93e661
commit fd953a0b26
10 changed files with 62 additions and 17 deletions
+2 -1
View File
@@ -20,6 +20,7 @@
namespace p2pool {
class p2pool;
class BlockTemplate;
class IMergeMiningClient
{
@@ -37,7 +38,7 @@ public:
virtual ~IMergeMiningClient() {}
[[nodiscard]] virtual bool get_params(ChainParameters& out_params) const = 0;
virtual void submit_solution(const std::vector<uint8_t>& blob, const std::vector<hash>& merkle_proof) = 0;
virtual void submit_solution(const uint8_t (&hashing_blob)[128], size_t nonce_offset, const hash& seed_hash, const std::vector<uint8_t>& blob, const std::vector<hash>& merkle_proof) = 0;
};
} // namespace p2pool