1

Let's say I used monero-blockchain-import --pop-blocks n to roll back my node to a specific block height. Then I want to generate some test transactions using the set of UTXOs available at that point in time.

Is there a way to do this?

3
  • Haven't you just asked and answered your own question? E.g. by popping blocks and then performing a tx, means you can only include outputs at that new height or earlier.
    – jtgrassie
    Aug 1, 2021 at 1:22
  • @jtgrassie I was missing one piece, which I just realized is to set max_peers 0 so monerod will stop syncing with other nodes. That way it stays stuck on the desired block when making the txs.
    – Nuneya
    Aug 1, 2021 at 3:54
  • Or just take the machine offline if you don't want to sync. Either way, it would be nice if you updated the question with the detail about not wanting to sync from the popped chain and then answering how you achieved it.
    – jtgrassie
    Aug 4, 2021 at 1:33

0

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.