python-bitshares icon indicating copy to clipboard operation
python-bitshares copied to clipboard

Change sqlite database to mysq

Open anthon-alindada opened this issue 7 years ago • 1 comments

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?

anthon-alindada avatar Feb 08 '18 05:02 anthon-alindada

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()

xeroc avatar Feb 14 '18 12:02 xeroc