python-bitshares
python-bitshares copied to clipboard
Change sqlite database to mysq
Hi @xeroc, We would like to know if there is a way to change the bitshares.sqlite to other database link mysql. We are planning to load balance our application, and we would like for all of our instances(servers) to have the same bitshares key storage. We would like to know if there are any other ways to load balance our application without having an issue with the bitshares.sqlite?
Currently not ... But I can tell you so much that the sqlite database has it's own access method which is in
bitshares/storage.py
. You may as well write your own module and hook that in instead ...
Alternatively, you can also rewrite the whole bitshares/wallet.py
and hook that in after instanciating bts = BitShares()
with bts.wallet = NewWallet()