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?

3
  • 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
    Commented May 19, 2017 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
    Commented May 20, 2017 at 18:38
  • Ahh, I hadn't considered that! Thanks! This would explain why they've gradually become unlocked. Commented May 20, 2017 at 21:02

1 Answer 1

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 and acknowledge you have read our privacy policy.

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