Author

Topic: Transaction History Scan, fails (Read 266 times)

legendary
Activity: 3206
Merit: 2904
Block halving is coming.
March 21, 2022, 06:58:39 PM
#24
It's been a while so i don't know if what might of been fixed since, yesterday i just ran the Help>Rebuild and Rescan Databases, let it complete and wallet is functioning again.

Rebuilding and rescan databases fix most common issues related to transactions and databases and also fix crashes.

Newbies or users should do that first as Armory suggested in their troubleshooting guide. The given solution from previous posts on this thread is only if Rebuild and rescan do not work. You might have the same issue as OP but if you check the Armorylog.txt or dblog.txt you will notice the differences.
newbie
Activity: 7
Merit: 0
March 21, 2022, 01:01:08 PM
#23
It's been a while so i don't know if what might of been fixed since, yesterday i just ran the Help>Rebuild and Rescan Databases, let it complete and wallet is functioning again.
legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
March 10, 2022, 11:17:22 PM
#22
Hello everyone, seem to be having this issue myself. Armory gets to Scanning Transaction History then freezes or halts. Don't have much to ask at the moment, just following the conversation and searching for a resolution myself, if i happen to come by one i'll post it.
-snip-
The thread title's issue comes in variety of reasons.
OP's issue is seemingly a wrong block in his blockchain; in your case, check the logs (Armorylog.txt & dblog.txt) if the issue you're experiencing is the same as OP's.
newbie
Activity: 7
Merit: 0
March 10, 2022, 06:01:45 PM
#21
Hello everyone, seem to be having this issue myself. Armory gets to Scanning Transaction History then freezes or halts. Don't have much to ask at the moment, just following the conversation and searching for a resolution myself, if i happen to come by one i'll post it.

Thanks to all those involved and helping.
legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
February 26, 2022, 11:32:40 PM
#20
Hypothetically speaking  
If i knew whick blockchain file was suspected to be in someway corrupt, if it was deleted or renamed, would
bitcoin rebuild it when it scans the blockchain files and correct the error?
I've seen some developers suggest that before doing a -reindex but I haven't tried it myself.
Specifically this stackoverflow post: https://bitcoin.stackexchange.com/a/54455
newbie
Activity: 8
Merit: 0
February 26, 2022, 10:36:38 PM
#19
Hypothetically speaking  
If i knew whick blockchain file was suspected to be in someway corrupt, if it was deleted or renamed, would
bitcoin rebuild it when it scans the blockchain files and correct the error?

Personally i don't know the answer, nor do i know which blockchain file.
 Cry
legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
February 25, 2022, 10:09:44 PM
#18
Just looked at Bitcoin/data  and found bitcoin had generated another bitcoin.conf file, 0 length.
I assume when it did not find the bitcoin.conf file there... hmmm
Bitcoin Core will still use the one in the default directory, plus it created one in the custom data directory that you put in it so it's using the config.

Now for the same error,
Hmm, everything now checks-out, getblockchaininfo's result is good, pathing is good and Armory's database is fresh.
At this point, I'd guess it's the blockchain, there may be a corrupted block at the point of the error.

-edit-
In the newer versions of Core, if the custom datadir was set in the 'welcome screen' of the GUI, then it wont use the config in the default datadir.
Anyways, it's pointing to the same datadir so, nothing's changed.
newbie
Activity: 8
Merit: 0
February 25, 2022, 08:16:57 PM
#17

>(figured because the actual Bitcoin datadir should have more than one folders in it)
>So we're back to square one, looking for the issue.
H:/Bitcoin       420 GB (451,118,116,864 bytes)   8,430 Files, 9 Folders 
H:/Bitcoin/data  420 GB (451,053,727,744 bytes)   8,326 Files, 4 Folders
Dir as of this moment.

>'bitcoin.conf' 'bitcoin.conf.txt'  hidden extension.
yeah , aware of windows tricks.

>we don't know how did you install bitcoin core and Armory in my experience
It's a win10 machine, and these are the Windows executables install files used most recently, run as user:
 bitcoin-22.0-win64-setup.exe
 armory_0.96.5_win64.exe

 C:\Users\greyaliens\AppData\Roaming\Bitcoin , did not have a bitcoin.conf, it was in the H:\Bitcoin.
 Generated bitcoin.conf in the Roaming\Bitcoin dir, with suggested configs,  and removed existing config from H:/Bitcoin. (just to be sure)
