Bitcoin Forum

Bitcoin => Armory => Topic started by: baremetal on February 18, 2021, 09:07:44 PM



Title: ArmoryDB always parsing blocks again
Post by: baremetal on February 18, 2021, 09:07:44 PM
Hi guys,

I can't get Armory running reliably and efficiently. I already rebuilt the whole stuff multiple times. Lastly based on following post of 2017.

If you are having stability issues, you want to use this:

https://github.com/goatpig/BitcoinArmory/releases/tag/v0.96.0.3-testing

Bootstrap the DB like this:

1) Delete the content of C:\Users\XXXXXX\AppData\Roaming\Armory\databases. Don't delete the folder, the DB won't create it for you, just empty its content

2) Don't run Bitcoin at all. Open your command line prompt (type cmd in the search bar), cd to the Armory binary folder, and type ArmoryDB.exe in there. This will run the DB on its own. Let it build. Once it is done, it should tell you something like "Enabling zero conf parsing".

3) With the DB still running and the build phase over, start ArmoryQt. This will send the DB in its scan phase.

4) Once that's done you should be done with the hard part. You can shut all that stuff down, start your node and let it catch up, then start Armory the regular way.

Here https://pastebin.com/k4fe1e5Y (https://pastebin.com/k4fe1e5Y) you can find the dblog.
The first run (in the log) was as described above. Then after shutting all down, starting Bitcoin Core and Armory it restarts parsing blocks from #1336. After some time ArmoryDb just crashes.

I have used Armory before many years ago and can't remember having those problems. Am I doing something wrong this time? Why is Armory always starting to parse the blocks again which it already has parsed.
It seems like Armory isn't saving the state.





Title: Re: ArmoryDB always parsing blocks again
Post by: baremetal on February 25, 2021, 01:53:36 PM
Anyone?
Anything I could check or do to get this work?


Title: Re: ArmoryDB always parsing blocks again
Post by: HCP on February 27, 2021, 06:38:36 AM
Can you post the armorylog.txt logfile? ???

Also, what OS are you using... and what are the exact versions of Armory and Bitcoin Core you are you using? I would recommend:

Bitcoin Core: 0.21.0
Armory: 0.96.5 (get this from here: https://btcarmory.com/ (DO NOT USE bitcoinarmory.com... it's old and outdated!)


Title: Re: ArmoryDB always parsing blocks again
Post by: baremetal on February 28, 2021, 06:33:43 PM
Nevermind... My Blockchain-Data just got corrupted(probably filesystem). I won't redownload or reindex it again.
I am done. I give up and will use Electrum.

Thanks anyway.


Title: Re: ArmoryDB always parsing blocks again
Post by: HCP on February 28, 2021, 11:55:49 PM
I am done. I give up and will use Electrum.
Fair enough... I have a small guide for extracting the private keys from Armory here: https://bitcointalk.org/index.php?topic=4746784.msg43255691#msg43255691

Once you have the PrivBase58 keys, you should be able to copy/paste them into Electrum (select the "Import Bitcoin Addresses or private keys" option when creating a new wallet) . NOTE: do not include the 'PrivBase58' part... you just want the text starting with a "5" (or "K" or "L'")