Bitcoin core error opening block database

Happy New Year everybody! Describe the issue I have installed Bitcoin Core (64-bit) and changed the data directory to one on my NAS. I ran Bitcoin Core and after 2 days of synchronizing the Bitcoin...

Happy New Year everybody!

Describe the issue

I have installed Bitcoin Core (64-bit) and changed the data directory to one on my NAS. I ran Bitcoin Core and after 2 days of synchronizing the Bitcoin Core window shows «Up to date». The program exits without any problems.

After each following regular startup however Bitcoin Core (64-bit) reports «Error opening block database. Do your want to rebuild the block database now?» and I have to abort the operation.

When I install Bitcoin Core again and choose to «Run Bitcoin Core (64-bit)» everything works again, including the already synchronized blocks.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Start Bitcoin Core
  2. Message: «Error opening block database. Do your want to rebuild the block database now?»

error opening block database do your want to rebuild the block database now - 2017-01-01 19_33_06-bitcoin

  1. Run the Bitcoin Core installer again: «bitcoin-0.13.1-win64-setup.exe»
  2. Choose «Run Bitcoin Core (64-bit)», everything works again

2017-01-01 20_54_08-bitcoin core - wallet

What version of bitcoin-core are you using?

Bitcoin Core version v0.13.1 (64-bit)

Machine specs:

  • OS: Windows 10 Pro
  • CPU: Intel Core i7
  • RAM: 8.00 GB
  • Disk size: 256GB & 4TB
  • Disk Type (HD/SDD): SSD & HD

Any extra information that might be useful in the debugging process.

This is how the debug.log looks like when the error occurs:
Bitcoin debug_not working on regular startup.txt

This is how the debug.log looks like after a reinstall with Bitcoin Core correctly running:
Bitcoin debug_working again after fresh install.txt

Содержание

  1. «Error opening block database» after regular startup. Works again once after each fresh install. #9454
  2. Comments
  3. Describe the issue
  4. Can you reliably reproduce the issue?
  5. If so, please list the steps to reproduce below:
  6. What version of bitcoin-core are you using?
  7. Machine specs:
  8. Any extra information that might be useful in the debugging process.
  9. «Error opening block database» on new installation on Windows 8 when using custom database directory #6200
  10. Comments
  11. Computer: Hey, don’t unplug that, it won’t end well. User: I’ll unplug it anyway. Computer: Hey, you shouldn’t have unplugged that.
  12. Footer
  13. Topic: Getting «Error opening block database» when opening Bitcoin Core. Please help! (Read 214 times)

«Error opening block database» after regular startup. Works again once after each fresh install. #9454

Happy New Year everybody!

Describe the issue

I have installed Bitcoin Core (64-bit) and changed the data directory to one on my NAS. I ran Bitcoin Core and after 2 days of synchronizing the Bitcoin Core window shows «Up to date». The program exits without any problems.

After each following regular startup however Bitcoin Core (64-bit) reports «Error opening block database. Do your want to rebuild the block database now?» and I have to abort the operation.

When I install Bitcoin Core again and choose to «Run Bitcoin Core (64-bit)» everything works again, including the already synchronized blocks.

Can you reliably reproduce the issue?

If so, please list the steps to reproduce below:

  1. Start Bitcoin Core
  2. Message: «Error opening block database. Do your want to rebuild the block database now?»

  1. Run the Bitcoin Core installer again: «bitcoin-0.13.1-win64-setup.exe»
  2. Choose «Run Bitcoin Core (64-bit)», everything works again

What version of bitcoin-core are you using?

Bitcoin Core version v0.13.1 (64-bit)

Machine specs:

  • OS: Windows 10 Pro
  • CPU: Intel Core i7
  • RAM: 8.00 GB
  • Disk size: 256GB & 4TB
  • Disk Type (HD/SDD): SSD & HD

This is how the debug.log looks like when the error occurs:
Bitcoin debug_not working on regular startup.txt

This is how the debug.log looks like after a reinstall with Bitcoin Core correctly running:
Bitcoin debug_working again after fresh install.txt

The text was updated successfully, but these errors were encountered:

Источник

«Error opening block database» on new installation on Windows 8 when using custom database directory #6200

I have 3 hard drives — one internal, two external. Creating a custom data directory works on 2 of my drives (the internal, and one external), but doesn’t work on my third hard drive. The problem is, I don’t have space to store the 50GB+ blockchain on the two drives it works on. The one it doesn’t work on is a terrabyte drive — bitcoin’s window acknowledges there’s 600GB of free space on it.

But when I write a path on that drive, and press ok, it creates what look to be the correct file structure, but opens with an error message saying:

I can abort, or press ok. If i press ok it says «Error opening block database» and quits. Dick.. How can I debug what’s going on here?

The text was updated successfully, but these errors were encountered:

What file systems are involved?

Oh huh. The ones that work are NTFS, the one that doesn’t work is exFAT — I guess that’s too much of a coincidence to discount. I would expect, tho, that filesystems are abstracted by the OS so the program doesn’t have to care about it, no?

Is there any more info in the debug.log? Maybe you can paste that, so we can take a look? Any special things in bitcoin.conf or passed to the executable via parameters?

Edit: And perhaps most important, which version it it ;)?

I was trying Bitcoin Core version v0.9.3.0-g40d2041-beta, now I’m trying v0.10.2, same issue. My debug.log contains:

And my db.log exists but is empty. I haven’t modified bitcoin.conf — I didn’t do anything other than install and run the program this time round. I don’t know where to find bitcoin.conf either — I don’t see it in the install directory nor the data directory.

I ran chkdsk, and that solved it : ) . The bitcoin client should have printed that error in its GUI tho. Can we keep this ticket open until the error is displayed to the user via the GUI?

Great you fixed it and yeah it seems the DB init flow doesn’t handle this correctly. @sipa can you have a look?

The generic message should be extended to mention that one should check the debug log for more details about the errors. This is too rare a condition to implement specific logic for, or add specific translation messages, IMO.

@laanwj How exactly do you know how rare this is? This literally came up for me twice in a row (in the same day after I ran a chkdsk, I had to do it again later that day). Also it shouldn’t matter how rare this specific case is, because I’m sure there are a wide variety of cases where a message is written to the debug log that should find its way to a user-facing error message in the GUI.

Also, please don’t simply close tickets without allowing people to discuss your opinion.

@fresheneesz I’m going to guess that this drive is using write-caching and isn’t being unmounted properly (pulled the plug/power without safely removing). Are either of those correct?

Dunno about write caching, but yes indeed the issue is likely the power being turned off without safely removing the drive. Assuming most people are safely removing their drives isn’t a safe assumption. (See what I did there ; )

Sorry, but that logic just doesn’t follow. If write-caching is enabled and you’re unplugging the drive suddenly, all bets are off. You have essentially just unplugged a mounted (and busy) internal hard-drive. In fact, last I used Windows, it would even pop up and say «drive not ejected cleanly, corruption may have occured» or something. If that’s the case, there’s little that can be done here.

If write-caching is disabled, unplugging «should be» safe, but I should think it would also be horrendously slow.

You mean the logic of «most people don’t give a shit what their computer wants them to do» doesn’t sound like truth to you? Why is it unreasonable to expect Armory to tell me «Hey, run a chkdsk on drive E please» ?

And then, suddenly, they care what the computer wants them to do?

Computer: Hey, don’t unplug that, it won’t end well.
User: I’ll unplug it anyway.
Computer: Hey, you shouldn’t have unplugged that.

Computer: Error opening block database. Hey, run a chkdsk on drive E please.
User: Dammit computer, what do you want from me?!

The fact that leveldb spits out an error that says «run chkdsk» might mean that we can detect that specific case and present it to the user. But in nearly every case I can think of where we would show that, the more correct response would be «something’s dangerously wrong with your setup».

@theuni Most people only care when it immediately affects them. Plus your computer isn’t very vocal about its desire for you to disconnect things safely. But if your program says «hey you can’t use me until you do this» people will do it. So yes, «suddenly» they care. I’d appreciate less sarcasm.

But in nearly every case I can think of where we would show that, the more correct response would be «something’s dangerously wrong with your setup».

And what should users do if they run into some «database can’t be loaded error» and their setup is «dangerously wrong»? Just give up and never use Armory again? I don’t understand why you think a more understandable error message is unreasonable.

What are these cases you can think of where the correct response would be «your setup sucks and we won’t help you fix it»?

Ok, the bickering is getting us nowhere. On to the code:

We don’t get any useful info out of leveldb other than a failed open and an error message.. nothing to test against. We don’t know what failed or why. Advice to run chkdsk could possibly end up being wrong (and harmful) more often than not.

So the only solution here, other than «do nothing» is to print the leveldb error verbatim to the user as well as to the log. In this case, it’d be a popup saying «IO error: WinMmapFile.Append::UnmapCurrentRegion or MapNewRegion: : The operation could not be completed because the volume is dirty. Please run chkdsk and try again»

As @laanwj said, this is a rare edge-case. The question to ask is «would showing the user that info directly result in more or less confusion overall».

I’ve seen no evidence that this edge case is at all rare. That really sounds like an unsubstantiated claim. We do want your average non-techie to be able to use Armory, right?

Anyways, printing out the leveldb error verbatim sounds like a perfectly fine solution to me. As long as errors aren’t pages long, people read em, and if the solution to the problem is written right there in the error (like it seems to be in this case) then great!

© 2023 GitHub, Inc.

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Topic: Getting «Error opening block database» when opening Bitcoin Core. Please help! (Read 214 times)

If you truly want to kill the Bitcoin Core client (and you’re not on Windows), then you can send a SIGTERM signal from the terminal (killall bitcoind) to perform the equivalent of a clean shutdown process.

Windows has no such signal for that.

If you truly want to kill the Bitcoin Core client (and you’re not on Windows), then you can send a SIGTERM signal from the terminal (killall bitcoind) to perform the equivalent of a clean shutdown process.

Windows has no such signal for that.

Short answer: No.

Longer answer,
Aside from what @nc50lc said, debug.log contain basic system information and Bitcoin Core configuration. Merely knowing what OS do you use and value of your configuration isn’t enough to comprise your system.

Those are smart devices that «tried» to connect to your Local Network (WiFi) such as SmartTV, SmartPhones, etc.
Event though they failed because of wrong password attempt, those will still temporarily show up in your Windows File Explorer’s Network.

If those are persistent, then there’s most likely rogue devices connected to your Local Area Network, and check your router’s settings.
I’d recommend disabling WPS if you’re not using it.

For the logs, there’s no sensitive info included there (aside from your windows account name if it’s your real name).
Users who need support share it most of the time without issues;
in fact, it’s recommended to include it to your post for faster support: [Pinned topic] [READ BEFORE POSTING] Tech Support Help Request Format

Thanks to everyone for your replies.

Recently I have noticed unfamiliar devices in the network section of the file explorer on my computer. Is there any danger in uploading the debug log to this forum as I did? Could the information in the debug log help malicious users gain access to my computer or my network? The unfamiliar devices was something recognized as a phone, another recognized as a display, and also one without name in the «Other devices»-category.

Could these devices be some malicious person gaining access to my computer and network?

That can be a bit hit and miss. sometimes it will recover «gracefully» and simply continue from the «missing» file, other times it will just freak out and start downloading and syncing from the genesis block again. I’ve never quite been able to figure out exactly why, and haven’t tried it recently so it may not currently be an issue. but I’ve certainly had it do both in the past.

The good thing is, it’s only the «UTXO Set» that’s corrupted so the possible solution is the faster -reindex-chainstate.

If he’ll delete the said file, Bitcoin Core will return with an error and will prompt him to -reindex instead.

I’ve got this same error not long ago and it was caused by hardware — in my case it was the USB cable to the external HDD. I’ve changed to the initial, shorter but better cable and now I’m OK.
(I’ve read that it can be caused also by failing HDD.)

I’ve also read somewhere that it may be OK to remove only that one failing file, but more experienced people should confirm this. It could be quicker than full reindex.

About later posts:
* Force close can easily be the cause for the problem.
* For newbies I’d suggest Electrum (from Electrum.org and verified). Maybe together with a hardware wallet if there are big funds there.

Leave it. It should come back to life when it finishes whatever it is doing. Bitcoin Core can look non-responsive for periods of time when it is validating blocks. What are the specs (CPU/Ram etc) of the machine you’re running Bitcoin Core on?

Usually only the UI is freezing (it’s known problem, see https://github.com/bitcoin/bitcoin/issues/16417), so best option is leave it alone until Bitcoin Core complete sync process.

That’s problematic and indeed the cause of the corruption as seen in the logs.
My best guess is your Disk is having a hard time keeping up with the I/O, next is your RAM may be full.

When that happens, freeing-up some other processes may unfreeze Bitcoin Core since it should still be running in the background.

I think what you need to do is to find the cause why it’s freezing in the first place.
Try to use as little «page file» as possible since Bitcoin Core itself will use lots of HDD processes.
To do that, you’ll need to free some RAM space by reducing your background processes or add more RAM.
You can also read this: github.com/bitcoin/bitcoin/blob/master/doc/reduce-memory.md

Lastly, the wallet suggested above is a good alternative if you want to use other clients.

It depends on what you want from a wallet.
If you want to run your full node for any reason (like helping the network, having more privacy, etc.), you should use bitcoin core and download the whole blockchain.
(For more information regarding advantages of running a full node, I recommend you to visit bitcoin wiki).

If you don’t want to run your full node, you can use SPV wallets like electrum.
In SPV wallets, you don’t have to download the blockchain.

Note that electrum or any other SPV wallet can’t provide as much privacy and security as bitcoin core do.

This is quite a relatively manageable error since you wont be needing to redownload the whole blockchain unless your node is pruned.
The ‘fix’ is to launch Bitcoin Core with -reindex-chainstate, then wait for it to finish (may take hours).

To start Bitcoin Core with that parameter:

  • Go to the directory where Bitcoin Core is installed, usually C:/Program Files/Bitcoin
  • ‘Shift+RightClick’ on an empty space in that folder (make sure nothing is highlighted), and select «Open PowerShell Window Here» or «Open CMD. «.
  • ‘PowerShell’ will open, type: ./bitcoin-qt -reindex-chainstate (remove «./» if you use CMD)
  • Bitcoin Core will open and start the reindex process.

Note: To prevent that from happening, make sure to properly close Bitcoin Core everytime you need to close it.
Do not force-close it or shutdown the PC while it’s running.

Thank you so much! The program started and it is now processing blocks.

What should I do if Bitcoin Core isn’t responding? Usually when a program doesn’t respond I just force-close. Maybe that was the cause of the problem.

Do you suggest I use a different bitcoin wallet that is more appropriate for beginners maybe?

Источник

How to fix this?

enter image description here

My computer shut down without closing the program and now I try to help the network but cannot open the app… I’m a newbie, excuse myself please!

Murch's user avatar

Murch

67.6k33 gold badges174 silver badges582 bronze badges

asked Dec 10, 2021 at 23:59

Naiad Arenque's user avatar

May you have corrupted files due to shutdown. I’ve suggest you to take a look at the debug.log file for further information. First try the -reindex option if you continue to have this issue there Remove the corrupted files and restart Bitcoin core again. Note: You should backup your wallet file before any operation.

answered Dec 11, 2021 at 0:18

Pegasus's user avatar

0

  • Брайан Армстронг: «Причиной краха FTX не может быть бухгалтерская ошибка»


    Генеральный директор Coinbase Брайан Армстронг раскритиковал заявление бывшего главы FTX о том, что причиной краха биржи стала «бухгалтерская ошибка» на $8 млрд. Он считает, что средства были украдены.
    Брайан Армстронг (Brian Armstrong) написал в Твиттере, что миллиарды долларов никак не могли просто ускользнуть от внимания основателя и бывшего генерального директора FTX Сэма Бэнкман-Фрида (Sam Bankman-Fried), который окончил Массачусетский технологический институт со степенью в области физ

    5 Dec 2022, 06:58

    в Новости криптовалют

    • News Bot

    • News Bot

    • 5 Dec 2022, 06:58

  • Сэм Бэнкман-Фрид: «Заявление на банкротство FTX ― моя самая большая ошибка»


    Бывший генеральный директор биржи FTX, которая находится в процессе банкротства, заявил, что сильнее всего он жалеет именно о подаче заявления по статье 11 Кодекса США о банкротстве.
    Сэм Бэнкман-Фрид (Sam Bankman-Fried) поделился в Твиттере своими мыслями о регуляторах, этике и действиях Alameda. Основатель FTX признал, что сделал множество ошибок, но крупнейшей стало заявление на банкротство.
     
    «Я облажался множество раз. Но знаете мою крупнейшую ошибку? Все мне говорили подавать п

    17 Nov 2022, 06:18

    в Новости криптовалют

    • News Bot

    • News Bot

    • 17 Nov 2022, 06:18

  • Кубики («Ошибка игрока»)


    УГУ

    Просто для примера — возьмите монету и подбрасывайте. Если вы будете её год подбрасывать примерно 10 раз в минуту и вам хоть раз выпадет подряд 15 орлов или решек — дайте мне знать))

    11 Oct 2022, 23:44

    в Флейм

    • Выбегалло

    • Выбегалло

    • 15 Oct 2022, 16:46

  • В Solana исправлена приводившая к остановке работы сети ошибка


    Разработчики Solana сообщили, что исправили ошибку, которая уже несколько раз приводила к остановке работы блокчейна.
    В статье в блоге разработчики объяснили, что баг заключался в функции постоянных одноразовых транзакций. При определенном стечении обстоятельств ошибка позволяла дважды обрабатывать неудачную одноразовую транзакцию. Это приводило к отсутствию консенсуса – одни валидаторы отклоняли последующий блок, а другие принимали его.
     
    «Функция постоянных одноразовых транзакций

    7 Jun 2022, 09:26

    в Новости криптовалют

    • News Bot

    • News Bot

    • 7 Jun 2022, 09:26

  • Ошибка разработчиков протокола DeFi Ichi привела к падению цены токена на 99%


    В понедельник, 11 апреля, курс токена ICHI обвалился на 99%. Многие пользователи заподозрили мошенничество, однако причиной стала череда неудачных решений команды разработчиков.
    Токен ICHI – это собственный токен протокола DeFi Ichi, который разработчики описывают как «валюта для всех». Также в рамках этой экосистемы есть стейблкоин oneToken, привязанный к курсу доллара США. Пользователи могут получать стейблкоины oneToken, используя обеспечение в USDC и WBTC. Курс стейблкоина поддерживаетс

    14 Apr 2022, 09:40

    в Новости криптовалют

    • News Bot

    • News Bot

    • 14 Apr 2022, 09:40

legendary

Activity: 2366

Merit: 5489

DO NOT store your coin on third-party service!

If you truly want to kill the Bitcoin Core client (and you’re not on Windows), then you can send a SIGTERM signal from the terminal (

killall bitcoind

) to perform the equivalent of a clean shutdown process.

Windows has no such signal for that.

CMIIW, but isn’t «End Task» on Windows Task Manager is similar with SIGTERM signal (while «Kill Process» is similar with SIGKILL)?

legendary

Activity: 1120

Merit: 4740

Defend Bitcoin and its PoW: bitcoincleanup.com

What should I do if Bitcoin Core isn’t responding? Usually when a program doesn’t respond I just force-close… Maybe that was the cause of the problem.

Leave it. It should come back to life when it finishes whatever it is doing. Bitcoin Core can look non-responsive for periods of time when it is validating blocks. What are the specs (CPU/Ram etc) of the machine you’re running Bitcoin Core on?

If you truly want to kill the Bitcoin Core client (and you’re not on Windows), then you can send a SIGTERM signal from the terminal (

killall bitcoind

) to perform the equivalent of a clean shutdown process.

Windows has no such signal for that.

legendary

Activity: 2366

Merit: 5489

DO NOT store your coin on third-party service!

Is there any danger in uploading the debug log to this forum as I did? Could the information in the debug log help malicious users gain access to my computer or my network?

Short answer: No.

Longer answer,
Aside from what @nc50lc said,

debug.log

contain basic system information and Bitcoin Core configuration. Merely knowing what OS do you use and value of your configuration isn’t enough to comprise your system.

legendary

Activity: 1904

Merit: 3996

Self-proclaimed Genius ㊙️

Recently I have noticed unfamiliar devices in the network section of the file explorer on my computer. Is there any danger in uploading the debug log to this forum as I did? Could the information in the debug log help malicious users gain access to my computer or my network? The unfamiliar devices was something recognized as a phone, another recognized as a display, and also one without name in the «Other devices»-category.

Those are smart devices that «tried» to connect to your Local Network (WiFi) such as SmartTV, SmartPhones, etc.
Event though they failed because of wrong password attempt, those will still temporarily show up in your Windows File Explorer’s Network.

If those are persistent, then there’s most likely rogue devices connected to your Local Area Network, and check your router’s settings.
I’d recommend disabling WPS if you’re not using it.

For the logs, there’s no sensitive info included there (aside from your windows account name if it’s your real name).
Users who need support share it most of the time without issues;
in fact, it’s recommended to include it to your post for faster support: [Pinned topic] [READ BEFORE POSTING] Tech Support Help Request Format

newbie

Activity: 4

Merit: 0

Thanks to everyone for your replies.

Recently I have noticed unfamiliar devices in the network section of the file explorer on my computer. Is there any danger in uploading the debug log to this forum as I did? Could the information in the debug log help malicious users gain access to my computer or my network? The unfamiliar devices was something recognized as a phone, another recognized as a display, and also one without name in the «Other devices»-category.

Could these devices be some malicious person gaining access to my computer and network?

sr. member

Activity: 476

Merit: 427

For campaign, Pm CryptopreneurBrainboss

What should I do if Bitcoin Core isn’t responding? Usually when a program doesn’t respond I just force-close… Maybe that was the cause of the problem.

you need to see what to do to stop the bitcoin core not responding error. Not what to do when the error happen. Check the ram nc50lc said about. Also try to run hard drive test to see the speed if is upto.

Do you suggest I use a different bitcoin wallet that is more appropriate for beginners maybe?

more appropriate and not larger size.

legendary

Activity: 1960

Merit: 4262

I’ve also read somewhere that it may be OK to remove only that one failing file, but more experienced people should confirm this. It could be quicker than full reindex.

That can be a bit hit and miss… sometimes it will recover «gracefully» and simply continue from the «missing» file, other times it will just freak out and start downloading and syncing from the genesis block again. I’ve never quite been able to figure out exactly why, and haven’t tried it recently so it may not currently be an issue… but I’ve certainly had it do both in the past. Undecided

legendary

Activity: 1904

Merit: 3996

Self-proclaimed Genius ㊙️

-snip-
I’ve also read somewhere that it may be OK to remove only that one failing file, but more experienced people should confirm this. It could be quicker than full reindex.

The good thing is, it’s only the «UTXO Set» that’s corrupted so the possible solution is the faster

-reindex-chainstate

.

If he’ll delete the said file, Bitcoin Core will return with an error and will prompt him to

-reindex

instead.

legendary

Activity: 3164

Merit: 5425

Looking for campaign manager? Contact icopress!

2021-11-29T14:21:50Z Fatal LevelDB error: Corruption: block checksum mismatch: C:Users(name)AppDataRoamingBitcoinchainstate/1227881.ldb
2021-11-29T14:21:50Z : Error opening block database.

I’ve got this same error not long ago and it was caused by hardware — in my case it was the USB cable to the external HDD. I’ve changed to the initial, shorter but better cable and now I’m OK.
(I’ve read that it can be caused also by failing HDD.)

I’ve also read somewhere that it may be OK to remove only that one failing file, but more experienced people should confirm this. It could be quicker than full reindex.

About later posts:
* Force close can easily be the cause for the problem.
* For newbies I’d suggest Electrum (from Electrum.org and verified). Maybe together with a hardware wallet if there are big funds there.

legendary

Activity: 2296

Merit: 5624

Defend Bitcoin and its PoW: bitcoincleanup.com

Do you suggest I use a different bitcoin wallet that is more appropriate for beginners maybe?

Bitcoin Core is a full-node client which means that it requires you to download, store, and sync the entire 400GB of blockchain data (currently). This amount will grow bigger in the future. If you don’t want to use a full-node and be part of a decentralized nodes network, you can always export your private keys from Bitcoin Core and import them into an SPV client like Electrum. Or let your Core client sync first, create a new wallet on Electrum (after verifying its signatures), and transfer all your bitcoin from Core to the newly created wallet.   

legendary

Activity: 1960

Merit: 4262

What should I do if Bitcoin Core isn’t responding? Usually when a program doesn’t respond I just force-close… Maybe that was the cause of the problem.

Leave it. It should come back to life when it finishes whatever it is doing. Bitcoin Core can look non-responsive for periods of time when it is validating blocks. What are the specs (CPU/Ram etc) of the machine you’re running Bitcoin Core on?

Do you suggest I use a different bitcoin wallet that is more appropriate for beginners maybe?

What are you wanting to do with your wallet? Just send and receive coins? or are you looking at leveraging a full node for running services like a block explorer etc? Huh

legendary

Activity: 2366

Merit: 5489

DO NOT store your coin on third-party service!

What should I do if Bitcoin Core isn’t responding? Usually when a program doesn’t respond I just force-close… Maybe that was the cause of the problem.

Usually only the UI is freezing (it’s known problem, see https://github.com/bitcoin/bitcoin/issues/16417), so best option is leave it alone until Bitcoin Core complete sync process.

Do you suggest I use a different bitcoin wallet that is more appropriate for beginners maybe?

If you’re looking for convenience/ease of use, i would suggest wallet such as Electrum and Blue Wallet.

legendary

Activity: 1904

Merit: 3996

Self-proclaimed Genius ㊙️

-snip-
Note: To prevent that from happening, make sure to properly close Bitcoin Core everytime you need to close it.
Do not force-close it or shutdown the PC while it’s running.

What should I do if Bitcoin Core isn’t responding? Usually when a program doesn’t respond I just force-close… Maybe that was the cause of the problem.

That’s problematic and indeed the cause of the corruption as seen in the logs.
My best guess is your Disk is having a hard time keeping up with the I/O, next is your RAM may be full.

When that happens, freeing-up some other processes may unfreeze Bitcoin Core since it should still be running in the background.

I think what you need to do is to find the cause why it’s freezing in the first place.
Try to use as little «page file» as possible since Bitcoin Core itself will use lots of HDD processes.
To do that, you’ll need to free some RAM space by reducing your background processes or add more RAM.
You can also read this: github.com/bitcoin/bitcoin/blob/master/doc/reduce-memory.md

Lastly, the wallet suggested above is a good alternative if you want to use other clients.

legendary

Activity: 1904

Merit: 3299

Do you suggest I use a different bitcoin wallet that is more appropriate for beginners maybe?

It depends on what you want from a wallet.
If you want to run your full node for any reason (like helping the network, having more privacy, etc.), you should use bitcoin core and download the whole blockchain.
(For more information regarding advantages of running a full node, I recommend you to visit bitcoin wiki).

If you don’t want to run your full node, you can use SPV wallets like electrum.
In SPV wallets, you don’t have to download the blockchain.

Note that electrum or any other SPV wallet can’t provide as much privacy and security as bitcoin core do.

newbie

Activity: 4

Merit: 0

2021-11-29T14:21:50Z [0%]…[74%]…Fatal LevelDB error: Corruption: block checksum mismatch: C:Users(name)AppDataRoamingBitcoinchainstate/1227881.ldb
2021-11-29T14:21:50Z You can use -debug=leveldb to get more complete diagnostic messages
2021-11-29T14:21:50Z Fatal LevelDB error: Corruption: block checksum mismatch: C:Users(name)AppDataRoamingBitcoinchainstate/1227881.ldb
2021-11-29T14:21:50Z : Error opening block database.
Please restart with -reindex or -reindex-chainstate to recover.
-snip-

This is quite a relatively manageable error since you wont be needing to redownload the whole blockchain unless your node is pruned.
The ‘fix’ is to launch Bitcoin Core with

-reindex-chainstate

, then wait for it to finish (may take hours).

To start Bitcoin Core with that parameter:

  • Go to the directory where Bitcoin Core is installed, usually C:/Program Files/Bitcoin
  • ‘Shift+RightClick’ on an empty space in that folder (make sure nothing is highlighted), and select «Open PowerShell Window Here» or «Open CMD….«.
  • ‘PowerShell’ will open, type: ./bitcoin-qt -reindex-chainstate (remove «./» if you use CMD)
  • Bitcoin Core will open and start the reindex process.

Note: To prevent that from happening, make sure to properly close Bitcoin Core everytime you need to close it.
Do not force-close it or shutdown the PC while it’s running.

Thank you so much! The program started and it is now processing blocks.

What should I do if Bitcoin Core isn’t responding? Usually when a program doesn’t respond I just force-close… Maybe that was the cause of the problem.

Do you suggest I use a different bitcoin wallet that is more appropriate for beginners maybe?

legendary

Activity: 1904

Merit: 3996

Self-proclaimed Genius ㊙️

2021-11-29T14:21:50Z [0%]…[74%]…Fatal LevelDB error: Corruption: block checksum mismatch: C:Users(name)AppDataRoamingBitcoinchainstate/1227881.ldb
2021-11-29T14:21:50Z You can use -debug=leveldb to get more complete diagnostic messages
2021-11-29T14:21:50Z Fatal LevelDB error: Corruption: block checksum mismatch: C:Users(name)AppDataRoamingBitcoinchainstate/1227881.ldb
2021-11-29T14:21:50Z : Error opening block database.
Please restart with -reindex or -reindex-chainstate to recover.
-snip-

This is quite a relatively manageable error since you wont be needing to redownload the whole blockchain unless your node is pruned.
The ‘fix’ is to launch Bitcoin Core with

-reindex-chainstate

, then wait for it to finish (may take hours).

To start Bitcoin Core with that parameter:

  • Go to the directory where Bitcoin Core is installed, usually C:/Program Files/Bitcoin
  • ‘Shift+RightClick’ on an empty space in that folder (make sure nothing is highlighted), and select «Open PowerShell Window Here» or «Open CMD….«.
  • ‘PowerShell’ will open, type: ./bitcoin-qt -reindex-chainstate (remove «./» if you use CMD)
  • Bitcoin Core will open and start the reindex process.

Note: To prevent that from happening, make sure to properly close Bitcoin Core everytime you need to close it.
Do not force-close it or shutdown the PC while it’s running.

newbie

Activity: 4

Merit: 0

I read something about looking in the debug.log file but I couldn’t find it on my computer.

The log should be in your Bitcoin data directory.
If you didn’t set a custom one, it should be in: https://en.bitcoin.it/wiki/Data_directory#Default_Location (check your OS)
If you set a custom data directory, just open that folder and the debug.log file should be there.

Thank you.

legendary

Activity: 1904

Merit: 3996

Self-proclaimed Genius ㊙️

I read something about looking in the debug.log file but I couldn’t find it on my computer.

The log should be in your Bitcoin data directory.
If you didn’t set a custom one, it should be in: https://en.bitcoin.it/wiki/Data_directory#Default_Location (check your OS)
If you set a custom data directory, just open that folder and the debug.log file should be there.

newbie

Activity: 4

Merit: 0

Hello Forum

This is my first post on here. I found some threads about the same topic, but did not completely get help to solve my problem.

When I try to open Bitcoin Core on my Windows computer and during startup it starts a procedure called upgrading the UTXO database, I get an error message saying «Error opening block database, do you want to rebuild the block database now?» I click «OK» and then it says again «Error opening block database», and then the program shuts down. I try the same thing again and the same problem occurs. I have downloaded the newest version of the software and have tried restarting my computer but I get the same problem still. I read something about looking in the debug.log file but I couldn’t find it on my computer. Can someone please help me?

Thanks

Lightning1

Armory is an advanced tool for accessing the complex Bitcoin network. The developers have gone to great length to improve the user experience and are always working to fix known issues. If you encounter struggles using Armory, the tips below may provide you with solutions to your problems. Due to the sheer magnitude of Armory downloads, we are unable to personally answer every support ticket or email. To stay updated on the latest versions, you can subscribe to our mailing list or follow us on Twitter (@armory). We encourage you to browse our website FAQ and Troubleshooting sections if you have questions or difficulty using Armory. Additionally, you can visit the public forums at https://bitcointalk.org/ and find helpful solutions as well as post your issue there.

If you think you are encountering a truly unique problem not listed on our site or in the forums, please go to our Support Page and submit your log file and a brief description. You can retrieve your log file by opening Armory and going to “File > Export Log File.”

  • Update to latest version of Armory and Bitcoin Core
  • Resetting Armory
  • Why does Armory take so long to download?
  • Why does Armory use so much hard drive space?
  • How can I change the blockchain database storage location for Armory and Bitcoin Core?
  • Make sure your system clock is correct to avoid “frozen” state
  • Armory crashes after completing blockchain download, but before it starts rebuilding the database
  • Bitcoin Core/bitcoind refuses connection from Armory
  • “Armory won’t start anymore. Help!”
  • Armory crashes every time I type in my password
  • I just setup my offline wallet but where is my balance?
  • Can I Use My Bitcoin Core Wallet In Armory?
  • Help! I’ve forgotten my wallet encryption password!
  • I sent a transaction, but it is “stuck” with 0 confirmations
  • English is not your native language/locale
  • Armory can’t find my Bitcoin installation, but I know it’s installed!
  • Error opening block database. Do you want to rebuild the block database now?”
  • Deleting and Redownloading the Blockchain
  • How do I setup Armory on the Test Network (Testnet)
  • Connection Issues (advanced)
  • Rebuilding and Rescanning Armory’s Databases
  • Command-Line Options
  • Does Armory support BIP38 (private encrypted key)?

Update to latest version of Armory and Bitcoin Core

Before you start troubleshooting, make sure you’re using the latest version of Armory and Bitcoin Core.

Resetting Armory

Try going into the computer’s start menu and finding the entry for “Armory Bitcoin Client”. Click on the option that says “Armory (Offline)”. This will load Armory without most of the operations that cause loading problems. Once that is open, you can go to “Help”–>”Revert All Settings”. This is effectively a “factory reset” of Armory to the state it was in before the first time you used it. Alternatively, you can also navigate to “Help” -> “Factory Reset” and revert the settings as well as force a complete rebuild of the blockchain.

Why does Armory take so long to download?

The time to download is a function of the download size, your computer performance, as well as your connection speed. The download size starting in 2014, is over 40GB. During the download, do not interrupt the download and synchronization process as data corruption can occur. If this does happen, you may be forced to re-download the entire blockchain. Before assuming you are experiencing an excessive or unusually long download time, be sure you are minimizing resource usage on your computer, and verify the quality of your internet connection. You can obtain the performance of your internet connection at www.speedtest.net and www.pingtest.net. For reference, at the start of 2014, a Windows 7, 64-bit system, with a 2GHz Quad-core CPU, and 6.0 GB of RAM on a 47 Mbps connection took 5 hours to download the blockchain and install Armory, start to finish. You may experience longer or shorter download times depending on your equipment and connection speed.

Why does Armory use so much hard drive space?

The Bitcoin Core engine (bitcoind) generates a database, as well as the Armory engine (armoryd). As a result, there is a large hard drive space requirement to store the entire blockchain. Additionally, as the blockchain grows, the space required grows as well.

How can I change the blockchain database storage location for Armory and Bitcoin Core?

WATCH: /tutorials/armory-basics/move-files/

Armory Home Directory — The location for the armory database. Default location is C:Users<user>AppDataRoamingArmory folder

Installation Directory — The location where the Armory program files are installed. Default location is C:Program Files (x86)Armory

The instructions below relocate the entire Bitcoin Core and/or Armory directories (dirs). By moving the entire dirs, the wallet files will stay in the same location as the databases (db’s).

Alternatively, the db’s may be independently moved from the dirs (using command “–dbdir”) but should only be done to specifically separate the db’s from the dirs

To move Bitcoin Core home dir ONLY, choose option (A) or (B)

A) Auto run Bitcoin Core (system default) MAC users** **MUST USE** **Option (B)

  1. Navigate to alternate Bitcoin Core storage location and create the new target dir, for example F:Bitcoinnewhomedir

  2. In Armory, go to “File > Settings” and set the “Bitcoin Home Dir” folder to the new target dir F:Bitcoinnewhomedir

  3. Close Armory

  4. Move everything from your Bitcoin Core home dir (C:Users<username>AppDataRoamingBitcoin) to the new target dir F:Bitcoinnewhomedir

  5. Restart Armory

B) Manually run Bitcoin Core (ONLY option for Mac users)

  1. Close Bitcoin Core and Armory

  2. Navigate to alternate Bitcoin Core storage location and create the new target dir, for example F:Bitcoinnewhomedir

  3. Move everything from your Bitcoin Core home dir (C:Users<username>AppDataRoamingBitcoin) to the new target dir_ _F:Bitcoinnewhomedir

  4. Navigate to the original Bitcoin installation folder:

    • 32-bit: C:Program Files (x86)Bitcoin

    • 64-bit: C:Program FilesBitcoin

  5. Right-click on the file “bitcoin-qt” select “Send to” and select “Desktop (create shortcut)”

  6. Navigate to the original Armory installation folder:

    • 32-bit: C:Program Files (x86)Armory

    • 64-bit: C:Program FilesArmory

  7. Right-click on the file “ArmoryQt” select “Send to” and select “Desktop (create shortcut)”

  8. Go to the desktop, right click each of the new shortcuts just created, and select “Properties.” Select the “Shortcut” tab. Next, go to the “Target” field and add the following command line arguments to the end (Paths for both shortcuts MUST be the same** _unless_ **moving BOTH directories — see below)

  9. Bitcoin Core shortcut: -datadir=F:Bitcoinnewhomedir__

    • For example __C:Program Files (x86)Bitcoinbitcoin-qt.exe__ -datadir=__F:Bitcoinnewhomedir__
  10. Armory shortcut: –satoshi-datadir=__F:Bitcoinnewhomedir__

*   For example_<span style="color: #0000ff;">_<span style="color: #0000ff;"><span style="font-family: Liberation Serif,serif;">"</span></span>_C:Program Files (x86)ArmoryArmoryQt.exe_<span style="color: #0000ff;"><span style="font-family: Liberation Serif,serif;">"</span></span>_ --satoshi-datadir=_<span style="color: #0000ff;"><span style="font-family: Liberation Serif,serif;">"</span></span>_F:Bitcoinnewhomedir_<span style="color: #0000ff;"><span style="font-family: Liberation Serif,serif;">"</span></span>_</span>_
  1. Start Bitcoin and Armory using the newly created shortcuts. In the Armory, de-select the check box that says “Let Armory run BitcoinQt…”

  2. Close Armory

  3. When Bitcoin Core is fully synchronized, start Armory using the modified Armory shortcut

To move Armory home dir ONLY:

  1. Navigate to preferred Armory storage location and create the new target dir, for example F:Armorynewhomedir

  2. Navigate to the original Armory installation folder:

    • 32-bit: C:Program Files (x86)Armory

    • 64-bit: C:Program FilesArmory

  3. Right-click on the file “ArmoryQt.exe.” Select “Send to” and select “Desktop (create shortcut)”

  4. Go to your desktop, right click the new shortcut just created, and select “Properties.” Select the “Shortcut” tab. Next, go to the “Target” field and add the following command line arguments to the end: –datadir=F:Armorynewhomedir

    Start Armory using the newly created shortcut

    • For example __C:Program Files (x86)ArmoryArmoryQt.exe” –datadir=__F:Armorynewhomedir__

To move BOTH Bitcoin Core AND Armory home dir:

  1. Complete both steps above but instead, modify Armory Shortcut by adding:–satoshi-datadir=_“_F:Bitcoinnewhomedir__ –datadir=__F:Armorynewhomedir__

To move ONLY the databases

  1. Use the similar steps above but substitute the database command: _–dbdir=«</span>_

Make sure your system clock is correct to avoid “frozen” state

Sometimes, when installing Armory for the first time and synchronizing with the network, Armory will freeze at a given percentage. This is a common problem associated with an erroneous system clock on the computer not matching the time stamp of the Bitcoin network.

To fix this problem:

In windows, right-click on the time and select “Adjust Date and Time.” Then, set the correct Date and Time. It’s also critical that you select your proper timezone. Optionally, you may also choose to go to the Internet time tab and allow windows to automatically synchronize with the Internet time. For more info, refer to: http://windows.microsoft.com/en-us/windows7/set-the-clock

In Ubuntu, right-click on the time, then select “Time & Date Settings…”. Click your location on the map to select the correct timezone and then manually adjust the time at the bottom if necessary. For more information, refer to: https://help.ubuntu.com/community/UbuntuTime

Armory crashes after completing blockchain download, but before it starts rebuilding the database

When saving the Armory database to a network share, you should use both the –settings=”local path on C:» and the –datadir=”serversharedir” together as the settings directory needs to be a local directory. Otherwise, it may crash if it’s on a network share.

Bitcoin Core/bitcoind refuses connection from Armory

Some advanced users have a custom bitcoin.conf file which causes Bitcoin Core/bitcoind to refuse the connection from Armory. This advice only applies to users which have a custom “bitcoin.conf”, perhaps for running Bitcoin miners, or tweaking network usage and security.

Be aware that Armory connects to Bitcoin Core or bitcoind as a regular peer, not through RPC. As such, the bitcoin.conf requires allowing incoming connections from 127.0.0.1. The following lines are example options in bitcoin.conf:

addnode=127.0.0.1
listen=1
maxconnections=20

You should consider adding the first two lines if you are comfortable with the security implications, and possibly removing the maxconnections line if you continue to have problems (Bitcoin Core/bitcoind may fill up all its connections with external peers, not allowing it to allocate any to Armory).

“Armory won’t start anymore. Help!”

While Armory is still in Beta, there are still some subtle bugs that cause Armory to misbehave on systems. Armory developers are always working to fix these problems, but it usually requires a bug report submitted from Armory, or you can open a support ticket so we’re aware of the problem and can try to fix it. One thing you can try, is to go into the start menu and find the entry for “Armory Bitcoin Client”. Click on the option that says “Armory (offline)”. This will load Armory without most of the operations that cause loading problems. Once that is open, you can go to “Help”–>”Revert All Settings”. This is effectively a “factory reset” of Armory to the state it was in before the first time you used it.

Armory crashes every time I type in my password

The crash is most likely the result of a corrupt wallet file. If you do not have a wallet backup, you will need to open a support ticket via the Armory support page. If you have a backup, follow the directions below:

(1) Make a copy of the original, corrupted wallet, in case the backup you are about to use does not work for some reason. Double-click on the corrupted wallet, and make a “digital backup”. Save the file somewhere safe.

(2) In the same wallet properties, click “Delete/Remove Wallet”. Completely remove the wallet. It should disappear from the Armory interface.

(3) From the main Armory window, click on the “Wallets” menu and select “Import or Restore Wallet”.

(4) Select the type of backup you have to restore your wallet. Follow the directions.

(5) Go into the restored wallet properties and click “Change Wallet Labels” and type in the original name of the wallet.

You should be able to see your balances at this point. If something did not go right, just restart Armory. If you still don’t see the balances you expect, go to “Help”–“Rescan Databases” and then restart Armory.

I just setup my offline wallet but where is my balance?

The offline computer is basically a signing authority. It is not connected to the internet or Blockchain, so there should not be any balance information available.

Can I Use My Bitcoin Core Wallet In Armory?

Unfortunately, Armory does not support the same address format used by Bitcoin Core. The feature was available in Armory until the new format was adopted by Bitcoin Core in April 2012. However, Armory will be upgrading its own wallet format very soon, to support wallet types of lots of different programs, in addition to supporting multi-signature transactions (see below). However, even if Armory could use Bitcoin Core wallets, they would need to be backed up every couple of months because they are “non-deterministic.” For this reason, it is recommended that you create a native Armory wallet, and transfer your funds to it instead of waiting for the migration feature (and then make a paper backup of it!). Anything that could be done with a Bitcoin Core wallet can be done with an Armory wallet. Also, Armory has a feature that makes it easy to export your private keys, so that they can be imported into another program (such as Bitcoin Core). If you try Armory and decide you don’t like it, you can use this feature to “migrate” your Armory wallet to another application. However, for a variety of reasons, it is still recommended to just send the funds to the other wallet instead of migrating.

Help! I’ve forgotten my wallet encryption password!

Do you have a paper backup? If so, it is recommended you make a digital backup of your encrypted wallet (just in case something goes wrong and then you remember your password later), then move the wallet from Armory folder to a save location. Then use the “Import Wallet” dialog to restore your paper backup. If you do not have a paper backup or an unencrypted digital backup, you will need to open a support ticket via the Armory support page.

NOTE: Armory wallet encryption was specifically designed to be robust against state-of-the-art encryption-cracking techniques. This is what will protect your funds if an attacker obtains your wallet file, but it is also what makes it difficult for you to recover your wallet if you forget your passphrase. Your passphrase is the encryption key for your wallet, and thus you are in the same shoes as a potential attacker if you forget it — it will be nearly impossible to recover the wallet unless you can remember substantial portions of the passphrase. The more you can remember, the more likely you will be able to recover it. However, in nearly all cases, you will need to hire someone with knowledge of encryption and who has access to a lot of computing power. For reference, if you use a completely random 6-character passphrase for your wallet, and you cannot remember anything about it, it will take your computer up to 900 years to recover your wallet. However, if you remember most pieces of your password, an expert may be able to help you recover your wallet in a few days. To prevent this from happening to you:

– Don’t forget your passphrase!
OR
– Make a paper backup of your wallets and keep it safe!

If you find yourself in this situation anyway, open a support ticket via our support page.

I sent a transaction, but it is “stuck” with 0 confirmations

This problem can happen when there is a temporary disconnection from the network right as you attempt to broadcast your transaction. It can also occur with low-value transactions. Unfortunately, the way Armory and Bitcoin Core work make it difficult for Armory to correct this situation on its own. However, this error is easily resolved manually.

If you let Armory manage Bitcoin Core for you (or you do not know what this means): Go to “Help”->”Clear All Unconfirmed”. Then restart Armory. Send/broadcast your transaction again.

If you manage Bitcoin Core/bitcoind manually: Go to “Help”->”Clear All Unconfirmed”. Then restart both Armory and Bitcoin Core/bitcoind. Send/broadcast your transaction again.

If this does not help, it’s possible that the network is simply processing your transaction with very low priority. This can happen to transactions that are small in value (BTC), large in size (kilobytes), and do not have fees attached. You can avoid this by including a 0.0001 BTC fee on all your transactions by default. If this is the problem, you will be able to right-click on the transaction in your history and select “View on Blockchain.info”. If the website shows you an “Unconfirmed!” transaction, you will just have to wait.

English is not your native language/locale

Unfortunately, Armory has trouble with the letters that appear in languages that are not part of the English alphabet (like, £¥áöé). This is a known problem with Armory and will be fixed after Armory version 0.90-beta. Until then, you can help Armory by avoiding these “unicode” characters in the following places:

  • Comment fields for addresses and transactions
  • Any of the fields in the settings window
  • Username and password in bitcoin.conf file (problematic in Windows, only)

The wallets that Armory uses were not originally created with unicode support. However, a new wallet file format is being created that is unicode-friendly, and should be released in Armory version 0.90-beta.

If you are using a non-US keyboard and were using Armory before version 0.88.1, then you may have been able to use Armory but then became locked out as of the latest version. Version 0.87.2 may still work for you. It can be retrieved from the googlecode download page.

Armory can’t find my Bitcoin installation, but I know it’s installed!

First of all, make sure you understand how Armory and the core Bitcoin software work together.

This problem is especially confusing in Linux, because of the variety of non-standard configurations. In Windows, it also happens when you don’t install to the default location. In both cases, you need to go into “File”->”Settings”, and point to where it is installed. Due to some quirks in the way Armory finds the executables on Windows, you may need to actually point it to the “daemon” directory within the install directory. For instance: “C:Program Files (x86)Bitcoindaemon”.

The most common point of confusion is that Armory is not looking for “bitcoin-qt”, it is looking for “bitcoind” — it’s a different executable. This is the version of Bitcoin software that runs in the background with no user interface. If you are in Ubuntu using the Bitcoin PPA you have to install it separately: ”sudo apt-get install bitcoind“. Or use the “Auto-Install” button which will actually setup the Ubuntu PPA for you, if it’s not already. The auto-install button will actually install both Bitcoin Core and bitcoind.

Error opening block database. Do you want to rebuild the block database now?”

When you receive this error, it is actually a problem with the underlying Bitcoin Core/bitcoind (from bitcoin.org), not related to Armory itself. Armory simply relies on their software to communicate securely with the Bitcoin network. If you see this error, the only way to resolve it is to redownload the entire 20+ GB of blockchain data. Obviously, this can take a long time: 4 to 48 hours depending on your connection. Unfortunately, we’re not aware of any other options. Please follow the directions below labeled “Deleting and Redownloading the Blockchain.”

If you have further problems with StdOut/StdErr messages like this, you will have to contact the core developers either through the forums or IRC channel. We don’t produce that software, we are only familiar with troubleshooting this particular error.

Deleting and Redownloading the Blockchain

(1) Make sure Armory is closed. If you run Bitcoin Core/bitcoind yourself, close that as well.
(2) You need to find the Bitcoin Core/bitcoind home directory in your file browser. It can be found:

  • Windows: C:Users<username>AppDataRoamingBitcoin
  • _Linux: /home//.bitcoin_
  • _MacOSX: /Users//Library/Application Support/Bitcoin_

(3) Within that directory, remove all files and folders EXCEPT wallet.dat. The only file remaining should be wallet.dat!
(4a) If you don’t run Bitcoin Core/bitcoin manually (or don’t know what I’m talking about), just start Armory. It will run bitcoind in the background, which will resynchronize with the network (4 to 48 hours depending on your connection).
(4b) If you run Bitcoin Core/bitcoind manually, restart it. Wait for it to finish synchronizing with the network (4-48 hours depending on your connection). A green checkmark will appear in the bottom-right corner when it’s done. Then start Armory.

How do I setup Armory on the Test Network (Testnet)

If you want to try out Armory’s features without committing real funds, Testnet is a great resource. Testnet is used to describe the Test Network. It is essentially the same thing as the Bitcoin network, but it uses “Testnet coins” to help developers test features and functionality. All testnet addresses start with “m” while all Bitcoin addresses start with “1”. You can get testnet coins for free because they have no value. Do not accept testnet coins for any commercial transaction – they are worthless. You can mine them yourself or search for a generous Testnet Faucet provider like http://tpfaucet.appspot.com.

To run Armory on testnet, you’ll have to disable auto-bitcoind and run Bitcoin-Qt or bitcoind in testnet mode manually. The process can be misleading because Armory and Bitcoin-Qt/bitcoind use inconsistent command line arguments. For instance, you use “-testnet” flag with Bitcoin-Qt/bitcoind and “–testnet” flag for Armory (yes, one slash for bitcoin, two slashes for Armory). Here’s the detailed breakdown to use Armory in the “Test Network” mode:

Open Bitcoin Armory (testnet), navigate to the settings panel, and deselect “Let Armory run Bitcoin-Qt/bitcoind in the background.”

Next, navigate to the location of your Bitcoin Core installation, for example C:Program FilesBitcoin. Once there, it is easiest to click on the “bitcoin-qt” application and create a shortcut. Next, you need to change the target or command to the following:

Windows: “C:Program Files (x86)Bitcoinbitcoin-qt.exe” -testnet

Linux/Ubuntu: /usr/bin/bitcoin-qt -testnet

Finally, click on the newly created shortcut to activate the Bitcoin Core test network. Once Bitcoin Core is finished syncing, you can start Bitcoin Armory (testnet) and you will have access to the Test Network.

*NOTE: Due to some quirks in the path resolution, if you want to use a custom directory for Armory and Bitcoin, the –datadir and –satoshi-datadir arguments are inconsistent. For instance, if you moved both your bitcoin home dir and your armory home dir to F:Bitcoin and F:Armory, respectively, do the following:

bitcoind.exe -testnet -datadir=F:Bitcoin

Armory.exe –testnet –datadir=F:Armorytestnet3 –satoshi-datadir=F:Bitcoin

The problem is that Bitcoin-Qt expects the base bitcoin home directory, even for testnet, and will add the “testnet3” for you. If you specify F:Bitcointestnet3, it will run in F:Bitcointestnet3testnet3. However, this wasn’t realized when initially setting up the code for processing arguments, and therefore, Armory requires explicitly specifying the full path.

Connection Issues (advanced)

Sometimes Armory experiences problems connecting to Bitcoin Core. The most important thing to know is that Armory connects to Bitcoin Core as a peer (over localhost sockets), instead of through RPC. This means that Bitcoin Core needs to allow incoming connections. This trips up many users that have custom bitcoin.conf files that limit connections and connection types. Sometimes you may not actually know there is an issue until you attempt to send coins. If you run into such an issue, it is recommended you delete your bitcoin.conf file and restart everything, and see if the problem is resolved.

Rebuilding and Rescanning Armory’s Databases

The databases that Armory builds and uses are very large (20+ GB), and it is possible for them to become corrupted, especially if Armory did not shut down cleanly. This requires a full rebuild+rescan. Sometimes, the databases are fine and simply have been processed incorrectly by Armory. In this case they only need to be rescanned.

  • If Armory crashes while starting up, especially while scanning, you may need to “Rebuild and Rescan Databases” from the “Help” menu.
  • If you experience missing transactions and/or incorrect balances, you may simply need to “Rescan Databases” from the “Help” menu.
  • If you have zero-confirmation transactions that are in your transaction history but are not found when you right-click and “View on Blockchain.info”, then “Clear all Unconfirmed” from the “Help” menu.

In all three cases, you will need to restart Armory for the corrective action to be applied properly. If you had stuck zero-confirmation transactions and used “Clear all Unconfirmed”, you will need to rebroadcast your transaction after you restart.

Take note, there is a bug in the “Rebuild and Rescan” operation, which will fail if the database is badly corrupted. If you use the “Rebuild and Rescan Databases” operation, but Armory still crashes shortly after starting up, you will need to manually remove the databases. Close Armory, then navigate to the Armory home direcotry in a file browser:

  • Windows: C:Users<username>AppDataRoamingArmory
  • _Linux: /home//.armory_
  • _MacOSX: /Users//Library/Application Support/Armory_

Once there, delete the “databases” directory. When Armory is restarted, it will rebuild the databases from scratch. As mentioned before, do not try this step unless the “Help”->”Rebuild and Rescan Databases” option does not work.

Command-Line Options

The following options can be appended to the call to load Armory. If you are in Windows, this can be done by making a shortcut to Armory on your desktop, and then right-click on the shortcut and select “Properties”. You can add the options to the end of the “Target:” line, with a space before each one. For instance, the default “Target:” is:

“C:Program Files(x86)ArmoryArmoryQt.exe”

If you would like to skip the online check because you are behind a proxy, you would change “Target:” to:

“C:Program Files(x86)ArmoryArmoryQt.exe” --skip-online-check

Note that Bitcoin Core (and bitcoind), does not use standard convention: it uses a single-dash to specify long arguments. Armory uses the standard linux convention of using two dashes for these options. Therefore, if you normally run Bitcoin Core with an alternate data directory, such as:

“C:Program FilesBitcoinbitcoin-qt.exe” -datadir="C:bitcoindatapath"

You would run Armory using:

“C:Program Files(x86)ArmoryArmoryQt.exe” --satoshi-datadir="C:bitcoindatapath"

You can get a full list of terminal options by running Armory from the command line with “–help”. Here is the output with abridged comments

 **--settings**=PATH # Path to Armory settings file
 **--datadir**=PATH # Armory home directory
 **--satoshi-datadir**=PATH # Bitcoin-Qt/bitcoind home
 **--satoshi-port**=NUMBER # Bitcoin-Qt/bitcoind P2P port (8333)
 **--rpcport**=NUMBER # Bitcoin-Qt/bitcoind RPC port (8332)
 **--testnet** # Run Armory on the test network
 **--offline** # Force offline mode
 **--nettimeout**=NUMBER # Timeout(sec) for detecting internet (2)
 **--interport**=NUMBER # Armory inter-process port (8223)
 **--debug** # Run Armory with enhanced debugging
 **--nologging** # Disable logging
 **--netlog** # Log P2P network messages to and from Armory
 **--logfile**=PATH # Path to write the log file
 **--mtdebug** # Log inter-thread communications
 **--skip-online-check** # Force online mode
 **--skip-announce-check** # Do not check Armory website for versions
 **--keypool=NUMBER # Set keypool size** 

Does Armory support BIP38 (private encrypted key)?

Armory Technologies does not support any backup mechanisms that require the user’s memory for recovery of their wallet and funds. Humans forget passwords all the time, which is especially relevant when that password may not be used for years until the backup is finally needed. Furthermore, it is very important to us to encourage users to create backups in a way that their heirs will be able to recover their wallets in the event of disappearance or death. Any backups that require the original user’s memory will result in permanently lost coins.

Many users want BIP38 encrypted backups because they want to limit single-points of failure – i.e the backup being found by an unauthorized person. BIP38 enable a kind of 2-of-2 backup: in order to restore your wallet, you need a piece of paper and a piece of information in your brain. Armory achieves the same goal but without user’s memory, by providing fragmented backups. You can make a 2-of-2 backup which is a safer version of BIP38 encrypted backups. In fact, a 2-of-3 or 3-of-5 is even better, as it adds redundancy in addition to security.

We understand this doesn’t necessarily meet 100% of use cases, but we also find it our duty to help guide users to best practices that ensure both security and “continuity,” especially since many of these aspects of using and securing bitcoins are non-intuitive.

Понравилась статья? Поделить с друзьями:
  • Bit error tester
  • Bit error ratio что это
  • Bit error rate это
  • Bit error rate перевод
  • Bit error rate too high