Bitcoin Forum
June 14, 2025, 11:57:56 AM *
News: Pizza day contest voting
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Armory shows 'Connected - 0 blocks' - Bitcoin core looks OK?  (Read 37 times)
Crypto_Steve (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
December 09, 2024, 08:11:26 AM
 #1

Good day

I've restored an paper backup wallet back into Armory, and run Bitcoin core as well as latest armory, It looks fine and connected to core, but showing 'connected - 0 blocks' i've pasted what i could below, please let me know if i should do anything else:

1. Bitcoin core version:
https://i.postimg.cc/tCG2dTrm/image.png

2. Armory connected locally to bitcoin core:
https://i.postimg.cc/0yWY42fv/image.png

3. Armory version:
https://i.postimg.cc/nrbY1R1Q/image.png

4. Armory main screen:
https://i.postimg.cc/4yfnZpfS/image.png

5. Log file - Armory: https://jpst.it/41Djg

I'm not sure what i need to do here, but i've confirmed on blockchain.com that the funds are still in the wallet, and it corresponds with the armory wallet, its just not showing in armory. I'm not sure if its something i'm missing, please help.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3934
Merit: 1385

Armory Developer


View Profile
December 09, 2024, 08:59:23 AM
Merited by xandry (10)
 #2

1. Core 0.28 XOR's the blockdata unless you run it over an existing, non XOR'd blockchain folder. If you downloaded the chain from scratch without `-blocksxor=0`, Armory cannot make sense of the blockdata.

2. There's also the case of pruning, this is where Core downloads the blockchain, reads it then dumps ~99% of it to only keep the top 2000 or so blocks. Again, if you downloaded the chain from scratch, this default will make it so Armory cannot read the chain data. You will have to download the chain from scratch with `-prune=0`.

From the looks of it, you suffer from 2. (parsed headers in 0.042sec), but seeing as you will have to download from scratch, you need to deal with 1. as well.

Crypto_Steve (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 1


View Profile
December 10, 2024, 10:34:30 AM
 #3

Thank you for the feedback

Do i delete the blockchain from Bitcoin core and armory folder, put these 2 commands in the config file, and then startup bitcoin core again, afterwards starting armory again?
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3934
Merit: 1385

Armory Developer


View Profile
December 11, 2024, 08:51:43 AM
 #4

1. If can afford the space, copy the Bitcoin blockdata to a backup location before deleting it (blocks and chainstate folders in your Bitcoin datadir). Your Bitcoin datadir is "C:\Users\<MY_NAME>\AppData\Bitcoin"

2. Delete the databases folder from your Armory datadir. Your armory datadir is "C:\Users\<MY_NAME>\AppData\Armory\"

3. In your Bitcoin datadir there should be a bitcoin.conf file. If it's missing, create the file as plain text using the Notepad. Make sure the following lines are in it:
Code:
server=1
blocksxor=0
prune=0

4. Start Bitcoin Core (either bitcoind or bitcoin-qt), let it download the chain. Note that you will need some 600GB of disk space for this. Aim for 700+ to be safe.

5. Once Core is done, start ArmoryDB from the command line, let it do its thing, will take from 30min to a few hours. Leave Core running, ArmoryDB will find it.

6. Once ArmoryDB is done (it will tell you something about zc parser threads), you can start ArmoryQt. Leave ArmoryDB running, ArmoryQt will find it. This will start the scan process, will take from 10min to an hour. Once the scan is done, you should see your balance and transaction history in ArmoryQt.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!