Bitcoin Forum
May 08, 2024, 06:22:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Unceremonious ArmoryDB death when scanning tx history  (Read 320 times)
Randseed (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 04, 2017, 07:47:28 AM
 #1

I hadn't done any actual transactions with my wallet in a while until yesterday. I noticed that while I could send bitcoins out, the database didn't seem to be updating. I'd have a bunch of confirmations visible on blockchain.info, and none reflected in Armory. So after much fiddling around, I upgraded Bitcoin Core to 0.15.0.1, and Armory to the latest version which appears to be 0.96-beta-a3d01aa722.

ArmoryDB, however, commits suicide at 81% through scanning the transaction history:
Code:
-INFO  - 1509778726: (..\BlockchainScanner.cpp:650) scanned from height #445832 to #445875
-INFO  - 1509778727: (..\BlockchainScanner.cpp:650) scanned from height #445876 to #445893
-INFO  - 1509778727: (..\BlockchainScanner.cpp:650) scanned from height #445894 to #445896
-INFO  - 1509778727: (..\BlockchainScanner.cpp:650) scanned from height #445897 to #445909
-INFO  - 1509778727: (..\BlockchainScanner.cpp:650) scanned from height #445910 to #445913
-INFO  - 1509778727: (..\BlockchainScanner.cpp:650) scanned from height #445914 to #445926
-INFO  - 1509778727: (..\BlockchainScanner.cpp:650) scanned from height #445927 to #446013
-INFO  - 1509778727: (..\BlockchainScanner.cpp:650) scanned from height #446014 to #446039
-INFO  - 1509778728: (..\BlockchainScanner.cpp:650) scanned from height #446040 to #446074
-INFO  - 1509778728: (..\BlockchainScanner.cpp:650) scanned from height #446075 to #446199
-INFO  - 1509778728: (..\BlockchainScanner.cpp:650) scanned from height #446200 to #446282
-INFO  - 1509778729: (..\BlockchainScanner.cpp:650) scanned from height #446283 to #446608
-ERROR - 1509778730: (..\BlockchainScanner.cpp:271) raw data does not match expected block hash
PS C:\Program Files (x86)\Armory>

I don't know why it's falling on its face like this but I presume that there's a corrupt block. Unfortunately, since it isn't telling me which one to delete and redownload or even giving me a timeframe, it isn't so easy.

I'm going to try a complete rebuild of the database and see how that works.
1715192523
Hero Member
*
Offline Offline

Posts: 1715192523

View Profile Personal Message (Offline)

Ignore
1715192523
Reply with quote  #2

1715192523
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715192523
Hero Member
*
Offline Offline

Posts: 1715192523

View Profile Personal Message (Offline)

Ignore
1715192523
Reply with quote  #2

1715192523
Report to moderator
Randseed (OP)
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
November 04, 2017, 08:18:29 AM
 #2

Yep. Odd. So I basically just renamed my L:\Armory folder, created an empty one, and had Armory rebuild the database from the blockchain. Then imported my wallet files from the old folder. Seems to be working.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
November 04, 2017, 09:58:31 AM
 #3

You're downloading Armory from the wrong place... So you're using an old, outdated version.

Correct website is: https://btcarmory.com
Most recent "stable" version is here: https://btcarmory.com/0.96.3-release/

However, that version doesn't play well with Bitcoin Core v0.15.0.1... so you'll need the latest beta release from here: https://github.com/goatpig/BitcoinArmory/releases/tag/v0.96.3.99

Aka v0.96.4 RC1

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!