1

I've created an altcoin based on the Cryptonote protocol. I have two seed nodes and am mining (successfully) on both of them in order to test the network. However, all mined coins are showing up as "locked". So, for some reason the other node isn't verifying the blocks mined in both cases, however, they must be communicating because their blockchains are synchronised.

Am I missing something?

  • Note that there has been a huge vulnerability found in CryptoNote related coins, and I'd recommend you to refrain from using the code now: getmonero.org/2017/05/17/…. – user48462 May 19 '17 at 6:55
  • Does Cryptonote also have a maturation period for block rewards? In Bitcoin block rewards cannot be spent for 100 blocks after they were mined. – Murch May 20 '17 at 18:38
  • Ahh, I hadn't considered that! Thanks! This would explain why they've gradually become unlocked. – Persistence May 20 '17 at 21:02
2

In Bitcoin block rewards cannot be spent until they have become "mature". This happens once 100 blocks are mined on top of a block. The idea is that new bitcoins should not be spread around while they may still become invalid due to reorganizations.

In Monero the maturity depth is 60 blocks, which is reached after about two hours. I assume that Cryptonote has a similar delay for block rewards to become spendable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.