Bitcoin Forum
May 06, 2024, 12:26:14 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: some basic questions for full node setup  (Read 228 times)
fedemining (OP)
Newbie
*
Offline Offline

Activity: 16
Merit: 4


View Profile
December 20, 2018, 04:26:19 PM
 #1

its been a while since i started syincing my btc full node.
according to many online forums and Jamson Loop tweets it should take a couple days for a full node to fully sync. with my cnfiguration its been two weeks
 24/7  and i'm still 3 weeks behind.
i put my Dbcache to 2000mb and my internet connection its over 15mb/s so why its so slow? what else can i do? i'm worried that the problem its my low speed hard disk that is a normal 1TB maxtor not an ssd. but i'm not sure of it!

second question: since i'm syincing my blockchain on a windows device what will i have to do to migrate it on a linux OS?
i guess that i will have to move that "blockchain" folder in the /home/.bitcoin/bitcoin folder can you confirm?
 
third question: i will have to prune the blockchain so my plan its to prune it and then migrate it on a linux OS. my plan its this:
1 turn off the node
2 migrate the pruned chain on the right folder of the new hardware
3 open the config file and set prune= my actual setup plus migrate the wallet.dat file
4 run bitcoind.
can you confirm my plan?
LOL

i will have some more question but since i don't want bother anyone for now its fine like this!
thanks for anyone who'll help
1714998374
Hero Member
*
Offline Offline

Posts: 1714998374

View Profile Personal Message (Offline)

Ignore
1714998374
Reply with quote  #2

1714998374
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714998374
Hero Member
*
Offline Offline

Posts: 1714998374

View Profile Personal Message (Offline)

Ignore
1714998374
Reply with quote  #2

1714998374
Report to moderator
Pmalek
Legendary
*
Offline Offline

Activity: 2758
Merit: 7132



View Profile
December 20, 2018, 04:35:35 PM
 #2

second question: since i'm syincing my blockchain on a windows device what will i have to do to migrate it on a linux OS?
i guess that i will have to move that "blockchain" folder in the /home/.bitcoin/bitcoin folder can you confirm?
Take a look at this.
All you need are the blocks and the chainstate folders.
It is advisable to have the same Bitcoin Core version because sometimes database formats will change between major versions...

I hope that helps.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
jackg
Copper Member
Legendary
*
Offline Offline

Activity: 2856
Merit: 3071


https://bit.ly/387FXHi lightning theory


View Profile
December 20, 2018, 05:35:54 PM
Last edit: December 21, 2018, 09:48:45 PM by jackg
Merited by Jet Cash (2), mikeywith (2)
 #3

If you need the download to be faster, you'll have to use an sdd instead of a HD’s or alternatively I’ve heard of users that put their blocks and chain state folders on their ram (but it’s advised you back it up every so often for obvious reasons)...

2 you can move beetween windows and Linux with just the blocks and chain state folder. You’d also need the wallet.dat file if you want to use the same wallet on both.

3. The plan should work. The default data did on Linux is ~/.Bitcoin (on standard Linux anyway).
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
December 20, 2018, 06:48:43 PM
Merited by mikeywith (1)
 #4

Quote
its been a while since i started syincing my btc full node.
according to many online forums and Jamson Loop tweets it should take a couple days for a full node to fully sync. with my cnfiguration its been two weeks
 24/7  and i'm still 3 weeks behind.
3 weeks behind, you are almost done !

Quote
i put my Dbcache to 2000mb and my internet connection its over 15mb/s so why its so slow? what else can i do? i'm worried that the problem its my low speed hard disk that is a normal 1TB maxtor not an ssd. but i'm not sure of it!
It took about 3 weeks for me to sync the chain, I don't think you need a SSD.

Quote
i guess that i will have to move that "blockchain" folder in the /home/.bitcoin/bitcoin folder can you confirm?
There is no blockchain folder. There are "blocks" "chainstate" and "database". The folder is just "/home/.bitcoin".

Quote
1 turn off the node
2 migrate the pruned chain on the right folder of the new hardware
3 open the config file and set prune= my actual setup plus migrate the wallet.dat file
4 run bitcoind.
can you confirm my plan?
To which number of blocks did you set prune ? It mights take a long to copy, you should verify all the chain again, and since there is only 3 weeks left to sync you should just wait.
KingZee
Sr. Member
****
Offline Offline

Activity: 910
Merit: 452


Check your coin privilege


View Profile
December 20, 2018, 08:03:43 PM
 #5


third question: i will have to prune the blockchain so my plan its to prune it and then migrate it on a linux OS. my plan its this:
1 turn off the node
2 migrate the pruned chain on the right folder of the new hardware
3 open the config file and set prune= my actual setup plus migrate the wallet.dat file
4 run bitcoind.
can you confirm my plan?
LOL

i will have some more question but since i don't want bother anyone for now its fine like this!
thanks for anyone who'll help

Besides all the other questions that have been answered. I think that for pruning you need to store your unpruned copy first.

Turn off bitcoind, make a copy of the chainstate/blocks (or basically the whole .bitcoin folder) somewhere safe. Change the bitcoin.conf and add prune=550 for minimum size, run bitcoind, let it prune, once it's done, turn off the node and send the pruned copy to your linux machine. (you have to copy everything in the folder this time, especially bitcoin.conf). That way you only have to transfer 550mb rather than the full blockchain.

Beep boop beep boop
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7471


Crypto Swap Exchange


View Profile
December 20, 2018, 08:27:37 PM
Merited by mikeywith (2)
 #6

second question: since i'm syincing my blockchain on a windows device what will i have to do to migrate it on a linux OS?
i guess that i will have to move that "blockchain" folder in the /home/.bitcoin/bitcoin folder can you confirm?
LOL

i will have some more question but since i don't want bother anyone for now its fine like this!
thanks for anyone who'll help

If both OS are on same PC, then you can choose to select bitcoin folder from NTFS HDD Drive.

But you need to mount this NTFS drive on boot and AFAIK Linux don't work well on NTFS drive.

Quote
i put my Dbcache to 2000mb and my internet connection its over 15mb/s so why its so slow? what else can i do? i'm worried that the problem its my low speed hard disk that is a normal 1TB maxtor not an ssd. but i'm not sure of it!
It took about 3 weeks for me to sync the chain, I don't think you need a SSD.

If your internet connection & peer speed are very fast, you'll see bottleneck if you use HDD. HDD usage always stay 100% and chart of connection speed always stop/heavily decreased for some times.

Also, since OP plan to migrate to Linux, partial of copied data usually verified (even though it only took few minutes on HDD).

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!