mirror of
https://github.com/monero-project/monero.git
synced 2025-08-13 11:45:36 -04:00
fix merge mining with more than one merge mined chain
reported by sech1
This commit is contained in:
parent
ac02af9286
commit
53e632b435
8 changed files with 56 additions and 28 deletions
|
@ -36,6 +36,6 @@ namespace cryptonote
|
|||
{
|
||||
uint32_t get_aux_slot(const crypto::hash &id, uint32_t nonce, uint32_t n_aux_chains);
|
||||
uint32_t get_path_from_aux_slot(uint32_t slot, uint32_t n_aux_chains);
|
||||
uint32_t encode_mm_depth(uint32_t n_aux_chains, uint32_t nonce);
|
||||
bool decode_mm_depth(uint32_t depth, uint32_t &n_aux_chains, uint32_t &nonce);
|
||||
uint64_t encode_mm_depth(uint32_t n_aux_chains, uint32_t nonce);
|
||||
bool decode_mm_depth(uint64_t depth, uint32_t &n_aux_chains, uint32_t &nonce);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue