I run bitcoin-qt all the time, so I set the browser to handle bitcoin:// URI with bitcoin-qt. Unfortunately that causes a new instance to be started, which fails coz it fails to get a lock on the database.
What's the best way to do this?
I have 'server=1' to enable json-rpc access to bitcoin-qt.
Do I need to set the browser to handle these links with another app (say bitcoin-cli) which talks to bit-qt via rpc?
Or do I need to reconfigure the whole thing and run bitcoind as the server with the running bitcoin-qt talking to it via rpc and the browser-started bitcoin-qt doing the same?
Perhaps the only answer is to shut bitcoin-qt down before clicking the bitcoin:// link. Seems pretty messy tho.