0

I'm playing with bitcoind, I'm an started in this subject and I'm playing with the regtest=1 option of course. The thing is that after one day all the transactions are lost, I'm trying to get the balance of some wallets and it's always 0. Is this something related to the regtest mode? has someone had the same issue? If I restart bitcoind again everything is working as expected but is annoying since I have to create a lot of transactions again.

4
  • What do you see in bitcoin-cli listwallets and then using one of the names in bitcoin-cli -rpcwallet="W1" getwalletinfo? (Replace W1 with your wallet name)
    – Prayank
    Jul 27 '21 at 20:56
  • I'm getting a balance of 0. Also I can not fetch old transactions, this is happening after running regtest mode for a week (more o less) Jul 29 '21 at 18:17
  • How many wallets do you see in the first command? Are you using the same data directory?
    – Prayank
    Jul 29 '21 at 19:53
  • Sorry the first command should be bitcoin-cli listwalletdir and use loadwallet if its not loaded but exists
    – Prayank
    Jul 30 '21 at 22:03

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.