Bug report: I've got an error like 'database is locked' when I minted my first block and miner.py immediately halted. I relaunched it and its running smoothly for the last 30 minutes minting new blocks and it happened again. I'm not sure small part of the log helps to track down tat concurrency issue, but still hope it might help.
OperationalError: database is locked
Process Process-1:
Process Process-3:
Traceback (most recent call last):
Traceback (most recent call last):
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
self.run()
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
self._target(*self._args, **self._kwargs)
File "miner.py", line 48, in miner
File "miner.py", line 48, in miner
c.execute("SELECT block_hash, block_height,timestamp FROM transactions WHERE reward != 0 ORDER BY block_height DESC LIMIT 1;")
OperationalError: database is locked
c.execute("SELECT block_hash, block_height,timestamp FROM transactions WHERE reward != 0 ORDER BY block_height DESC LIMIT 1;")
OperationalError: database is locked
v: 2.591 OS:Ubuntu