Bitcoin Forum
November 08, 2024, 07:36:28 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 »  All
  Print  
Author Topic: Armory 0.96 is not syncing new blocks from Bitcoin Core 0.14.1  (Read 2539 times)
Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 10, 2017, 09:04:35 AM
Last edit: May 10, 2017, 03:42:44 PM by Mr.Vice
 #1

Every now and then there is a problem with the synchronization between Armory and Core. Armory just does not recognize new blocks coming in from Core and the only solution was to do a rebuild and rescan. But it does not help very long, because it occours about every 4-5 days :-/
Can you please help me out with this?
In the log files I did not see any unusual stuff except the missing entry in armorydb regarding the scanning of new blocks. So I will provide the core debug and armorydb logs so you can check the timestamps (it's the log from the same session).

Bitcoin Core debug.log
Code:
2017-05-10 08:35:16 Bitcoin version v0.14.1
2017-05-10 08:35:16 InitParameterInteraction: parameter interaction: -whitelistforcerelay=1 -> setting -whitelistrelay=1
2017-05-10 08:35:16 Assuming ancestors of block 00000000000000000013176bf8d7dfeab4e1db31dc93bc311b436e82ab226b90 have valid signatures.
2017-05-10 08:35:16 Default data directory C:\Users\..\AppData\Roaming\Bitcoin
2017-05-10 08:35:16 Using data directory C:\Users\..\AppData\Roaming\Bitcoin\
2017-05-10 08:35:16 Using config file C:\Users\..\AppData\Roaming\Bitcoin\bitcoin.conf
2017-05-10 08:35:16 Using at most 125 automatic connections (2048 file descriptors available)
2017-05-10 08:35:16 Using 32 MiB out of 32 requested for signature cache, able to store 1048576 elements
2017-05-10 08:35:16 Using 2 threads for script verification
2017-05-10 08:35:16 scheduler thread start
2017-05-10 08:35:16 HTTP: creating work queue of depth 16
2017-05-10 08:35:16 Config options rpcuser and rpcpassword will soon be deprecated. Locally-run instances may remove rpcuser to use cookie-based auth, or may be replaced with rpcauth. Please see share/rpcuser for rpcauth auth generation.
2017-05-10 08:35:16 HTTP: starting 4 worker threads
2017-05-10 08:35:16 Using BerkeleyDB version Berkeley DB 4.8.30: (April  9, 2010)
2017-05-10 08:35:16 Using wallet wallet.dat
2017-05-10 08:35:16 init message: Verifying wallet...
2017-05-10 08:35:16 CDBEnv::Open: LogDir=C:\Users\..\AppData\Roaming\Bitcoin\database ErrorFile=C:\Users\..\AppData\Roaming\Bitcoin\db.log
2017-05-10 08:35:16 Bound to [::]:8333
2017-05-10 08:35:16 Bound to 0.0.0.0:8333
2017-05-10 08:35:16 Cache configuration:
2017-05-10 08:35:16 * Using 2.0MiB for block index database
2017-05-10 08:35:16 * Using 8.0MiB for chain state database
2017-05-10 08:35:16 * Using 440.0MiB for in-memory UTXO set (plus up to 286.1MiB of unused mempool space)
2017-05-10 08:35:16 init message: Loading block index...
2017-05-10 08:35:16 Opening LevelDB in C:\Users\..\AppData\Roaming\Bitcoin\blocks\index
2017-05-10 08:35:16 Opened LevelDB successfully
2017-05-10 08:35:16 Using obfuscation key for C:\Users\..\AppData\Roaming\Bitcoin\blocks\index: 0000000000000000
2017-05-10 08:35:16 Opening LevelDB in C:\Users\..\AppData\Roaming\Bitcoin\chainstate
2017-05-10 08:35:17 Opened LevelDB successfully
2017-05-10 08:35:17 Using obfuscation key for C:\Users\..\AppData\Roaming\Bitcoin\chainstate: 7995d0e976831140
2017-05-10 08:35:24 LoadBlockIndexDB: last block file = 862
2017-05-10 08:35:24 LoadBlockIndexDB: last block file info: CBlockFileInfo(blocks=126, size=125107788, heights=465526...465691, time=2017-05-09...2017-05-10)
2017-05-10 08:35:24 Checking all blk files are present...
2017-05-10 08:35:24 LoadBlockIndexDB: transaction index disabled
2017-05-10 08:35:24 LoadBlockIndexDB: hashBestChain=000000000000000000e7417c94d5464de3bee04150b0811254b725a16d38c11a height=465624 date=2017-05-09 15:35:43 progress=0.999114
2017-05-10 08:35:24 init message: Rewinding blocks...
2017-05-10 08:35:26 init message: Verifying blocks...
2017-05-10 08:35:26 Verifying last 6 blocks at level 3
2017-05-10 08:35:26 [0%]...[16%]...[33%]...[50%]...[66%]...[83%]...[99%]...[DONE].
2017-05-10 08:35:29 No coin database inconsistencies in last 7 blocks (14209 transactions)
2017-05-10 08:35:29  block index           12989ms
2017-05-10 08:35:29 init message: Loading wallet...
2017-05-10 08:35:29 nFileVersion = 140100
2017-05-10 08:35:29 Keys: 0 plaintext, 203 encrypted, 203 w/ metadata, 203 total
2017-05-10 08:35:29  wallet                  163ms
2017-05-10 08:35:29 setKeyPool.size() = 100
2017-05-10 08:35:29 mapWallet.size() = 0
2017-05-10 08:35:29 mapAddressBook.size() = 1
2017-05-10 08:35:29 mapBlockIndex.size() = 465729
2017-05-10 08:35:29 nBestHeight = 465624
2017-05-10 08:35:29 AddLocal([***]:8333,1)
2017-05-10 08:35:29 Discover: AC10 - ***
2017-05-10 08:35:29 init message: Loading addresses...
2017-05-10 08:35:29 torcontrol thread start
2017-05-10 08:35:29 Loaded 64868 addresses from peers.dat  321ms
2017-05-10 08:35:29 init message: Loading banlist...
2017-05-10 08:35:29 init message: Starting network threads...
2017-05-10 08:35:29 net thread start
2017-05-10 08:35:29 dnsseed thread start
2017-05-10 08:35:29 addcon thread start
2017-05-10 08:35:29 init message: Done loading
2017-05-10 08:35:29 opencon thread start
2017-05-10 08:35:29 msghand thread start
2017-05-10 08:35:40 Loading addresses from DNS seeds (could take a while)
2017-05-10 08:35:41 121 addresses found from DNS seeds
2017-05-10 08:35:41 dnsseed thread exit
2017-05-10 08:35:57 UpdateTip: new best=00000000000000000138253766845fb61b8c3cc80626b6b96a250ab2199e9947 height=465625 version=0x20000002 log2_work=86.404814 tx=220699783 date='2017-05-09 15:41:41' progress=0.999118 cache=12.3MiB(5823tx)
2017-05-10 08:35:57 receive version message: Armory:0.96: version 70012, blocks=-1, us=127.0.0.1:8333, peer=0
2017-05-10 08:36:22 UpdateTip: new best=00000000000000000213f72da45a6b54ed863a2bc2d39074f7bceef264c77e79 height=465626 version=0x20000000 log2_work=86.404846 tx=220702024 date='2017-05-09 15:47:03' progress=0.999123 cache=24.3MiB(11860tx)
2017-05-10 08:36:22 receive version message: /Satoshi:0.14.0/: version 70015, blocks=465722, us=185.12.46.37:51015, peer=1
2017-05-10 08:36:44 UpdateTip: new best=000000000000000000ebfd9bcd60e29e10e2ce382303b5b128144aaec1ca19db height=465627 version=0x20000000 log2_work=86.404878 tx=220704947 date='2017-05-09 15:50:50' progress=0.999126 cache=28.9MiB(18130tx)
2017-05-10 08:36:44 receive version message: /Satoshi:0.14.0/: version 70015, blocks=465722, us=185.12.46.37:51021, peer=2
2017-05-10 08:37:07 UpdateTip: new best=000000000000000001cfa2c6c8e0cc97bc54fd7b025cd79b157d48c90b672744 height=465628 version=0x20000000 log2_work=86.404909 tx=220707407 date='2017-05-09 15:54:11' progress=0.999128 cache=32.9MiB(24033tx)
2017-05-10 08:37:07 ProcessMessages(version, 111 bytes) FAILED peer=3
2017-05-10 08:37:41 UpdateTip: new best=00000000000000000091c8981d610701921d36b4dd6144a7178555f768debb55 height=465629 version=0x20000000 log2_work=86.404941 tx=220710232 date='2017-05-09 15:58:22' progress=0.999131 cache=36.1MiB(29794tx)
2017-05-10 08:37:41 receive version message: /Satoshi:0.13.1/: version 70014, blocks=465722, us=185.12.46.37:51036, peer=4
2017-05-10 08:38:31 UpdateTip: new best=00000000000000000070bcb4ee11f40b71ec116cd69e39a65375d1d758f94074 height=465630 version=0x20000000 log2_work=86.404972 tx=220713653 date='2017-05-09 15:59:25' progress=0.999132 cache=42.3MiB(36331tx)
2017-05-10 08:38:31 version handshake timeout from 5
2017-05-10 08:38:31 receive version message: /Satoshi:0.14.0/: version 70015, blocks=465722, us=185.12.46.37:51040, peer=5
2017-05-10 08:38:43 version handshake timeout from 6
2017-05-10 08:39:00 Pre-allocating up to position 0xd00000 in rev00862.dat
2017-05-10 08:39:00 UpdateTip: new best=000000000000000000372a0fe86acd8ca9618e2574e10eeb0a5c4086e95b0192 height=465631 version=0x20000002 log2_work=86.405004 tx=220716589 date='2017-05-09 16:02:56' progress=0.999134 cache=49.5MiB(41235tx)
2017-05-10 08:39:24 UpdateTip: new best=000000000000000000c40e25052ad2490b3fe9db5a57d6ead3dc0a3b0e6e0ea3 height=465632 version=0x20000002 log2_work=86.405035 tx=220718970 date='2017-05-09 16:09:36' progress=0.999140 cache=56.4MiB(45150tx)
2017-05-10 08:39:24 receive version message: /Satoshi:0.13.1/: version 70014, blocks=465722, us=[2001:0:9d38:6abd:af:397d:46f3:d1da]:51053, peer=7
2017-05-10 08:39:38 version handshake timeout from 7
2017-05-10 08:39:39 UpdateTip: new best=000000000000000000fbed15afc81b8bc81b306b307e09ba236ff4bba4a3553a height=465633 version=0x20000000 log2_work=86.405067 tx=220721687 date='2017-05-09 16:20:15' progress=0.999149 cache=57.9MiB(49341tx)
2017-05-10 08:39:39 receive version message: /Satoshi:0.14.1/: version 70015, blocks=465722, us=185.12.46.37:51058, peer=8
2017-05-10 08:39:54 UpdateTip: new best=0000000000000000017bd9e1ca7cc4052fc161560553fa6b06f655c68f51c435 height=465634 version=0x20000000 log2_work=86.405099 tx=220724818 date='2017-05-09 16:44:18' progress=0.999169 cache=59.2MiB(54065tx)
2017-05-10 08:39:54 receive version message: /Satoshi:0.14.1/: version 70015, blocks=465722, us=185.12.46.37:51070, peer=9
2017-05-10 08:39:54 receive version message: /Satoshi:0.13.1/: version 70014, blocks=465722, us=185.12.46.37:51072, peer=10
2017-05-10 08:40:02 receive version message: /Satoshi:0.14.1/: version 70015, blocks=465722, us=185.12.46.37:51076, peer=11
2017-05-10 08:40:19 UpdateTip: new best=000000000000000000486e27bfdb88eceef9b1894903b71c60574eaef49af05e height=465635 version=0x20000000 log2_work=86.40513 tx=220727697 date='2017-05-09 16:53:51' progress=0.999177 cache=68.8MiB(58525tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:40:35 UpdateTip: new best=000000000000000000eb86562d4eb7d1a64f8d4ccf10f34a9b5a2b162032dc64 height=465636 version=0x20000000 log2_work=86.405162 tx=220730550 date='2017-05-09 16:57:09' progress=0.999180 cache=70.3MiB(62515tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:40:58 UpdateTip: new best=0000000000000000004ff92c9d7f15c824812e04085ea8590bae4b123f418f4e height=465637 version=0x20000000 log2_work=86.405193 tx=220733275 date='2017-05-09 17:09:14' progress=0.999190 cache=73.6MiB(66489tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:41:04 version handshake timeout from 12
2017-05-10 08:41:49 UpdateTip: new best=000000000000000000f56eceef2a1b7440e9f7bdb2b7a3f0a467e01478200ffc height=465638 version=0x20000000 log2_work=86.405225 tx=220735344 date='2017-05-09 17:26:34' progress=0.999205 cache=75.6MiB(70497tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:42:55 UpdateTip: new best=000000000000000000a8462de8becd4fea57eca76ee10582d8fd62cde0883ff9 height=465639 version=0x20000000 log2_work=86.405256 tx=220736726 date='2017-05-09 17:30:11' progress=0.999207 cache=84.5MiB(74279tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:44:58 Pre-allocating up to position 0xe00000 in rev00862.dat
2017-05-10 08:44:58 UpdateTip: new best=000000000000000001e85ec16db1388fe3383c20ed4683493e66c239391e6daa height=465640 version=0x20000000 log2_work=86.405288 tx=220737723 date='2017-05-09 17:31:43' progress=0.999206 cache=85.7MiB(78270tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:45:31 UpdateTip: new best=0000000000000000020c320f9438a67e3a809fe2fd96459310a28fa647065bc6 height=465641 version=0x20000000 log2_work=86.40532 tx=220740456 date='2017-05-09 17:47:51' progress=0.999220 cache=87.2MiB(82193tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:45:48 UpdateTip: new best=000000000000000000e5a92266fc5601dfa711618c3303a681b7bcbe9912e8ab height=465642 version=0x20000000 log2_work=86.405351 tx=220743126 date='2017-05-09 17:59:27' progress=0.999230 cache=90.0MiB(85804tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:46:30 UpdateTip: new best=000000000000000001d2b692385ded133ce6d6d9b96d40171657153af13a9dfa height=465643 version=0x20000002 log2_work=86.405383 tx=220744272 date='2017-05-09 18:01:58' progress=0.999231 cache=91.2MiB(89145tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:46:30 receive version message: /Satoshi:0.14.99/: version 70015, blocks=465724, us=185.12.46.37:51196, peer=15
2017-05-10 08:46:51 UpdateTip: new best=000000000000000001c7e439a2794fcb1a67773c3fcab4fe3bbf592b91c3586e height=465644 version=0x20000000 log2_work=86.405414 tx=220746763 date='2017-05-09 18:09:53' progress=0.999238 cache=94.1MiB(92598tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:47:14 UpdateTip: new best=00000000000000000125fa4b9c9953515f1df30d8c2e507d6e5414b0c8b5c51e height=465645 version=0x20000002 log2_work=86.405446 tx=220748249 date='2017-05-09 18:11:06' progress=0.999239 cache=96.1MiB(95707tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:47:34 UpdateTip: new best=000000000000000000cbb924f7c8fd22c22c26b931489779db251aa2b13f02f8 height=465646 version=0x20000000 log2_work=86.405477 tx=220751099 date='2017-05-09 18:43:44' progress=0.999267 cache=97.7MiB(99407tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:47:53 UpdateTip: new best=000000000000000000cc54bc466cfa2e028a255a75637214a9c85c8f527d728b height=465647 version=0x20000000 log2_work=86.405509 tx=220753659 date='2017-05-09 18:44:17' progress=0.999267 cache=100.4MiB(103004tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:48:12 UpdateTip: new best=000000000000000000f240b4455076c1a6b0a05893f9c6a5e5a94577d6af78dc height=465648 version=0x20000000 log2_work=86.405541 tx=220756160 date='2017-05-09 18:54:36' progress=0.999276 cache=103.8MiB(106284tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:48:26 Pre-allocating up to position 0xf00000 in rev00862.dat
2017-05-10 08:48:27 UpdateTip: new best=00000000000000000118233766a9ca14267543aaf03c51bf97168d10afb4d03d height=465649 version=0x20000002 log2_work=86.405572 tx=220759023 date='2017-05-09 19:09:01' progress=0.999288 cache=104.7MiB(109388tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:48:46 UpdateTip: new best=000000000000000001eb58db60c341ba9e1451ee5f00010833c4514c1d9b1e34 height=465650 version=0x20000000 log2_work=86.405604 tx=220761043 date='2017-05-09 19:11:17' progress=0.999290 cache=106.8MiB(112304tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:48:46 socket recv error Eine vorhandene Verbindung wurde vom Remotehost geschlossen.  (10054)
2017-05-10 08:49:31 UpdateTip: new best=000000000000000001e0e484674b9ed64cb71c11599439e0b4fc4444eba96319 height=465651 version=0x20000000 log2_work=86.405635 tx=220761513 date='2017-05-09 19:11:49' progress=0.999289 cache=110.7MiB(116973tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:49:52 version handshake timeout from 16
2017-05-10 08:50:06 UpdateTip: new best=0000000000000000017cee125ae30eacbaca9a006f8f69911843dd8dc71408ee height=465652 version=0x20000000 log2_work=86.405667 tx=220762052 date='2017-05-09 19:14:21' progress=0.999291 cache=111.6MiB(121202tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:50:25 UpdateTip: new best=00000000000000000033c5185c9a6390cf88b60c2ab103e3fee88dda8774404d height=465653 version=0x20000000 log2_work=86.405698 tx=220764091 date='2017-05-09 19:22:53' progress=0.999298 cache=112.5MiB(124181tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:50:37 UpdateTip: new best=00000000000000000123ba44d308180ba5fea3b7a50b483b149aeb53de2a2506 height=465654 version=0x20000002 log2_work=86.40573 tx=220766879 date='2017-05-09 19:30:36' progress=0.999305 cache=114.7MiB(127393tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:51:08 UpdateTip: new best=00000000000000000163673ccbb6bb79e0cb6f64166a2961b098e4b6b5361f86 height=465655 version=0x20000000 log2_work=86.405761 tx=220769680 date='2017-05-09 20:48:12' progress=0.999372 cache=118.5MiB(131758tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:51:20 UpdateTip: new best=0000000000000000012edd52500cdb58ec076e78df4074a382e5c29d59397123 height=465656 version=0x20000000 log2_work=86.405793 tx=220772026 date='2017-05-09 20:50:34' progress=0.999374 cache=119.6MiB(134325tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:51:37 Pre-allocating up to position 0x1000000 in rev00862.dat
2017-05-10 08:51:37 UpdateTip: new best=000000000000000001994cca5ebccc89b7a5ffc7a3c320524542ae417f0d111c height=465657 version=0x20000000 log2_work=86.405825 tx=220774381 date='2017-05-09 21:04:50' progress=0.999386 cache=121.3MiB(137500tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:51:38 receive version message: /Satoshi:0.13.1/: version 70014, blocks=465724, us=185.12.46.37:51318, peer=18
2017-05-10 08:51:42 Leaving block file 862: CBlockFileInfo(blocks=136, size=134209184, heights=465526...465722, time=2017-05-09...2017-05-10)
2017-05-10 08:51:43 Pre-allocating up to position 0x1000000 in blk00863.dat
2017-05-10 08:52:02 Pre-allocating up to position 0x100000 in rev00863.dat
2017-05-10 08:52:02 UpdateTip: new best=00000000000000000164a625cbd750b9b95e29879d10ee64f7d2795c9c33aa99 height=465658 version=0x20000000 log2_work=86.405856 tx=220776698 date='2017-05-09 21:11:35' progress=0.999391 cache=134.6MiB(141499tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:52:21 UpdateTip: new best=00000000000000000067e3b913e6e468b77f7ceba329bbe4010ad7713fce0d01 height=465659 version=0x20000000 log2_work=86.405888 tx=220779522 date='2017-05-09 21:16:43' progress=0.999395 cache=139.6MiB(145219tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:52:21 ProcessMessages(sendcmpct, 5 bytes): Exception 'CDataStream::read(): end of data' caught, normally caused by a message being shorter than its stated length
2017-05-10 08:52:21 ProcessMessages(sendcmpct, 5 bytes) FAILED peer=18
2017-05-10 08:52:29 UpdateTip: new best=000000000000000001fef0cbe66464a9cdb0ebfb12588498b6424081485be0fb height=465660 version=0x20000002 log2_work=86.405919 tx=220781576 date='2017-05-09 21:34:37' progress=0.999411 cache=140.3MiB(147449tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:52:30 ProcessMessages(sendcmpct, 5 bytes): Exception 'CDataStream::read(): end of data' caught, normally caused by a message being shorter than its stated length
2017-05-10 08:52:30 ProcessMessages(sendcmpct, 5 bytes) FAILED peer=18
2017-05-10 08:53:00 UpdateTip: new best=0000000000000000001910ba63ff808532d7eeb84c0a26b4d6741f9ad7e438ec height=465661 version=0x20000000 log2_work=86.405951 tx=220783491 date='2017-05-09 21:35:03' progress=0.999411 cache=142.3MiB(150940tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:53:51 UpdateTip: new best=0000000000000000015045f89515a251a51125ebaeda4b7fc1b3d591a4538bdc height=465662 version=0x20000002 log2_work=86.405982 tx=220784744 date='2017-05-09 21:40:38' progress=0.999415 cache=149.1MiB(155548tx) warning='2 of last 100 blocks have unexpected version'
2017-05-10 08:54:18 UpdateTip: new best=0000000000000000020b20dfa2ba03b95639110ffec02e86c3bfdffe42344660 height=465663 version=0x20000002 log2_work=86.406014 tx=220786861 date='2017-05-09 21:41:44' progress=0.999415 cache=150.2MiB(159318tx) warning='2 of last 100 blocks have unexpected version'

Armory dbLog.txt
Code:
Log file opened at 1494405316: C:\Users\..\AppData\Roaming\Armory\dbLog.txt
-INFO  - 1494405316: (..\main.cpp:23) Running on 4 threads
-INFO  - 1494405316: (..\main.cpp:24) Ram usage level: 4
-INFO  - 1494405316: (..\BlockUtils.cpp:907) blkfile dir: C:\Users\..\AppData\Roaming\Bitcoin\blocks
-INFO  - 1494405316: (..\BlockUtils.cpp:908) lmdb dir: C:\Users\..\AppData\Roaming\Armory\databases
-INFO  - 1494405316: (..\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1494405317: (..\BlockUtils.cpp:1091) Executing: doInitialSyncOnLoad
-INFO  - 1494405317: (..\DatabaseBuilder.cpp:169) Reading headers from db
-INFO  - 1494405318: (..\BDM_Server.cpp:996) registered bdv: 8408392e90efde6d4d34
-INFO  - 1494405320: (..\DatabaseBuilder.cpp:208) Found 465619 headers in db
-INFO  - 1494405322: (..\DatabaseBuilder.cpp:51) updating HEADERS db
-INFO  - 1494405322: (..\DatabaseBuilder.cpp:477) Found next block after skipping 497703bytes
-INFO  - 1494405323: (..\DatabaseBuilder.cpp:268) parsed block file #862
-DEBUG - 1494405323: (..\Blockchain.cpp:242) Organizing chain
-INFO  - 1494405323: (..\DatabaseBuilder.cpp:56) updated HEADERS db in 0.814s
-INFO  - 1494405323: (..\DatabaseBuilder.cpp:106) scanning new blocks from #465613 to #465612
-INFO  - 1494405323: (..\BlockchainScanner.cpp:52) no history to scan
-INFO  - 1494405323: (..\BlockchainScanner.cpp:813) no SSH to scan
-INFO  - 1494405323: (..\DatabaseBuilder.cpp:156) scanned new blocks in 0.009s
-INFO  - 1494405323: (..\DatabaseBuilder.cpp:160) init db in 6.154s
-INFO  - 1494405323: (..\BlockUtils.cpp:1206) Enabling zero-conf tracking
-INFO  - 1494405357: (..\BitcoinP2P.cpp:947) Connected to Bitcoin node
-WARN  - 1494405602: (..\BDM_supportClasses.cpp:1891) running 10 zc parser threads
-WARN  - 1494405602: (..\BDM_supportClasses.cpp:1891) running 15 zc parser threads
-WARN  - 1494405602: (..\BDM_supportClasses.cpp:1891) running 20 zc parser threads
-WARN  - 1494405602: (..\BDM_supportClasses.cpp:1891) running 25 zc parser threads

armorylog.txt
Code:
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1138 - C++ block utilities loaded successfully
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1255 -
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1256 -
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1257 -
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1258 - ************************************************************
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1259 - Invoked: C:\Program Files\Armory\ArmoryQt.exe
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1260 - ************************************************************
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1261 - Loading Armory Engine:
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1262 -    Armory Version        : 0.96
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1263 -    Armory Build:         : a3d01aa722
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1264 -    PyBtcWallet  Version  : 1.35
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1265 - Detected Operating system: Windows
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1266 -    OS Variant            : 8-6.2.9200--Multiprocessor Free
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1267 -    User home-directory   : C:\Users\..\AppData\Roaming
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1268 -    Satoshi BTC directory : C:\Users\..\AppData\Roaming\Bitcoin\
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1269 -    Armory home dir       : C:\Users\..\AppData\Roaming\Armory\
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1270 - Detected System Specs    :
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1271 -    Total Available RAM   : 7.85 GB
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1272 -    CPU ID string         : Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1273 -    Number of CPU cores   : 4 cores
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1274 -    System is 64-bit      : True
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1275 -    Preferred Encoding    : cp1252
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1276 -    Machine Arch          : amd64
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1277 -    Available HDD (ARM)   : 595 GB
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1278 -    Available HDD (BTC)   : 595 GB
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1279 -
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1280 - Network Name: Main Network
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1281 - Satoshi Port: 8333
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1282 - Do wlt check: True
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1283 - Named options/arguments to armoryengine.py:
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     thread_count    : -1
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     rescan          : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     ignoreAllZC     : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     rescanBalance   : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     disableModules  : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     port            : None
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     interport       : 8223
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     coverageOutputDir: None
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     forceWalletCheck: False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     regtest         : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     rebuild         : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     nettimeout      : 2
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     datadir         : DEFAULT
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     clearMempool    : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     offline         : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     armoryDBDir     : DEFAULT
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     armorydb_port   : 9001
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     satoshiPort     : DEFAULT
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     useTorSettings  : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     netlog          : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     keypool         : 100
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     coverageInclude : None
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     forceOnline     : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     redownload      : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     rpcBindAddr     : 127.0.0.1
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     armorydb_ip     : 127.0.0.1
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     multisigFile    : DEFAULT
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     ram_usage       : -1
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     mtdebug         : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     logDisable      : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     settingsPath    : C:\Users\..\AppData\Roaming\Armory\ArmorySettings.txt
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     language        : en
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     db_type         : DB_FULL
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     doDebug         : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     enableDetSign   : True
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     disableConfPermis: False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     testnet         : False
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     rpcport         : DEFAULT
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     satoshiHome     : DEFAULT
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     satoshiRpcport  : DEFAULT
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     logFile         : C:\Users\..\AppData\Roaming\Armory\ArmoryQt.exe.log.txt
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1285 -     verbosity       : None
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1286 - Other arguments:
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1289 - ************************************************************
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:1692 - C++ block utilities loaded successfully
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:3590 - Using settings file: C:\Users\..\AppData\Roaming\Armory\ArmorySettings.txt
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:3750 - Using Language: de
2017-05-10 10:35 (INFO) -- BDM.pyc:368 - Using the asynchronous/multi-threaded BlockDataManager.
2017-05-10 10:35 (INFO) -- BDM.pyc:369 - Blockchain operations will happen in the background.  
2017-05-10 10:35 (INFO) -- BDM.pyc:370 - Devs: check TheBDM.getState() before asking for data.
2017-05-10 10:35 (INFO) -- BDM.pyc:371 - Registering addresses during rescans will queue them for
2017-05-10 10:35 (INFO) -- BDM.pyc:372 - inclusion after the current scan is completed.
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:3590 - Using settings file: C:\Users\..\AppData\Roaming\Armory\ArmorySettings.txt
2017-05-10 10:35 (INFO) -- ArmoryQt.py:2042 - loadWalletsAndSettings
2017-05-10 10:35 (INFO) -- ArmoryQt.py:2102 - Loading wallets...
2017-05-10 10:35 (INFO) -- ArmoryQt.py:2167 - Number of wallets read in: 4
2017-05-10 10:35 (INFO) -- ArmoryQt.py:2172 -    Wallet (***):   "***"   (No Encryption)
2017-05-10 10:35 (INFO) -- ArmoryQt.py:2172 -    Wallet (***):   "***"   (No Encryption)
2017-05-10 10:35 (INFO) -- ArmoryQt.py:2172 -    Wallet (***):   "***"   (Encrypted)
2017-05-10 10:35 (INFO) -- ArmoryQt.py:2172 -    Wallet (***):   "***"   (Encrypted)
2017-05-10 10:35 (INFO) -- ArmoryQt.py:2177 - Loading Multisig Lockboxes
2017-05-10 10:35 (INFO) -- MultiSigUtils.pyc:198 - Read in Lockbox: ***
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1747 - acquiring process mutex...
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1385 - setupUriRegistration
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1453 - Armory already registered for current user.  Done!
2017-05-10 10:35 (INFO) -- ArmoryQt.py:558 - Usermode: Expert
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1681 - Changing usermode:
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1682 -    From: Expert
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1690 -      To: Expert
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1814 - startBitcoindIfNecessary
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1850 - setSatoshiPaths
2017-05-10 10:35 (INFO) -- SDM.pyc:169 - Found bitcoind in the following places:
2017-05-10 10:35 (INFO) -- SDM.pyc:171 -    C:\Program Files\Bitcoin\daemon\bitcoind.exe
2017-05-10 10:35 (INFO) -- SDM.pyc:173 - Using: C:\Program Files\Bitcoin\daemon\bitcoind.exe
2017-05-10 10:35 (INFO) -- SDM.pyc:337 - Called startBitcoind
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:665 - Executing popen: ['C:\\Program Files\\Bitcoin\\daemon\\bitcoind.exe', u'-datadir=C:\\Users\\..\\AppData\\Roaming\\Bitcoin\\']
2017-05-10 10:35 (INFO) -- SDM.pyc:443 - PID of bitcoind: 9124
2017-05-10 10:35 (INFO) -- SDM.pyc:444 - PID of armory:   1932
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:665 - Executing popen: ['.\\guardian.exe', '1932', '9124']
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1850 - setSatoshiPaths
2017-05-10 10:35 (WARNING) -- SDM.pyc:396 - Spawning DB with command:./ArmoryDB.exe --db-type="DB_FULL" --cookie --satoshi-datadir="C:\Users\..\AppData\Roaming\Bitcoin\blocks" --datadir="C:\Users\..\AppData\Roaming\Armory\" --dbdir="C:\Users\..\AppData\Roaming\Armory\databases"
2017-05-10 10:35 (INFO) -- ArmoryUtils.pyc:665 - Executing popen: ['./ArmoryDB.exe', '--db-type="DB_FULL"', '--cookie', u'--satoshi-datadir="C:\\Users\\..\\AppData\\Roaming\\Bitcoin\\blocks"', u'--datadir="C:\\Users\\..\\AppData\\Roaming\\Armory\\"', u'--dbdir="C:\\Users\\..\\AppData\\Roaming\\Armory\\databases"']
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1900 - Setting netmode: 1
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1882 - loadBlockchainIfNecessary
2017-05-10 10:35 (INFO) -- ArmoryQt.py:1900 - Setting netmode: 1
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (INFO) -- ArmoryQt.py:4619 - Dashboard switched to "Scanning" mode
2017-05-10 10:35 (WARNING) -- ArmoryQt.py:4057 - Called updateSyncProgress while not sync'ing
2017-05-10 10:37 (ERROR) -- qtdialogs.pyc:5830 - Error showing TxIn
Traceback (most recent call last):
  File "qtdialogs.pyc", line 5828, in showTxInDialog
  File "qtdialogs.pyc", line 6001, in __init__
TypeError: sequence item 0: expected string, QString found
Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 10, 2017, 09:12:51 AM
 #2

Now I've got a block deser exception...

Code:
-WARN  - 1494405602: (..\BDM_supportClasses.cpp:1891) running 10 zc parser threads
-WARN  - 1494405602: (..\BDM_supportClasses.cpp:1891) running 15 zc parser threads
-WARN  - 1494405602: (..\BDM_supportClasses.cpp:1891) running 20 zc parser threads
-WARN  - 1494405602: (..\BDM_supportClasses.cpp:1891) running 25 zc parser threads
-WARN  - 1494406900: (..\BDM_supportClasses.cpp:1891) running 30 zc parser threads
-WARN  - 1494406900: (..\BDM_supportClasses.cpp:1891) running 35 zc parser threads
-ERROR - 1494406941: (..\DatabaseBuilder.cpp:353) block deser except:
-ERROR - 1494406967: (..\BlockDataMap.cpp:79) merkle root mismatch!
-ERROR - 1494406967: (..\BlockDataMap.cpp:80)    header has: cf96929443598958bbef1e94bcce1c810bda9d9d0dc95d3f901c228f284f1e24
-ERROR - 1494406967: (..\BlockDataMap.cpp:81)    block yields: 1c997a4b021a3675498850375b3596f79f44999a72a49db41e15ed9743927433
-ERROR - 1494406967: (..\DatabaseBuilder.cpp:353) block deser except: invalid merkle root
-ERROR - 1494407004: (..\DatabaseBuilder.cpp:353) block deser except:
-ERROR - 1494407149: (..\BitcoinP2P.cpp:1037) caught StopBlockingLoop in processDataStackThread
-INFO  - 1494407149: (..\BitcoinP2P.cpp:969) Disconnected from Bitcoin node
-INFO  - 1494407174: (..\BitcoinP2P.cpp:947) Connected to Bitcoin node
-WARN  - 1494407330: (..\BDM_supportClasses.cpp:1891) running 40 zc parser threads
-WARN  - 1494407330: (..\BDM_supportClasses.cpp:1891) running 45 zc parser threads
-WARN  - 1494407330: (..\BDM_supportClasses.cpp:1891) running 50 zc parser threads
-WARN  - 1494407330: (..\BDM_supportClasses.cpp:1891) running 55 zc parser threads
-WARN  - 1494407349: (..\BDM_supportClasses.cpp:1891) running 60 zc parser threads
-WARN  - 1494407349: (..\BDM_supportClasses.cpp:1891) running 65 zc parser threads
-WARN  - 1494407349: (..\BDM_supportClasses.cpp:1891) running 70 zc parser threads
-WARN  - 1494407358: (..\BDM_supportClasses.cpp:1891) running 75 zc parser threads
-WARN  - 1494407358: (..\BDM_supportClasses.cpp:1891) running 80 zc parser threads
-WARN  - 1494407358: (..\BDM_supportClasses.cpp:1891) running 85 zc parser threads
-WARN  - 1494407358: (..\BDM_supportClasses.cpp:1891) running 90 zc parser threads
-WARN  - 1494407358: (..\BDM_supportClasses.cpp:1891) running 95 zc parser threads
-WARN  - 1494407358: (..\BDM_supportClasses.cpp:1891) running 100 zc parser threads
-WARN  - 1494407358: (..\BDM_supportClasses.cpp:1891) running 105 zc parser threads
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 10, 2017, 01:15:46 PM
 #3

How long do you let Armory run for this to happen?

Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 10, 2017, 03:18:54 PM
Last edit: May 10, 2017, 03:36:52 PM by Mr.Vice
 #4

How long do you let Armory run for this to happen?

About 4-5 days (not in one rush). I use Armory multiple hours a day. It actually works pretty fine after rebuild and rescan, but when the block deser exception and ivalid merkle root occours it does not take too lang until Armory can not sync anymore. At this stage armorydb often can not close normally any longer (by pressing File>Close).
Recently I have deinstalled Armory from the Program Files directory and installed it in Program Files (x86) instead and I've done a rebuild and rescan again. Let's see how long it may last from now on, but when I see something unusual in the log files I will post it in this thread.
Thanks for helping me out with this!
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 10, 2017, 04:31:50 PM
 #5

This is fairly odd, I've had the code run for weeks on end. You using a HDD?

idoB
Jr. Member
*
Offline Offline

Activity: 70
Merit: 2


View Profile
May 10, 2017, 05:14:04 PM
 #6

I see exactly the same problem with 0.96, similar logs running with params:
"C:\Program Files (x86)\Armory\ArmoryQt.exe" --datadir=f:\armory096 --dbdir=f:\armory096
Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 10, 2017, 06:25:12 PM
 #7

This is fairly odd, I've had the code run for weeks on end. You using a HDD?

I'm using Win10 Pro x64 with the manufacturer's buildt in HDD. I also use Microsoft's BitLocker with a TPM module if that's relavant?
Actually I have a block deser exception again after rebuild & rescan today. :-S

Armory's dbLog.txt
Code:
Log file opened at 1494439626: C:\Users\..\AppData\Roaming\Armory\dbLog.txt
-INFO  - 1494439626: (..\main.cpp:23) Running on 4 threads
-INFO  - 1494439626: (..\main.cpp:24) Ram usage level: 4
-INFO  - 1494439626: (..\BlockUtils.cpp:907) blkfile dir: C:\Users\..\AppData\Roaming\Bitcoin\blocks
-INFO  - 1494439626: (..\BlockUtils.cpp:908) lmdb dir: C:\Users\..\AppData\Roaming\Armory\databases
-INFO  - 1494439626: (..\lmdb_wrapper.cpp:388) Opening databases...
-INFO  - 1494439628: (..\BlockUtils.cpp:1091) Executing: doInitialSyncOnLoad
-INFO  - 1494439628: (..\BDM_Server.cpp:996) registered bdv: 0947bfabf926df473789
-INFO  - 1494439628: (..\DatabaseBuilder.cpp:169) Reading headers from db
-INFO  - 1494439650: (..\DatabaseBuilder.cpp:208) Found 465771 headers in db
-INFO  - 1494439652: (..\DatabaseBuilder.cpp:51) updating HEADERS db
-INFO  - 1494439653: (..\DatabaseBuilder.cpp:477) Found next block after skipping 392700bytes
-INFO  - 1494439653: (..\DatabaseBuilder.cpp:268) parsed block file #863
-DEBUG - 1494439653: (..\Blockchain.cpp:242) Organizing chain
-INFO  - 1494439654: (..\DatabaseBuilder.cpp:56) updated HEADERS db in 1.547s
-INFO  - 1494439654: (..\DatabaseBuilder.cpp:106) scanning new blocks from #465765 to #465764
-INFO  - 1494439654: (..\BlockchainScanner.cpp:52) no history to scan
-INFO  - 1494439654: (..\BlockchainScanner.cpp:813) no SSH to scan
-INFO  - 1494439654: (..\DatabaseBuilder.cpp:156) scanned new blocks in 0.009s
-INFO  - 1494439654: (..\DatabaseBuilder.cpp:160) init db in 26.057s
-INFO  - 1494439654: (..\BlockUtils.cpp:1206) Enabling zero-conf tracking
-INFO  - 1494439729: (..\BitcoinP2P.cpp:947) Connected to Bitcoin node
-INFO  - 1494439785: (..\BlockchainScanner.cpp:650) scanned from height #465765 to #465766
-ERROR - 1494439803: (..\DatabaseBuilder.cpp:353) block deser except:
-INFO  - 1494439898: (..\BlockchainScanner.cpp:650) scanned from height #465767 to #465768
-INFO  - 1494439898: (..\BlockchainScanner.cpp:650) scanned from height #465769 to #465769
-ERROR - 1494439911: (..\BlockDataMap.cpp:79) merkle root mismatch!
-ERROR - 1494439911: (..\BlockDataMap.cpp:80)    header has: c7d7e4297efaef06d038403f5f4102aeaf66f453ba34750898683dd153def247
-ERROR - 1494439911: (..\BlockDataMap.cpp:81)    block yields: e0db443cd839aa1c07a3525a4c77c6c803e51083b23a5112aef2c77c061314bf
-ERROR - 1494439911: (..\DatabaseBuilder.cpp:353) block deser except: invalid merkle root

The strange thing is that the merkle root's mismatch blocks are always different (the hash values are never the same).
I have shut down Armory normally about 2 hours ago and set my laptop into idle mode - don't know if it's called idle mode in English but I hope you know what I mean. After restarting my Laptop and openening Armory everything loaded like it should but as you see in the log the same issue encounters every time.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 10, 2017, 07:56:11 PM
 #8

This is my guess at the issue:

Armory gets its new blocks signal from the node, then reads the block data off of disk. Chances are the node pushes the block inv packet before the data is flushed on disk, and the DB ends up just reading a partial block (or only the header).

I'll try to build a unit test with a forced delay to reproduce the issue. I'll need you to test that stuff out when I push the testing builds for .1

Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 11, 2017, 06:59:45 AM
 #9

This is my guess at the issue:

Armory gets its new blocks signal from the node, then reads the block data off of disk. Chances are the node pushes the block inv packet before the data is flushed on disk, and the DB ends up just reading a partial block (or only the header).

I'll try to build a unit test with a forced delay to reproduce the issue. I'll need you to test that stuff out when I push the testing builds for .1

Thanks goatpig for your effort, I really appreciate it! I had joined the testing build of 0.96 but this issue occured afterwards, so I was not able to report on that before release - sorry for that.
Of course I will test your mentioned testing build as soon as it's available. This makes absolutely sense - these 256bit AES encyptions can really slow down a HDD. To compensate that I have also activated under my hardware properties the "don't let windows empty your hdd cache" policy to speed things up, but it won't get as fast as an unencrypted HDD.

Kind regards,
Mr.Vice
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 11, 2017, 11:32:32 AM
 #10

If you can build from source on Windows, I can give you a one liner to test my theory. It's fairly easy since you only want to build the DB.

Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 11, 2017, 12:53:17 PM
 #11

If you can build from source on Windows, I can give you a one liner to test my theory. It's fairly easy since you only want to build the DB.

Unfortunatly I don't know how to build from source. I wanted to do so with UASF on Bitcoin Core, but never finished because I was sceptical about the safety of an UASF. But I have activated Windows Subsystem for Linux (beta) by following this guide https://msdn.microsoft.com/en-us/commandline/wsl/install_guide.
Maybe if you could give me a link to an instruction guide I will be able to do so...
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 11, 2017, 01:17:13 PM
 #12

Why are you running the code on Windows when you are using a Linux host? It's easier to build on Linux.

Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 11, 2017, 02:20:10 PM
 #13

Why are you running the code on Windows when you are using a Linux host? It's easier to build on Linux.

No I'm using Windows and activated the Linux subsystem as a feature in Win10 Pro.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 11, 2017, 02:33:15 PM
 #14

oic. Building just the DB on Windows is easy enough. You need one piece of software:

Code:
Microsoft Visual Studio Express 2013 for Windows Desktop

Easy enough to find on search engines. Then you want to clone the repo. Once you have that done, I'll walk you through the rest.

forensixguy
Newbie
*
Offline Offline

Activity: 6
Merit: 0


View Profile
May 11, 2017, 03:28:18 PM
 #15

FWIW, I'm having the same sort of problem on Ubuntu- I'm not receiving TXs that show up on the blockchain. Only thing that seems to work is to wipe out and rebuild the database, and even then it is back to the same issue again in short order.
Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 11, 2017, 03:48:53 PM
 #16

oic. Building just the DB on Windows is easy enough. You need one piece of software:

Code:
Microsoft Visual Studio Express 2013 for Windows Desktop

Easy enough to find on search engines. Then you want to clone the repo. Once you have that done, I'll walk you through the rest.

Okay, I will install that and inform you when I have it. Thx!
bitminerinthecloud
Newbie
*
Offline Offline

Activity: 27
Merit: 0


View Profile
May 12, 2017, 02:06:36 AM
 #17

I got one problem with version 0.95, then I was advised to let bitcoin download blockchain, instead of leaving Armory to do it. After a week of downloading I then opened Armory to let it build databases and scan transactions and so on, but I forgot to go to settings and have checked that Armory let run bitcoin in the background. This of course, made armory be "online" but with a node offline. I then procceded to let bitcoin sync again, the checked armory to run bitcoin in the background and my issue was solved. Hope that helps you.
Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 12, 2017, 08:50:37 AM
Last edit: May 12, 2017, 10:18:55 AM by Mr.Vice
 #18

oic. Building just the DB on Windows is easy enough. You need one piece of software:

Code:
Microsoft Visual Studio Express 2013 for Windows Desktop

Easy enough to find on search engines. Then you want to clone the repo. Once you have that done, I'll walk you through the rest.

Okay, I will install that and inform you when I have it. Thx!

Now I've installed Visual Studio Express 2013 WD and opened every sheet file in the 0.96 repo. What should I do next?
But I've actually no clue how I can import these sheet files into a project map and compile them to run... so it would be great if you could tell me how to do that :-)
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3752
Merit: 1364

Armory Developer


View Profile
May 12, 2017, 06:25:51 PM
 #19

1) Actually there is only one file to open. Close everything and do File -> Open Project and pick BitcoinArmory.sln in cppForSwig.

2) Once you have that done, make sure to pick Release and x64 next to the green play button named "Local Windows Debugger"

3) Now you want to introduce the artificial delay checking on disk blocks. Add this line here:

https://github.com/goatpig/BitcoinArmory/blob/master/cppForSwig/BDM_mainthread.cpp#L219

Quote
   auto updateChainLambda = [bdm, this]()->bool
   {
      this_thread::sleep_for(chrono::seconds(5));
      auto reorgState = bdm->readBlkFileUpdate();
      if (reorgState.hasNewTop)
      {
...

4) Now build cryptopp: in the solution explorer, pick the cryptopp project then Right Click -> Build

5) Build BlockDataManager.

This should give an ArmoryDB.exe binary in the root folder.

Mr.Vice (OP)
Member
**
Offline Offline

Activity: 96
Merit: 10


View Profile
May 12, 2017, 07:16:42 PM
Last edit: May 12, 2017, 07:43:38 PM by Mr.Vice
 #20

1) Actually there is only one file to open. Close everything and do File -> Open Project and pick BitcoinArmory.sln in cppForSwig.

2) Once you have that done, make sure to pick Release and x64 next to the green play button named "Local Windows Debugger"

3) Now you want to introduce the artificial delay checking on disk blocks. Add this line here:

https://github.com/goatpig/BitcoinArmory/blob/master/cppForSwig/BDM_mainthread.cpp#L219

Quote
  auto updateChainLambda = [bdm, this]()->bool
   {
      this_thread::sleep_for(chrono::seconds(5));
      auto reorgState = bdm->readBlkFileUpdate();
      if (reorgState.hasNewTop)
      {
...

4) Now build cryptopp: in the solution explorer, pick the cryptopp project then Right Click -> Build

5) Build BlockDataManager.

This should give an ArmoryDB.exe binary in the root folder.

I've got the following error messages at step 4:
Code:
Fehler	1	error MSB8020: The build tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, please install v140 build tools.  Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...".	C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets	64	5	cryptopp
2 IntelliSense: Die Datei "Quelle" kann nicht geöffnet werden: "./fcgi/include/fcgiapp.h". c:\Users\..\Downloads\BitcoinArmory-0.96\cppForSwig\BDM_Server.h 19 1 BitcoinArmory_CppTests
3 IntelliSense: Die Datei "Quelle" kann nicht geöffnet werden: "./fcgi/include/fcgios.h". c:\Users\..\Downloads\BitcoinArmory-0.96\cppForSwig\BDM_Server.h 20 1 BitcoinArmory_CppTests
4 IntelliSense: Die Datei "Quelle" kann nicht geöffnet werden: "./fcgi/include/fastcgi.h". c:\Users\..\Downloads\BitcoinArmory-0.96\cppForSwig\FcgiMessage.h 16 1 BitcoinArmory_CppTests

It seems I would need some type of tool upgrade?
Pages: [1] 2 3 »  All
  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!