From 94827533042cef5b97a939f8c2403e83f19e3ca0 Mon Sep 17 00:00:00 2001 From: "hinto.janai" Date: Wed, 23 Oct 2024 19:36:46 -0400 Subject: [PATCH] remove `AddAuxPow` --- binaries/cuprated/src/rpc/handler.rs | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/binaries/cuprated/src/rpc/handler.rs b/binaries/cuprated/src/rpc/handler.rs index 5d49947..bb19bbd 100644 --- a/binaries/cuprated/src/rpc/handler.rs +++ b/binaries/cuprated/src/rpc/handler.rs @@ -57,21 +57,6 @@ pub enum BlockchainManagerRequest { /// The height of the next block in the chain. TargetHeight, - /// Add auxirilly proof-of-work to a block. - /// - /// From the RPC `add_aux_pow` usecase's documentation: - /// ```` - /// This enables merge mining with Monero without requiring - /// software that manually alters the extra field in the coinbase - /// tx to include the merkle root of the aux blocks. - /// ```` - AddAuxPow { - /// The block template to add to. - block_template: Block, - /// The auxirilly proof-of-work to add. - aux_pow: Vec, - }, - /// Generate new blocks. /// /// This request is only for regtest, see RPC's `generateblocks`. @@ -118,9 +103,6 @@ pub enum BlockchainManagerResponse { /// Response to [`BlockchainManagerRequest::TargetHeight`] TargetHeight { height: usize }, - /// Response to [`BlockchainManagerRequest::AddAuxPow`] - AddAuxPow(AddAuxPow), - /// Response to [`BlockchainManagerRequest::GenerateBlocks`] GenerateBlocks { /// Hashes of the blocks generated.