started bitcoin, allow to sync and ran getblockchaininfo in console.
 11:38:51
 getblockchaininfo
  "chain": "main",
  "blocks": 724911,
  "headers": 724911,
  "initialblockdownload": false,
  "size_on_disk": 446030677731,
  "pruned": false,
  "warnings": ""

>If everything checks-out, continue with Armory.
ok.
 Removed config option from shortcut.
"C:\Users\greyaliens\AppData\Roaming\Armory"
added satoshi-datadir line to armoryqt.conf
renamed armoury database dir.

> Now open Armory without the start parameters in the shortcut
Ok,  ran armoury, again
Code:
----- from log files.
Invoked: C:\Program Files (x86)\Armory\ArmoryQt.exe --satoshi-datadir=H:\Bitcoin\data
Loading Armory Engine:
Armory Version        : 0.96.5
Detected Operating system: Windows
User home-directory   : C:\Users\greyaliens\AppData\Roaming
Satoshi BTC directory : H:\Bitcoin\data
Armory home dir       : C:\Users\greyaliens\AppData\Roaming\Armory\
settingsPath    : C:\Users\greyaliens\AppData\Roaming\Armory\ArmorySettings.txt
satoshiHome     : H:\Bitcoin\data

Spawning bitcoind with command: C:\Program Files\Bitcoin\daemon\bitcoind.exe -datadir=H:\Bitcoin\data
ArmoryQt.py:1891 - Setting satoshi datadir = H:\Bitcoin\data
Spawning DB with command: C:\Program Files (x86)\Armory\ArmoryDB.exe --db-type="DB_FULL" --cookie
--satoshi-datadir="H:\Bitcoin\data\blocks" --satoshi-port=8333 --datadir="C:\Users\greyaliens\AppData\Roaming\Armory\"
--dbdir="C:\Users\greyaliens\AppData\Roaming\Armory\databases"

2022-02-25 11:48:31 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 1
2022-02-25 11:48:31 (INFO) -- ArmoryQt.py:1905 - loadBlockchainIfNecessary
2022-02-25 11:48:31 (ERROR) -- ArmoryQt.py:1198 - 13 attempts to load blockchain failed.  Remove mempool.bin.
2022-02-25 11:48:31 (ERROR) -- ArmoryQt.py:1203 - File mempool.bin does not exist. Nothing deleted.
2022-02-25 11:48:31 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 1
2022-02-25 11:48:31 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
.
2022-02-25 15:23:30 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2022-02-25 15:51:16 (INFO) -- ArmoryQt.py:5475 - BDM state is scanning -- force shutdown BDM
2022-02-25 15:51:16 (INFO) -- SDM.pyc:465 - Called stopBitcoind
stop Armoury here...

armoury
dblog
Log file opened at 11:48:29.000: C:\Users\greyaliens\AppData\Roaming\Armory\dbLog.txt
-INFO  - 11:48:29.000: (e:\users\goat\code\armory3\cppforswig\main.cpp:32) Running on 8 threads
-INFO  - 11:48:29.000: (e:\users\goat\code\armory3\cppforswig\main.cpp:33) Ram usage level: 50
-INFO  - 11:48:29.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:915) blkfile dir: H:\Bitcoin\data\blocks
-INFO  - 11:48:29.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:916) lmdb dir: C:\Users\greyaliens\AppData\Roaming\Armory\databases
-INFO  - 11:48:29.000: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 11:48:29.015: (e:\users\goat\code\armory3\cppforswig\bdm_server.h:263) Listening on port 6
-INFO  - 11:48:29.015: (e:\users\goat\code\armory3\cppforswig\bitcoinp2p.cpp:947) Connected to Bitcoin node
-INFO  - 11:48:31.156: (e:\users\goat\code\armory3\cppforswig\bdm_server.cpp:1121) registered bdv: 185623
-INFO  - 11:48:35.109: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:1108) Executing: doInitialSyncOnLoad
-INFO  - 11:48:35.250: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:199) Reading headers from db
-WARN  - 11:48:35.250: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1241) No headers in DB yet!
-INFO  - 11:48:35.250: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:238) Found 1 headers in db
-INFO  - 11:48:35.250: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:71) updating HEADERS db
-INFO  - 11:48:44.422: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #2
-INFO  - 11:48:44.578: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #7
-INFO  - 11:48:54.734: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #15

-INFO  - 11:51:55.390: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #133
-INFO  - 11:52:01.375: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #135
-ERROR - 11:52:04.687: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:366) block deser except:
-ERROR - 11:52:04.687: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:367) block fileID: 128

-INFO  - 13:19:09.312: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #2937
-INFO  - 13:28:17.812: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:493) Found next block after skipping 0bytes
-INFO  - 13:30:14.625: (e:\users\goat\code\armory3\cppforswig\blockchain.cpp:248) Organizing chain
-INFO  - 13:30:16.515: (e:\users\goat\code\armory3\cppforswig\blockchain.cpp:370) Organized chain in 1s
-INFO  - 13:30:21.453: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:76) updated HEADERS db in 6106s
-INFO  - 13:30:21.531: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 13:30:21.531: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:1231) verifying txfilters integrity
-INFO  - 13:30:27.312: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:1314) done checking txfilters
-INFO  - 13:30:27.344: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:1891) Enabling zero-conf tracking
-INFO  - 13:30:27.453: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:52) no history to scan
-INFO  - 13:30:27.453: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:401) Starting address registration process
-INFO  - 13:30:36.187: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #0 to #142691

-INFO  - 14:46:16.500: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #472284 to #472847
-ERROR - 14:46:17.703: (e:\users\goat\code\armory3\cppforswig\bitcoinp2p.cpp:1037) caught StopBlockingLoop in processDataStackThread
-INFO  - 14:46:17.703: (e:\users\goat\code\armory3\cppforswig\bitcoinp2p.cpp:969) Disconnected from Bitcoin node
-INFO  - 14:46:39.250: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #472848 to #473394

-INFO  - 14:56:39.750: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #489257 to #489787
-ERROR - 14:56:48.187: (e:\users\goat\code\armory3\cppforswig\socketobject.cpp:290) POLLERR error in readFromSocketThread
-ERROR - 14:56:48.187: (e:\users\goat\code\armory3\cppforswig\bitcoinp2p.cpp:1027) caught SocketError exception in processDataStackThread: POLLERR error in readFromSocketThread
-INFO  - 14:57:01.609: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #489788 to #490362

-INFO  - 15:23:30.578: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #531204 to #531708
-ERROR - 15:23:52.281: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
-ERROR - 15:23:52.281: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:447) Has the following block files:
-ERROR - 15:23:52.281: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1316
same error same spot...

Just looked at Bitcoin/data  and found bitcoin had generated another bitcoin.conf file, 0 length.
I assume when it did not find the bitcoin.conf file there... hmmm



legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
February 25, 2022, 12:39:20 AM
#16
----------------- from the logs
Invoked: C:\Program Files (x86)\Armory\ArmoryQt.exe --satoshi-datadir=H:\Bitcoin\data
Spawning DB with command: C:\Program Files (x86)\Armory\ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="H:\Bitcoin\data\blocks"
-snip-
That's the same pathing setting as the previous.

What I want to confirm is: if the correct blocks directory is actually "H:\Bitcoin\data\blocks".
Because it's the one that Armory is using, and it keeps on getting an error that indicates that the blockdir doesn't have the whole blockchain.
But this kinda answered it:
(dir)   H:\Bitcoin  419 GB (450,776,633,913 bytes) 5,942 Files, 1 Folders
"1 Folders" must be the 'data' folder, so Armory may be using the correct satoshi-datadir "H:\Bitcoin\data" afterall.
(figured because the actual Bitcoin datadir should have more than one folders in it)
So we're back to square one, looking for the issue.


Anyways, try these setup

In Bitcoin Core:
  • Go to "C:\Users\greyaliens\AppData\Roaming\Bitcoin"
  • Find bitcoin.conf file (create one if you don't have it)
  • Open it as text, and add the configs datadir=H:\Bitcoin\data and prune=0 (one config per line) then save.
  • Start Bitcoin Core, open the console (Window->Console), and enter: getblockchaininfo
  • In the result, the line "initialblockdownload" should be false because it indicates that you have the complete blockchain in that datadir;
    you may as well check "blocks": 724826 (value as of now) if the value isn't lower.

If everything checks-out, continue with Armory.
In Armory:
  • Go to "C:\Users\greyaliens\AppData\Roaming\Armory"
  • Find armoryqt.conf file (create one if you don't have it)
  • Open it as text, and add a line satoshi-datadir="H:\Bitcoin\data" then save.
  • Find and rename "database" folder into "database_backup"
  • Now open Armory without the start parameters in the shortcut and see if it'll be able to build the database this time.


BTW, the config files should have the ".conf" as the extension if you have to create them manually by creating a text file and renaming that text file.
Because in Windows, it might display as 'bitcoin.conf' but it's actually 'bitcoin.conf.txt' because of the hidden extension.
In that case, you might need to enable it in Windows File Explorer's setting, tick: "View->File Name Extensions".
legendary
Activity: 3206
Merit: 2904
Block halving is coming.
February 24, 2022, 07:58:37 PM
#15
Your post looks messy better don't use the quote if you don't know how to use it and better use insert code tag to put all of your logs because it's messy and hard to read without pasting the whole logs.

Look at this sample
Code:
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1316
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1317
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1318
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1319
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1320
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1321
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1322
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:451) Was looking for id #1323

You are stuck on this error actually your issue is weird we don't know how did you install bitcoin core and Armory in my experience never had any issue installing and running them. I have only 3 suspected issues why you are stuck here the block #1323 is missing the reason might be your Bitcoin core is set to prune mode or path issue or maybe you have two or multiple Bitcoin data folders and armory is confused.

Why not try to start everything uninstall armory and Bitcoin core and reinstall them again?
Just make sure that you have copies or backup of blocks so that you won't need to redownload them again and start installing the Bitcoin core first before you install Armory again. To clear everything and to point them on the right path.
newbie
Activity: 8
Merit: 0
February 24, 2022, 04:42:06 PM
#14
Yes, -reindex checks the local blockchain for blocks to rebuild the 'block index', so if any of the block is corrupted, it'll have to resync the blockchain from that point.
So I think it may just be "pathing issue" in Armory.

Since you've set that directory as "SatoshiDatadir" to Armory, check if Bitcoin Core is using that as datadir as well.
How did you set Drive H as Bitcoin datadir?
What's the exact directory did you set as Bitcoin datadir?

If you decided to browse to "H:\Bitcoin\data" folder instead, you can check if the blockchain's size is appropriate for a full-synced blockchain.
the blockchain that Armory is using is: "H:\Bitcoin\data\blocks", check the blocks folder's properties and see if the size is about 445GB.
[/quote]

-------------------------
Ok  from today.
Yesterday I went through and put the \data dir  into the shortcuts, as (above) referred to in the troubleshooting guide.
If memory serves,  when bitcoin was re-installed,  the data dir was set back then in the dim past install.  (It was the drive with space)
(dir)   H:\Bitcoin  419 GB (450,776,633,913 bytes) 5,942 Files, 1 Folders

ran armoury, Let bitcoin sync, and... wait for armoury to rebuild it's databases(again)..
sad to say the logs, show things grind to a halt at the same spot, again.
trying not to clutter the post with log entries...but...

----------------- from the logs
Invoked: C:\Program Files (x86)\Armory\ArmoryQt.exe --satoshi-datadir=H:\Bitcoin\data
Spawning DB with command: C:\Program Files (x86)\Armory\ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="H:\Bitcoin\data\blocks" --satoshi-port=8333 --datadir="C:\Users\greyaliens\AppData\Roaming\Armory\" --dbdir="C:\Users\greyaliens\AppData\Roaming\Armory\databases"

Log file opened at 07:56:13.000: C:\Users\greyaliens\AppData\Roaming\Armory\dbLog.txt
-INFO  - 07:56:13.000: (e:\users\goat\code\armory3\cppforswig\main.cpp:32) Running on 8 threads
-INFO  - 07:56:13.000: (e:\users\goat\code\armory3\cppforswig\main.cpp:33) Ram usage level: 50
-INFO  - 07:56:13.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:915) blkfile dir: H:\Bitcoin\data\blocks
-INFO  - 07:56:13.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:916) lmdb dir: C:\Users\greyaliens\AppData\Roaming\Armory\databases
-INFO  - 07:56:13.000: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 07:56:13.016: (e:\users\goat\code\armory3\cppforswig\bdm_server.h:263) Listening on port
-INFO  - 07:56:15.141: (e:\users\goat\code\armory3\cppforswig\bdm_server.cpp:1121) registered bdv:
-INFO  - 07:58:35.844: (e:\users\goat\code\armory3\cppforswig\noderpc.cpp:57) RPC connection established
-INFO  - 07:58:35.844: (e:\users\goat\code\armory3\cppforswig\bitcoinp2p.cpp:947) Connected to Bitcoin node
-INFO  - 07:58:35.109: (e:\users\goat\code\armory3\cppforswig\blockdatamanagerconfig.cpp:919) waiting on node sync: 99.9851%
-INFO  - 07:58:35.109: (e:\users\goat\code\armory3\cppforswig\noderpc.cpp:425) Node is ready
-INFO  - 07:58:35.109: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:1108) Executing: doInitialSyncOnLoad
-INFO  - 07:58:36.250: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:199) Reading headers from db
-WARN  - 07:58:36.250: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:1241) No headers in DB yet!
-INFO  - 07:58:36.250: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:238) Found 1 headers in db
-INFO  - 07:58:36.250: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:71) updating HEADERS db
-INFO  - 07:58:47.313: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #4
........blah blah blah.......
-INFO  - 11:46:58.172: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #531204 to #531708
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:447) Has the following block files:
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1316
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1317
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1318
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1319
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1320
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1321
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1322
-ERROR - 11:47:21.188: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:451) Was looking for id #1323
legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
February 23, 2022, 11:17:39 PM
#13
This from the ArmourySettings file   shows the correct pathing.
SatoshiDatadir                       | H:\Bitcoin\data
----------------------                        ----------------------
As for hardware issues, i will run drive checks on the H:  ,  but my brain suggests that any errors in the bitcoin files, should have been caught by bitcoincore during the -reindex.
Am i using correct assumptions?  
Yes, -reindex checks the local blockchain for blocks to rebuild the 'block index', so if any of the block is corrupted, it'll have to resync the blockchain from that point.
So I think it may just be "pathing issue" in Armory.

Since you've set that directory as "SatoshiDatadir" to Armory, check if Bitcoin Core is using that as datadir as well.
How did you set Drive H as Bitcoin datadir?
What's the exact directory did you set as Bitcoin datadir?

If you decided to browse to "H:\Bitcoin\data" folder instead, you can check if the blockchain's size is appropriate for a full-synced blockchain.
the blockchain that Armory is using is: "H:\Bitcoin\data\blocks", check the blocks folder's properties and see if the size is about 445GB.
legendary
Activity: 3206
Merit: 2904
Block halving is coming.
February 23, 2022, 01:29:22 PM
#12
He's pointing if your bitcoin core data is in "H:\Bitcoin\data" so manually check that folder and check the bitcoin core if it's also pointing on that location folder.

Also, take note of your PC if the time and date are correct.

If all are fine but the issue is still the same then I suggest you try pointing bitcoin data manually follow the guide from this link below
- https://www.bitcoinarmory.com/troubleshooting/#how-can-i-change-the-blockchain-database-storage-location-for-armory-and-bitcoin-core
newbie
Activity: 8
Merit: 0
February 23, 2022, 12:37:29 PM
#11

Can you confirm that "H:\Bitcoin\data" is your Bitcoin Core's custom data directory?
Otherwise, if it's "H:\Bitcoin", then Armory's blkfile dir should be "H:\Bitcoin\blocks".
If no, then look for hardware issues specially the "H" drive before attempting to re-download the whole blockchain.
[/quote]


This from the ArmourySettings file   shows the correct pathing.
SatoshiDatadir                       | H:\Bitcoin\data
----------------------                        ----------------------
As for hardware issues, i will run drive checks on the H:  ,  but my brain suggests that any errors in the bitcoin files, should have been caught by bitcoincore during the -reindex.
Am i using correct assumptions?   
legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
February 20, 2022, 11:15:18 PM
#10
Hmm, same result even after -reindex and rebuild database   :-\

Is Armory perhaps looking for a different directory where there's an incomplete blockchain?
Specifically this:
-INFO  - 14:23:36.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:915) blkfile dir: H:\Bitcoin\data\blocks

Can you confirm that "H:\Bitcoin\data" is your Bitcoin Core's custom data directory?
Otherwise, if it's "H:\Bitcoin", then Armory's blkfile dir should be "H:\Bitcoin\blocks".
If no, then look for hardware issues specially the "H" drive before attempting to re-download the whole blockchain.
newbie
Activity: 8
Merit: 0
February 20, 2022, 05:51:14 PM
#9

Instead of starting from scratch,
try -reindex instead, it's slower than -reindex-chainstate but a lot faster than a full resync (plus it wont cost you any bandwidth).

You mentioned that you've used -reindex-chainstate a few times but that won't find if there's any corrupted block in your blockchain
because it'll only rebuild the UTXO set from the already built block index.
[/quote]

Back on the 14th  post,  i did let bitcoincore do a -reindex
Armoury ran the full scan and rebuild of it's databases
With the exact same result.  
 
I appreciate the sugggestion, don't get me wrong.   I just want it to work   Wink
Not 100%  convinced that a 400+gb DL and time will result in a different outcome.

legendary
Activity: 2338
Merit: 5297
Self-proclaimed Genius
February 18, 2022, 10:55:33 PM
#8
EDIT:  Begininning to think i should just let bitcoincore start from scratch.  Opinions?
will try letting armoury re-do the databases again tomorrow...
and
Found this in the armourylog for this run.
-snip-
Instead of starting from scratch,
try -reindex instead, it's slower than -reindex-chainstate but a lot faster than a full resync (plus it wont cost you any bandwidth).

You mentioned that you've used -reindex-chainstate a few times but that won't find if there's any corrupted block in your blockchain
because it'll only rebuild the UTXO set from the already built block index.
legendary
Activity: 3206
Merit: 2904
Block halving is coming.
February 18, 2022, 07:58:42 PM
#7
It seems that many users have the same issue but I can't find that they solve the issue. Bitcoin core is keep developing and releasing new versions and maybe the armory can't detect the latest version of Bitcoin core. Look the last update of Armory is 2018 and no latest update with this wallet.

So if you downgrade the Bitcoin core when taproot is not implemented yet maybe Armory will work properly. That's just my theory but you can try it.



Do you need the BTC from your wallet right away?
If you don't want too much hassle you can export your private keys from Armory(Run it offline) and then import it to Electrum. You don't need to download the whole blockchain or wait to be fully synced.
newbie
Activity: 8
Merit: 0
February 17, 2022, 11:29:27 PM
#6
EDIT:  Begininning to think i should just let bitcoincore start from scratch.  Opinions?


  Prune mode is not in the bitcoin config file, and is unchecked in the settings console.
  The server=1  was not in the bitcoin.config, but added it in.  
i hate to say it...  same thing happens.
will try letting armoury re-do the databases again tomorrow...
and
Found this in the armourylog for this run.

-INFO  - 15:16:01.484: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #138
-INFO  - 15:16:14.734: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #146
-ERROR - 15:16:20.312: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:366) block deser except:
-ERROR - 15:16:20.312: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:367) block fileID: 128
-INFO  - 15:16:29.187: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #154
-INFO  - 15:16:42.609: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #162

-INFO  - 17:05:08.281: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #2917
-INFO  - 17:05:08.281: (e:\users\goat\code\armory3\cppforswig\blockchain.cpp:248) Organizing chain
-INFO  - 17:05:10.156: (e:\users\goat\code\armory3\cppforswig\blockchain.cpp:370) Organized chain in 1s
-INFO  - 17:05:15.156: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:76) updated HEADERS db in 6765s
-INFO  - 17:05:15.203: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 17:05:15.203: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:1231) verifying txfilters integrity
-INFO  - 17:05:21.937: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:1314) done checking txfilters
-INFO  - 17:05:21.969: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:1891) Enabling zero-conf tracking
-INFO  - 17:05:21.047: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:401) Starting address registration process
-INFO  - 17:05:33.484: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #0 to #142691
-INFO  - 17:05:45.359: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #142692 to #170004

-INFO  - 19:03:37.828: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #531204 to #531708
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:447) Has the following block files:
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1316
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1317
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1318
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1319
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1320
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1321
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1322
-ERROR - 19:03:59.094: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:451) Was looking for id #1323

legendary
Activity: 2324
Merit: 5033
Non-custodial BTC Wallet
February 17, 2022, 08:44:45 PM
#5
How are you sure that your Bitcoin core is not running in pruned mode?
That doesn't seem to be the problem.
According to the Armory log that has been posted in the OP, 531708 blocks were scanned successfully.
If prune mode was enabled in bitcoin core, those blocks data wouldn't be available and Armory wouldn't be able to scan any block.
legendary
Activity: 3206
Merit: 2904
Block halving is coming.
February 17, 2022, 08:06:59 PM
#4
How are you sure that your Bitcoin core is not running in pruned mode?

Would you mind to try checking bitcoin.conf file under Bitcoin core data folder and open it with notepad and check if there is prune=x something
Just delete it and save also check the bitcoin core under settings>option if the prune block storage is checked just uncheck it and click ok.

Also, check the bitcoin.conf if it has server=1 if you can't find it under bitcoin.conf add it then save and then rerun them all.
newbie
Activity: 8
Merit: 0
February 17, 2022, 05:50:37 PM
#3
Can you try to remove the armory database folder and try to run it again?

Ok   Tried having armoury re-do the /databases  folder.   Same result  nodestatsu,  build databases ( sereral hrs ), and scanning transaction history.
The history scan again fails at the same point.
Prior to running armoury, i did a bitcoin core   using -reindex   It completed in a couple of days.
I just do not comprehend where the issues arises from.

 
----------------------------  Todays  dblog  tail....

NFO  - 13:19:43.953: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #529269 to #529871
-INFO  - 13:20:05.000: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #529872 to #530443
-INFO  - 13:20:26.281: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #530444 to #531203
-INFO  - 13:20:50.656: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #531204 to #531708
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:447) Has the following block files:
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1316
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1317
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1318
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1319
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1320
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1321
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1322
-ERROR - 13:21:12.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:451) Was looking for id #1323
legendary
Activity: 3206
Merit: 2904
Block halving is coming.
February 14, 2022, 07:39:50 PM
#2
Can you try to remove the armory database folder and try to run it again?

If you don't know where to find it refer to this link https://btcarmory.com/docs/pathing

You can also factory reset the Armory you can find it under the menu help follow the guide on this link below for other troubleshooting guides.

- https://www.bitcoinarmory.com/troubleshooting/
newbie
Activity: 8
Merit: 0
February 12, 2022, 08:59:49 PM
#1
Hi 
Trying to restore from a paper backup, but running into issues.
Any help is appreciated to get this wallet loaded and functional.
Armoury took the paper keys and generated the wallet, but i run into issues when it scans the transaction history.

Running bitcoincore     v22.0.0   
        Armoury Version : 0.96.5   
 
Bitcoincore starts up ok,  syncs with the network and is up to date. Not running in prune mode.
When i run Armoury, it starts,  Node status green,  BuildDatabases green,  Scanning Transaction History "hangs at about 44%"......

 Did a bitcoincore, -reindex-chainstate.   Took a couple of days to run, finished without error, and sync'd

Re-started Armoury, fails the same way as previously, (it starts,  Node status green,  BuildDatabases green,  Scanning Transaction History "hangs at about 44%"......)

Losing hope at this point... Smiley 
Errors out at the same spot everytime.
Where do i start, and what do i do ??

-----------------------------------------------
From  Armourylog
2022-02-12 14:23:17 (INFO) -- ArmoryQt.py:2060 - loadWalletsAndSettings
2022-02-12 14:23:17 (INFO) -- ArmoryQt.py:2120 - Loading wallets...
2022-02-12 14:23:17 (INFO) -- ArmoryQt.py:2185 - Number of wallets read in: 1
2022-02-12 14:23:17 (INFO) -- ArmoryQt.py:2190 -    Wallet    restored  Encrypted ...
Called startBitcoind
2022-02-12 14:23:39 (INFO) -- ArmoryQt.py:1824 - Connecting on port 63841
2022-02-12 14:23:39 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 1
2022-02-12 14:23:39 (INFO) -- ArmoryQt.py:1905 - loadBlockchainIfNecessary
2022-02-12 14:23:39 (ERROR) -- ArmoryQt.py:1198 - 5 attempts to load blockchain failed.  Remove mempool.bin.
2022-02-12 14:23:39 (ERROR) -- ArmoryQt.py:1203 - File mempool.bin does not exist. Nothing deleted.
2022-02-12 14:23:39 (INFO) -- ArmoryQt.py:1923 - Setting netmode: 1
2022-02-12 14:23:39 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2022-02-12 14:23:39 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2022-02-12 14:23:41 (WARNING) -- ArmoryQt.py:4110 - Called updateSyncProgress while not sync'ing
2022-02-12 14:23:43 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
..
2022-02-12 16:20:10 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2022-02-12 16:20:35 (INFO) -- ArmoryQt.py:4672 - Dashboard switched to "Scanning" mode
2022-02-12 16:46:18 (INFO) -- ArmoryQt.py:3671 - Log saved to H:/Bitcoin/armorylog_20220212_1646_fml.txt

From dblog
-INFO  - 14:23:36.000: (e:\users\goat\code\armory3\cppforswig\main.cpp:32) Running on 8 threads
-INFO  - 14:23:36.000: (e:\users\goat\code\armory3\cppforswig\main.cpp:33) Ram usage level: 50
-INFO  - 14:23:36.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:915) blkfile dir: H:\Bitcoin\data\blocks
-INFO  - 14:23:36.000: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:916) lmdb dir: C:\Users\player1\AppData\Roaming\Armory\databases
-INFO  - 14:23:36.000: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 14:23:36.016: (e:\users\goat\code\armory3\cppforswig\bdm_server.h:263) Listening on port 63841
-INFO  - 14:23:36.016: (e:\users\goat\code\armory3\cppforswig\bitcoinp2p.cpp:947) Connected to Bitcoin node
-INFO  - 14:23:39.141: (e:\users\goat\code\armory3\cppforswig\bdm_server.cpp:1121) registered bdv: 73---something---7
-INFO  - 14:23:43.109: (e:\users\goat\code\armory3\cppforswig\blockutils.cpp:1108) Executing: doInitialSyncOnLoad
-INFO  - 14:23:43.266: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:199) Reading headers from db
-INFO  - 14:23:52.641: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:238) Found 722567 headers in db
-INFO  - 14:23:55.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:64) Rewinding 100 blocks
-INFO  - 14:23:55.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:71) updating HEADERS db
-INFO  - 14:23:55.109: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:493) Found next block after skipping 1124190bytes
-INFO  - 14:23:55.172: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:281) parsed block file #2922
-INFO  - 14:23:56.578: (e:\users\goat\code\armory3\cppforswig\blockchain.cpp:248) Organizing chain
-INFO  - 14:23:56.625: (e:\users\goat\code\armory3\cppforswig\blockchain.cpp:370) Organized chain in 0s
-INFO  - 14:23:56.641: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:76) updated HEADERS db in 1s
-INFO  - 14:23:56.656: (e:\users\goat\code\armory3\cppforswig\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 14:23:56.656: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:1231) verifying txfilters integrity
-INFO  - 14:24:02.766: (e:\users\goat\code\armory3\cppforswig\databasebuilder.cpp:1314) done checking txfilters
-INFO  - 14:24:02.797: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:1891) Enabling zero-conf tracking
-INFO  - 14:24:02.828: (e:\users\goat\code\armory3\cppforswig\bdm_supportclasses.cpp:401) Starting address registration process
-INFO  - 14:24:12.391: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #0 to #142691
-INFO  - 14:24:29.562: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #142692 to #170004
....
-INFO  - 14:33:40.609: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #308114 to #310316
-INFO  - 14:33:55.953: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:52) no history to scan
-INFO  - 14:33:56.422: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #310317 to #312595
..
-INFO  - 16:19:49.250: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #529872 to #530443
-INFO  - 16:20:03.984: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:52) no history to scan
-INFO  - 16:20:10.828: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #530444 to #531203
-INFO  - 16:20:35.219: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:852) scanned from block #531204 to #531708
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:445) Missing file map for output scan, this is unexpected
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:447) Has the following block files:
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1316
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1317
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1318
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1319
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1320
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1321
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:449)  --- #1322
-ERROR - 16:20:56.781: (e:\users\goat\code\armory3\cppforswig\blockchainscanner.cpp:451) Was looking for id #1323
-----------------------------------------



 
Jump to: