Closed spangin closed 4 years ago
I noticed the other day that I could not read the spent-addresses-db because it had a LOCK on it. Does this PR fix that?
Yes. In this fix RocksDBPersistenceProvider instance is created and closed correctly. So the DB can be used again.
I noticed the other day that I could not read the spent-addresses-db because it had a LOCK on it. Does this PR fix that?
Yes. In this fix RocksDBPersistenceProvider instance is created and closed correctly. So the DB can be used again.
Hmmmm.... when I cherry-picked the commits, I actually had problems (the output is above). I did cherry-pick the commits out of order. Might that have been my problem?
Also, if you have some chance, I made some changes to the SpentAddressesProviderImpl in my PR 247. Is there any possibility of merging these into your branch?
lso, if you have some chance, I made some changes to the SpentAddressesProviderImpl in my PR 247. Is there any possibility of merging these into your branch?
My fix is not big, so I'll be able to resolve the conflicts if your PR be approved firstly. The 2nd way is I can add the code to your branch. It will not take much time.
I noticed the other day that I could not read the spent-addresses-db because it had a LOCK on it. Does this PR fix that?
I tried to cherry pick both commit hashes. Things seemed ok until I stopped and restarted the node. Then, I got the following message in stderr: