Author

Topic: Bitcoin core randomly turns off (Read 181 times)

brand new
Activity: 0
Merit: 0
November 25, 2022, 04:53:03 AM
#14
In relation to the problem you're experiencing, this is not a cold wallet. A cold wallet is one that doesn't periodically connect to the internet; it's always disconnected.

Installing Bitcoin Core on a machine that is always airgapped and never connected to the internet is what you want to do. Then, without having to sync the blockchain, you can use this to create a new wallet and private keys. Then, using an online, fully synchronized version of Bitcoin Core, you export the addresses from this wallet and import the addresses alone (not the private keys). An unsigned transaction is created in the online synced wallet, moved to your airgapped wallet to be signed, and then returned to your online wallet to be broadcast.
legendary
Activity: 2870
Merit: 7490
Crypto Swap Exchange
November 16, 2022, 04:39:15 AM
#13
Thats the debug.log after it closes without any information:
https://gyazo.com/ac34e22ff6c84c95fe199666d0297c04

After i close BTC core (it took around 6-7 minutes to close it) and re-open it Bitcoin core gave me an error that datebase got an error and i need to rebuild it thats the Debug.log:
https://gyazo.com/1402f33706b5da063b9406e1d7a93313

How to prevent that situation in future to dont make it corrupted?

Small parts of debug.log file you provided isn't helpful since it only show information about latest block and message which say a file is corrupted. As @achow101 said, please provide full/whole debug.log. You could use online website such as https://pastebin.com/ or Google Drive to upload that file.

How to prevent that situation in future to dont make it corrupted?

I have a feeling that you didn't sync it all. But form the few info you provide I don't know.

I also wonder about that since highest block height shown on debug.log is only 483301 (on first screenshot) and 157169 (on second screenshot).
staff
Activity: 3458
Merit: 6793
Just writing some code
November 15, 2022, 11:33:53 PM
#12
Please provide the full debug.log file, not just images of various snippets.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
November 15, 2022, 10:42:03 PM
#11
Im trying to full sync bitcoin core but it randomly closes No error or anything.After it close few Times and I reopen it blockchain gets corrupted.
-snip- How to prevent that situation in future to dont make it corrupted?
It always happen, so how do you deal with it each time it got corrupted? Using -reindex?
If you still haven't, follow the log's suggestion to start Bitcoin-qt with -reindex-chainstate command line option (instructions).

But AFAIK, having a corrupted chainstate wont cause the GUI to crash without errors.
But the log doesn't tell much about the issue, are there any non-default settings? (should already be available if the full log is provided)
legendary
Activity: 2170
Merit: 1789
November 15, 2022, 10:26:48 AM
#10
I can at least tell that your 3rd idea is really bad. While BNB and BUSD are controlled by Binance, you can still store them on your own wallet and trade them on a dex. At least if privacy is your concern, storing them on an exchange will eventually require an ID verification for withdrawal etc since they can easily change their policy.
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
November 15, 2022, 08:49:18 AM
#9
How to prevent that situation in future to dont make it corrupted?

I have a feeling that you didn't sync it all. But form the few info you provide I don't know.

1.Bitcoin holding - Download bitcore  from bitcoin.org - download whole blockchain make 3 keys backups(on 3 diffrent pendrives) and sync it once every 2 months.

Getting your wallet online even for a second is unsafe. And I have a feeling you want to store big money if you want to use different computers for each. So .. don't.
(Plus, since the cold storage never goes online, not even for windows updates, you can easily keep all wallets on that one. I repeat, sync is not needed for cold storage).

If you want only safety and you don't care too much about privacy, I will recommend Electrum because it's easier to handle and better documented.
One Electrum will stay forever offline. That one contains the seed. Offline.
Another Electrum, on another computer, will go online. That's a watch only wallet. They will work together. The watch only wallet will handle the online stuff (see funds/inputs, create transactions, broadcast transactions) and since it's online it's OK. The offline cold storage will only sign transactions (you transfer from the watch wallet and back when signed, to broadcast). The watch only wallet is created from master public key, not for seed. Some more details are here: https://electrum.readthedocs.io/en/latest/coldstorage.html

Similar logic can be done with Bitcoin core, but I don't have experience with that. However, there too, the cold storage stays offline. Always.

2.

Sorry, I don't know (nor care much) about these.
newbie
Activity: 7
Merit: 15
November 15, 2022, 08:33:56 AM
#8
once whole blockchain will be downloaded thats gonna be cold wallet i will update it once in two months.

This is not a cold wallet. This is the recipe for losing your coins without understanding how that could be possible. It has happened before. As said, cold storage should absolutely never go online after the address was set up in it. The cold storage doesn't even need to be synchronized with the blockchain. You should really read more about cold storage.

Im trying to full sync bitcoin core but it randomly closes

Do you by chance store the blockchain onto an external disk? If so, your problem may be caused by the disk disconnecting (bad data cable/contact or insufficient power sent to the disk).

Its sata connected SSD Samsung 870 Evo.


Soo what do you recommend to make my coins safe? Because i dont really belive in ledger or trezor.

The plan was fallowing to store my coins:

1.Bitcoin holding - Download bitcore  from bitcoin.org - download whole blockchain make 3 keys backups(on 3 diffrent pendrives) and sync it once every 2 months.
2.Cardano Holding - Download DAEDALUS WALLET from cardano.org and rest like ^
3.BNB and BUSD - Holding it on Binance (Its centralised chain soo anyway it dosent really change anything)
4.Ethereum - create wallet on my ether wallet and make 3 backups on pendrives.(I wanted to download mist wallet but it dosent seems to working anymore)

(every wallet be offline all the time Only windows + wallet will be installed on the SSD each Wallet has separate PC).

Is there anything that i can improove in my Holding steps? The ammount of time im planning to hold until i sell is 2-3 years.(Im just spending small ammounts from 2 months 400USD weekly on crypto)
newbie
Activity: 7
Merit: 15
November 15, 2022, 08:25:59 AM
#7
once whole blockchain will be downloaded thats gonna be cold wallet i will update it once in two months.

This is not a cold wallet. This is the recipe for losing your coins without understanding how that could be possible. It has happened before. As said, cold storage should absolutely never go online after the address was set up in it. The cold storage doesn't even need to be synchronized with the blockchain. You should really read more about cold storage.

Im trying to full sync bitcoin core but it randomly closes

Do you by chance store the blockchain onto an external disk? If so, your problem may be caused by the disk disconnecting (bad data cable/contact or insufficient power sent to the disk).

SSD is brand new
PSU was changed like 3 months ago
MEMTEST on ram was done no errors etc.
Also it couldnt be a CPU i tested in on 2 other PCs with same results.
Thats the debug.log after it closes without any information:
https://gyazo.com/ac34e22ff6c84c95fe199666d0297c04

But today once i've been downloading blockchain and Bitcoin core was "Hide in tray" it successfuly downlaoded.

After i close BTC core (it took around 6-7 minutes to close it) and re-open it Bitcoin core gave me an error that datebase got an error and i need to rebuild it thats the Debug.log:
https://gyazo.com/1402f33706b5da063b9406e1d7a93313


How to prevent that situation in future to dont make it corrupted?
legendary
Activity: 3668
Merit: 6382
Looking for campaign manager? Contact icopress!
November 15, 2022, 04:19:46 AM
#6
once whole blockchain will be downloaded thats gonna be cold wallet i will update it once in two months.

This is not a cold wallet. This is the recipe for losing your coins without understanding how that could be possible. It has happened before. As said, cold storage should absolutely never go online after the address was set up in it. The cold storage doesn't even need to be synchronized with the blockchain. You should really read more about cold storage.

Im trying to full sync bitcoin core but it randomly closes

Do you by chance store the blockchain onto an external disk? If so, your problem may be caused by the disk disconnecting (bad data cable/contact or insufficient power sent to the disk).
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
November 15, 2022, 04:10:21 AM
#5
it randomly closes No error or anything
So it crashes? Chances are part of your hardware is failing. Bitcoin Core gives this warning when you first run it:
Quote
This initial synchronisation is very demanding, and may expose hardware problems with your computer that had previously gone unnoticed.
I'd say start testing your hardware. Your CPU's TDP is 84W. It may be overheating, or your power supply might be unstable. Or your memory or SSD might be bad. I'd start with the CPU temperature though.
legendary
Activity: 2268
Merit: 18711
November 15, 2022, 03:51:04 AM
#4
once whole blockchain will be downloaded thats gonna be cold wallet i will update it once in two months.
As an aside to the issue you are having - this is not a cold wallet. A cold wallet is one which is permanently offline, not one which occasionally connects to the internet.

What you want to do is to install Bitcoin Core on a permanently airgapped device which will never be connected to the internet. You can then use this to generate a new wallet and private keys without needing to sync the blockchain. You then export the addresses from this wallet and import the addresses only (and not the private keys) in to a new wallet on an online and fully synced version of Bitcoin Core. The online synced wallet creates an unsigned transaction, you move the unsigned transaction to your airgapped wallet to be signed, and then move it back to your online wallet to be broadcast.
newbie
Activity: 7
Merit: 15
November 14, 2022, 07:32:05 PM
#3
And it's just core that closes? Nothing else?

Have you got access to your debug.log in your data directory? Do you move the blocks and chainstate files once your database gets considered corrupted and do you have any antivirus running or anything that might use a lot of resources all at once (particularly memory)?

Its fresh Windows install even Windows Defender Turned off once whole blockchain will be downloaded thats gonna be cold wallet i will update it once in two months.
Once i be home i will see and post debug txt in here
copper member
Activity: 2856
Merit: 3071
https://bit.ly/387FXHi lightning theory
November 14, 2022, 07:14:41 PM
#2
And it's just core that closes? Nothing else?

Have you got access to your debug.log in your data directory? Do you move the blocks and chainstate files once your database gets considered corrupted and do you have any antivirus running or anything that might use a lot of resources all at once (particularly memory)?
newbie
Activity: 7
Merit: 15
November 14, 2022, 05:25:26 PM
#1
Hello!
Im trying to full sync bitcoin core but it randomly closes No error or anything.After it close few Times and I reopen it blockchain gets corrupted.

System specs
I7 4770k
24gb memory
1tb SSD
1gbp/s internet
Windows 10 Pro

Bitcoin core version is 22.
Jump to: