Bitcoin Forum
June 22, 2024, 02:23:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3]  All
  Print  
Author Topic: Armory on windows just does not sync  (Read 634 times)
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
February 14, 2018, 01:48:30 PM
 #41

remove the ram-usage line, see if it works.

artur2000 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
February 14, 2018, 03:55:35 PM
 #42

Armory starts now without the error, but then the same pattern repeats.

"organizing blockchain", CPU 50% and the log is filled with this line like a 1000 times maybe

 
Code:
2018-02-14 16:06:37 (INFO) -- ArmoryQt.py:4673 - Dashboard switched to "Scanning" mode

For me, from the outside it looks like a endless loop somewhere.

https://pastebin.com/bkKTJtr9

P.s. This is an old but high spec professional grade machine with best components inside even if it is 5 years old.
If it can run CAD, adobe suite products, multiserver docker enviroments and really memory heavy IntelliJ Idea IDE at a decent speed it can not be considered ancient hardware in any means just because it has only 2 cores and usb2.
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
February 14, 2018, 07:10:38 PM
 #43

Quote
"organizing blockchain", CPU 50% and the log is filled with this line like a 1000 times maybe

Let it finish. Your CPU is slow enough that benign dashboard message ends up getting spammed.

Quote
P.s. This is an old but high spec professional grade machine with best components inside even if it is 5 years old.
If it can run CAD, adobe suite products, multiserver docker enviroments and really memory heavy IntelliJ Idea IDE at a decent speed it can not be considered ancient hardware in any means just because it has only 2 cores and usb2.

Professional grade? 2014 Xeons sported 18 Cores with HT. That's high grade. Your CPU doesn't even have HT. High end desktop from 2008 was 4c/8t...

As for USB2. The current blockchain folder is 166GB. At the effective sequential read speed of USB2, it would take 2h20 just to COPY the chain. How long do you think it's gonna need to actually process that data?


The blockchain organization process takes a few seconds on a modern computer. The reason this process has no detailed progress report is because it is so fast on a typical machine. I don't know where you got this PC, but it just doesn't fit the bill. The primary bottlenecks for blockchain processing are:

1) I/O
2) CPU

Both of which you the have low end of, from 15years ago. I can't help you there, sorry.

artur2000 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
February 15, 2018, 12:54:18 PM
 #44

Thx for the reply.

I do not mind to wait little longer for things to happen. I mean I let the processes run overnight for several days in the past.
No matter how processing intensive an operation might be, it must finish at some point right?

Bitcoin Core is able to start up and load the local 170GB blockchain below 30sec on this machine so the machine might be slow for todays measures but it certainly should be capable to get the work done in general.

Additionally, the local blockchain is not on a USB2 drive anymore but an a new intermnal SATA drive.

Anyway, just to startower. I deinstalled armory, deleted the database directory. Made a reboot, installed armory RC3 from github again, provided the custom path to the local blockchain using the CLI parameter "--satoshi-datadir" with the desktop shortcut.
Then I synced the blockchain with bitcoin Core, made a reboot again and started armory again.

Now I see "organizing blockchain" again for several hours. checking the log file I see this

Code:
2018-02-15 09:48:10 (WARNING) -- SDM.pyc:398 - Spawning DB with command: C:\Program Files (x86)\Armory\ArmoryDB.exe --db-type="DB_BARE" --cookie --satoshi-datadir="F:\_bitcoin_new\blocks" --datadir="C:\Users\artur\AppData\Roaming\Armory\" --dbdir="C:\Users\artur\AppData\Roaming\Armory\databases"
2018-02-15 09:48:10 (INFO) -- ArmoryUtils.pyc:679 - Executing popen: ['C:\\Program Files (x86)\\Armory\\ArmoryDB.exe', u'--db-type="DB_BARE"', '--cookie', u'--satoshi-datadir="F:\\_bitcoin_new\\blocks"', '--datadir="C:\\Users\\artur\\AppData\\Roaming\\Armory\\"', u'--dbdir="C:\\Users\\artur\\AppData\\Roaming\\Armory\\databases"']
2018-02-15 09:48:13 (INFO) -- ArmoryQt.py:1824 - Connecting on port 62445
2018-02-15 09:48:13 (INFO) -- ArmoryQt.py:1924 - Setting netmode: 1
2018-02-15 09:48:13 (INFO) -- ArmoryQt.py:1906 - loadBlockchainIfNecessary
2018-02-15 09:48:13 (ERROR) -- ArmoryQt.py:1198 - 3 attempts to load blockchain failed.  Remove mempool.bin.
2018-02-15 09:48:13 (ERROR) -- ArmoryQt.py:1203 - File mempool.bin does not exist. Nothing deleted.
2018-02-15 09:48:13 (INFO) -- ArmoryQt.py:1924 - Setting netmode: 1
2018-02-15 09:48:13 (INFO) -- ArmoryQt.py:4673 - Dashboard switched to "Scanning" mode

What do the two errors about mempool.bin mean.
What exactly is happening now (CPU usage 50%)?
Is it worth to wait now or are those errors fatal?


goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3682
Merit: 1347

Armory Developer


View Profile
February 15, 2018, 02:31:57 PM
 #45

Quote
What do the two errors about mempool.bin mean.

Nothing. They are leftovers verbose pertaining to the database design back from 2011.

Quote
What exactly is happening now (CPU usage 50%)?

The DB is trying to resolve the longest chain.

Quote
Is it worth to wait now or are those errors fatal?

You should wait.

artur2000 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
February 21, 2018, 10:58:55 AM
 #46

Finally. Armory was ready to build the database, organize blockchain and scan transaction history.
I was able to see my balance but "node ofline".
Now I started bitcoin core in paralell.
Armory went online and it shows green "connected" in the status bar. I could not be more happy.

So now I tried to get to stage 2. Sending my BTC out of this wallet.

Beeing in "advanced user" GUI I tried to "send bitcoins".
I entered the SegWit address of my trezor as recipient.
I left all settings to be default and adjusted the fee to be generous 15 sat/B (conservative auto gave 6.5 sat/B and trezor currently defaults to 8 sat/B for a "high" fee transaction).

Then I sent the whole amount unlocking the wallet.

5 seconds of nothing happening, then an error popup "The transaction that you just attempted to broadcast has failed with the following error: missing inputs"!

Is it safe to paste the armorylog.txt output on this?


artur2000 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
February 26, 2018, 08:52:07 AM
 #47

OK. I see I will not come any further here.

I will thank you for your support sofar, especially goatpig for keeping this software going and for the help.

But at the end I must honestly say, that armory seems to be only usable by its devs with deep knowledge about the internals and requires.
I am a dev myself but not really into python and not interested in learning python just to access my funds.
I know armory is powerfull, but there is no way a software gets any adoption if it is not robust enough to handle the basics for an avarage user or to run on average hardware.

Stil, all the best to you.

Holliday
Legendary
*
Offline Offline

Activity: 1120
Merit: 1010



View Profile
February 26, 2018, 07:41:52 PM
 #48

average hardware.

Your hardware was average over a decade ago. Today you can buy 6c/12t CPUs that boost to 3.6GHz for less than $200. That's average! They make your CPU look like something from the dark ages. Today's high end CPUs have 12c/24t or more!

The block chain is a large amount of data, you can't just hand wave that away. You are going to need semi-decent hardware if you want to parse that data without difficulty. That is simply a fact.

Armory is wallet software which doesn't rely on outside sources for the block chain. In order to take advantage of that kind of security, there are certain trade-offs that need to be made. One of them is having a relatively decent computer.

Armory is also not for the "average user". It's for the advanced user who is comfortable with these programs and willing to run them on appropriate hardware, and willing to do some troubleshooting to get things to work. When operations takes ten times longer to complete due to ancient hardware, it's going to make troubleshooting settings that much more painful.

Basically, if you want a smooth experience with Bitcoin Core/Armory, you will want at the very least a 4c/8t CPU that boosts somewhere in the 4Ghz range and at least a SATA SSD (along with 4-8GB of RAM). SSD really can't be understated here. Many computers now use a m.2 drive which makes SATA SSD look silly. I haven't touched a HDD in 10 years. These systems aren't expensive. You can have a used system that will breeze through this for a couple hundred bucks.

I am no developer. I'm basically software illiterate. Linux is like a foreign language to me. I know hardware because I've custom built my PCs for years. I have no issues what-so-ever running Armory. In seven years I've never had it fail on me. As long as you have some semi-decent hardware, and you aren't using some crazy configuration, Bitcoin Core and Armory will simply work.

If you aren't the sole controller of your private keys, you don't have any bitcoins.
artur2000 (OP)
Newbie
*
Offline Offline

Activity: 33
Merit: 0


View Profile
February 27, 2018, 10:21:11 AM
 #49

This should not become a philosophical discussions here.
I am quite experienced in any mainstream OS out there, started win MSDOS back in the late 80s and all windows versions all the way.
I managed linux servers of all flavours and was working on linux desktops as well as Mac OS on day to day basis.
I experimented with virtualization tech on all these platforms a lot.
And yes - I have as well built some custom PCs as well along the way - this is self evident looking at above.

Therefore I can surely say I am not an "avarage user" and I can asses whether a hardware is fully crap or not.
And I have a feeling of what a PC is capable of in terms of computation and I can surely decide what tradeof I can accept.
As I wrote at some point - I can wait, I have the time.

I do not agree with the opinion, that one has to have a top notch hardware just to run a crypto wallet.
Quite in contrary - I need a clean, dedicated PC to run the wallet, so I can not use my day to day hardware for this to be fully on the safe side. That is why I took an older but good PC I had spare.
You can think of this PC what you want, but there is no crap involved in DELLs precision workstation line, there never was.

I do appreciate the efforts put into this software. I really do because I am a developer myself.
But as all in life, great projects can also get better if a healthy criticism is allowed.

My critic point is this: A wallet software should be reliable and verbose about what it does at any stage because there is money involved.
Armory clearly does something without keeping the user informed. Then it reports a "redy to go" when it isn't so follow up issues arise.
Bitcoin Core runnin gas full node on the same PC does not seem to have a problem with the limited hardware and is ready to go in 30 seconds working on the same blockchain data up to the recent block, whereas armory get stuck at block 300-something and reports all ready to go after several days of "doing something".

Do not get me wrong, I really appreciate any effort of any opensource dev out there, especially ones like goatpig who manages a complex software like armory. My great respect for work like this.
If I was a python expert I would be ready to actively contribute to fix the problems I see.

But unfortunately all I can do is to express my experience after I tried to test the software and donate some BTC if I get an adress from goatpig.

So, the community can either appreciate my voice on this or keep the blinkers on and do not bother.
Holliday
Legendary
*
Offline Offline

Activity: 1120
Merit: 1010



View Profile
February 27, 2018, 05:56:30 PM
 #50

I do not agree with the opinion, that one has to have a top notch hardware just to run a crypto wallet.

I've never suggested as much. A used 4c/8t CPU running around 4GHz with a SATA SSD, is not "top notch" hardware (it can be had for around $200). My desktop syncs Armory from scratch in under 3 minutes and that's not even top notch hardware! 32c/64t processors and 4x M.2 NVMe PCIe 3.0 x16 raid cards are a thing.

You can think of this PC what you want, but there is no crap involved in DELLs precision workstation line, there never was.

I never commented on the quality of Dell's workmanship, rather the low IPC, core count, and clock rate of your processor (which was on the low end of Intel's product line at the time), along with the fact that HDDs are huge bottlenecks when it comes to software involving block chain data.

I do appreciate the efforts put into this software. I really do because I am a developer myself.

Well, I'm a lumberjack and I can get Armory to run, every single time with ease.

But as all in life, great projects can also get better if a healthy criticism is allowed.

Healthy criticism is great, but that won't stop me from pointing out that your hardware is older than Moses and will struggle when it comes to dealing with large amount of data. There are requirements here, the block chain itself, which no amount of coding skill is going surmount. At some point, you either suffer or run the software on better hardware. Or, you can do what most people do and sacrifice security and use a lite wallet. That's fine, we all make trade-offs every day to suit our needs.

Bitcoin Core runnin gas full node on the same PC does not seem to have a problem with the limited hardware and is ready to go in 30 seconds working on the same blockchain data up to the recent block

You are referring to Core start up. What does that have to do with anything? Do you know what Core does during start up? It isn't "load the local blockchain below 30 seconds" as you've mentioned up thread. Suggesting that Core's startup process is the benchmark for whether or not your computer can parse the block chain with ease is silly.

But unfortunately all I can do is to express my experience after I tried to test the software and donate some BTC if I get an adress from goatpig.

And all I can do is explain, apparently to deaf ears, that aging hardware is going to make the process far more painful than it needs to be. It can certainly work, but it is obvious from this thread and many threads in the past, it's going to take some additional effort on the part of the user. I'm simply pointing out that one may want to add some grease to the gears here...

Quite in contrary - I need a clean, dedicated PC to run the wallet, so I can not use my day to day hardware for this to be fully on the safe side.

Armory's security model is that your private keys are created and forever remain on an air-gapped PC (which does not have to deal with the block chain itself) while the block chain is maintained locally on the internet connected PC. Anything less (private keys online / remote block chain data) is a trade off and ultimately far, far less security.

If you aren't the sole controller of your private keys, you don't have any bitcoins.
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!