I want to create a private blockchain with geth. In my case, the smart contract should be deployed (for example in block 9) and every block after this block should be deleted after creation. I want to have some transaction on block number 10, read the data, and then delete that block. So the number of block should be always 9. Is it possible? thanks

  • A blockchain without a chain of block seems odd. It should be possible to write your own client. Geth doesn't have such feature so it will require changes to its source code.
    – Ismael
    Jun 24 at 5:15

Your Answer

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

Browse other questions tagged or ask your own question.