mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-01-10 12:54:44 +00:00
remove AddAuxPow
This commit is contained in:
parent
b0751c417c
commit
9482753304
1 changed files with 0 additions and 18 deletions
|
@ -57,21 +57,6 @@ pub enum BlockchainManagerRequest {
|
||||||
/// The height of the next block in the chain.
|
/// The height of the next block in the chain.
|
||||||
TargetHeight,
|
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<AuxPow>,
|
|
||||||
},
|
|
||||||
|
|
||||||
/// Generate new blocks.
|
/// Generate new blocks.
|
||||||
///
|
///
|
||||||
/// This request is only for regtest, see RPC's `generateblocks`.
|
/// This request is only for regtest, see RPC's `generateblocks`.
|
||||||
|
@ -118,9 +103,6 @@ pub enum BlockchainManagerResponse {
|
||||||
/// Response to [`BlockchainManagerRequest::TargetHeight`]
|
/// Response to [`BlockchainManagerRequest::TargetHeight`]
|
||||||
TargetHeight { height: usize },
|
TargetHeight { height: usize },
|
||||||
|
|
||||||
/// Response to [`BlockchainManagerRequest::AddAuxPow`]
|
|
||||||
AddAuxPow(AddAuxPow),
|
|
||||||
|
|
||||||
/// Response to [`BlockchainManagerRequest::GenerateBlocks`]
|
/// Response to [`BlockchainManagerRequest::GenerateBlocks`]
|
||||||
GenerateBlocks {
|
GenerateBlocks {
|
||||||
/// Hashes of the blocks generated.
|
/// Hashes of the blocks generated.
|
||||||
|
|
Loading…
Reference in a new issue