user91424: i have a coin for my own interests.
With this i will learn how works all.
So i have install the daemon on a vps
All works fine.
Mining works. And the first 300 blocks i have created.
Now i will back to block 100 or 200.
But i don't know how? 
It is only one node (1vps) and 1 windows wallet.
Is it enough to delete all files and directorys except the coin.conf and wallet.dat on the vps and in windows?
Or how i can back to block 200?
Many thanks
Mark

user38618: 
invalidateblock "blockhash"

Permanently marks a block as invalid, as if it violated a consensus rule.
Arguments:

"blockhash"   (string, required) the hash of the block to mark as invalid



Don't delete the blocks manually, you'll harm the database.

91424: <p>i have a coin for my own interests.
With this i will learn how works all.</p>

<p>So i have install the daemon on a vps
All works fine.</p>

<p>Mining works. And the first 300 blocks i have created.</p>

<p>Now i will back to block 100 or 200.
But i don't know how? </p>

<p>It is only one node (1vps) and 1 windows wallet.</p>

<p>Is it enough to delete all files and directorys except the coin.conf and wallet.dat on the vps and in windows?</p>

<p>Or how i can back to block 200?</p>

<p>Many thanks
Mark</p>
 38618: <blockquote>
  <p><code>invalidateblock "blockhash"</code></p>
  
  <blockquote>
    <p>Permanently marks a block as invalid, as if it violated a consensus rule.</p>
    
    <p>Arguments:</p>
    
    <ol>
    <li>"blockhash"   (string, required) the hash of the block to mark as invalid</li>
    </ol>
  </blockquote>
</blockquote>

<p>Don't delete the blocks manually, you'll harm the database.</p>
