-1
c:\data\bitcoin-qt -wallet=c:\dir\wal\ -datadir=c:\btcdata\ 

and

c:\data\bitcoin-qt -wallet=c:\dir\wal2\ -datadir=c:\btcdata2\ 

take error

sqlitedatabase: unable to obtain an exclusive lock on the database is it being used by another instance of bitcoin core

how to run multi sample bitcoin-qt for one block data dir with different wallets?

1 Answer 1

0

how to run multi sample bitcoin-qt for one block data dir with different wallets?

I expect you can't concurrently run two instances of bitcoin-qt using the same block-data directory.

This would be because both would be trying to update the same block files and get in each others way. The data likely would be corrupted if this were not prevented by file-level locking etc.


Instead, I suspect the RPC API allows you to switch between two or more wallets using a single instance of bitcoin-qt (or bitcoind) using the loadwallet command.

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.