Bitcoin Forum
May 04, 2024, 03:14:42 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Does bitcoincore files are multi-platform?  (Read 253 times)
CryptoBuzzerd (OP)
Jr. Member
*
Offline Offline

Activity: 188
Merit: 2

In Blockchain we trust!


View Profile WWW
November 19, 2019, 10:44:29 AM
 #1

So, I've download bitcoincore and fully sync it on Windows. Works perfect, nice. Then I need to launch another bitcoincore node on a Linux instance, copied whole folder (blocks, chainstate, database, and all files near) to a Linux server, launched a node - and it starting to sync from scratch!  Angry Shocked
And yes, I've checked path to datafiles, and also trying write in bitcoin.conf, and even -datadir="/user/path_to_btc_data" - anyway, it starts from scratch. Also, revert thing (fully synced datadir from Linux) - also can't "plug-n-play" on Windows. So, bitcoincore data files are not cross-platform? or #WhatI'mDoingWrong? Huh

Your own crypto exchange in your pocket - buy/sell BTC, LTC, ETH for USD/EUR, no KYC or any docks (https://t.me/AnyCashBot?start=promo-jump61)
1714792482
Hero Member
*
Offline Offline

Posts: 1714792482

View Profile Personal Message (Offline)

Ignore
1714792482
Reply with quote  #2

1714792482
Report to moderator
1714792482
Hero Member
*
Offline Offline

Posts: 1714792482

View Profile Personal Message (Offline)

Ignore
1714792482
Reply with quote  #2

1714792482
Report to moderator
The forum was founded in 2009 by Satoshi and Sirius. It replaced a SourceForge forum.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714792482
Hero Member
*
Offline Offline

Posts: 1714792482

View Profile Personal Message (Offline)

Ignore
1714792482
Reply with quote  #2

1714792482
Report to moderator
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
November 19, 2019, 11:38:38 AM
Merited by OgNasty (2)
 #2

So, bitcoincore data files are not cross-platform? or #WhatI'mDoingWrong? Huh

They are cross-compatible. However, the node might need to reindex the blockchain data. It will take less time than as if you were downloading and verifying all the blocks again. What's the output of the following command?

bitcoin-cli getblockchaininfo
CryptoBuzzerd (OP)
Jr. Member
*
Offline Offline

Activity: 188
Merit: 2

In Blockchain we trust!


View Profile WWW
December 04, 2019, 07:44:36 AM
 #3

So, bitcoincore data files are not cross-platform? or #WhatI'mDoingWrong? Huh

They are cross-compatible. However, the node might need to reindex the blockchain data. It will take less time than as if you were downloading and verifying all the blocks again. What's the output of the following command?

bitcoin-cli getblockchaininfo

Code:
getblockchaininfo
{
  "chain": "main",
  "blocks": 606214,
  "headers": 606518,
  "bestblockhash": "0000000000000000000735977509db4c0e08990bdad5d7ed21f75ecebcbfaf8f",
  "difficulty": 12973235968799.78,
  "mediantime": 1575230540,
  "verificationprogress": 0.9984022636170466,
  "initialblockdownload": true,
  "chainwork": "00000000000000000000000000000000000000000a83fdb870fa81f26e11ed3b",
  "size_on_disk": 286042855590,
  "pruned": false,
  "softforks": [
    {
      "id": "bip34",
      "version": 2,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip66",
      "version": 3,
      "reject": {
        "status": true
      }
    },
    {
      "id": "bip65",
      "version": 4,
      "reject": {
        "status": true
      }
    }
  ],
  "bip9_softforks": {
    "csv": {
      "status": "active",
      "startTime": 1462060800,
      "timeout": 1493596800,
      "since": 419328
    },
    "segwit": {
      "status": "active",
      "startTime": 1479168000,
      "timeout": 1510704000,
      "since": 481824
    }
  },
  "warnings": ""
}

That is all I get.

Your own crypto exchange in your pocket - buy/sell BTC, LTC, ETH for USD/EUR, no KYC or any docks (https://t.me/AnyCashBot?start=promo-jump61)
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
December 04, 2019, 09:37:20 AM
 #4

Based on that output, it seems that your node believes that it has 606214 blocks synced... and there are 606518 headers, so it needs to download another 304 blocks. (hence the 99.84% verification progress)

Given that there has been about 2 weeks from your original post to this update... I'm assuming it just continued syncing during those 2 weeks? At this stage, it's kinda pointless attempting to troubleshoot why it didn't accept the data files that you copied over... as it is now pretty much fully synced. Unless, you're planning on trying to copy data files again to another new node? Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
CryptoBuzzerd (OP)
Jr. Member
*
Offline Offline

Activity: 188
Merit: 2

In Blockchain we trust!


View Profile WWW
December 04, 2019, 11:05:39 AM
 #5

Yes, I'm planning finished sync and copy it to my PI device, on Ubuntu. How to prepare blockchain to it?

Your own crypto exchange in your pocket - buy/sell BTC, LTC, ETH for USD/EUR, no KYC or any docks (https://t.me/AnyCashBot?start=promo-jump61)
Rath_
aka BitCryptex
Legendary
*
Offline Offline

Activity: 1876
Merit: 3131



View Profile
December 04, 2019, 12:23:26 PM
 #6

Yes, I'm planning finished sync and copy it to my PI device, on Ubuntu. How to prepare blockchain to it?

Since you are currently syncing another node on Linux, it shouldn't need to reindex again once you move it to your Raspberry Pi. Copy the same files from your Linux node as you previously did from the Windows machine.
Jet Cash
Legendary
*
Offline Offline

Activity: 2702
Merit: 2456


https://JetCash.com


View Profile WWW
December 04, 2019, 03:37:46 PM
 #7

I'm not sure why you are having problems. I have a node under Windows 10, and one under Ubuntu. When I started the Ubuntu one, I copied the blockchain and wallet data from the Windows machine onto an external SSD ( the Netbook doesn't have a large enough drive internally ), and I downloaded and installed the core software. When I started it for the first time, it asked me for the directory to use. I pointed it at the SSD, and it picked it up happily, and it sync'd a few recent blocks, and reported everything as fine. It really was pretty painless, but that was a while ago.

Offgrid campers allow you to enjoy life and preserve your health and wealth.
Save old Cars - my project to save old cars from scrapage schemes, and to reduce the sale of new cars.
My new Bitcoin transfer address is - bc1q9gtz8e40en6glgxwk4eujuau2fk5wxrprs6fys
CryptoBuzzerd (OP)
Jr. Member
*
Offline Offline

Activity: 188
Merit: 2

In Blockchain we trust!


View Profile WWW
December 04, 2019, 08:59:59 PM
 #8

I'm not sure why you are having problems. I have a node under Windows 10, and one under Ubuntu. When I started the Ubuntu one, I copied the blockchain and wallet data from the Windows machine onto an external SSD ( the Netbook doesn't have a large enough drive internally ), and I downloaded and installed the core software. When I started it for the first time, it asked me for the directory to use. I pointed it at the SSD, and it picked it up happily, and it sync'd a few recent blocks, and reported everything as fine. It really was pretty painless, but that was a while ago.
In theory, everything was as it should be, but I ran into problems that I can’t determine, so I tried to find out if I correctly understand the theoretical capabilities of the Bitcoin wallet. In theory, I'm right, let's see what practice shows. Really thanks to everyone who participated in the discussion, your thoughts are very valuable to me. I’ll talk about the results a bit later.

Your own crypto exchange in your pocket - buy/sell BTC, LTC, ETH for USD/EUR, no KYC or any docks (https://t.me/AnyCashBot?start=promo-jump61)
DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6259


Crypto Swap Exchange


View Profile WWW
December 04, 2019, 10:31:13 PM
 #9

How did you copy the files FTP / SMB / other?
They are cross compatible but permissions can cause a problem now and then. I don't know why but they do.

Also, from the Dave was not paying attention department, did you shutdown the windows install when you copied the files?
I have had that in a windows to windows copy when I did not shut down the node before the copy it did not see the files for some reason.

It should not matter but as we all know, should not and does not are different.

-Dave

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
CryptoBuzzerd (OP)
Jr. Member
*
Offline Offline

Activity: 188
Merit: 2

In Blockchain we trust!


View Profile WWW
December 05, 2019, 08:28:35 AM
 #10

How did you copy the files FTP / SMB / other?
They are cross compatible but permissions can cause a problem now and then. I don't know why but they do.
No, I've copy it via linking external HDD to target PC. But you right, need to check files permissions while doing that

Also, from the Dave was not paying attention department, did you shutdown the windows install when you copied the files?
I have had that in a windows to windows copy when I did not shut down the node before the copy it did not see the files for some reason.

It should not matter but as we all know, should not and does not are different.

-Dave
Shure I always shutdown Bitcoincore before doing ANY manipulations with blockchain. It is one of the MOST rules all need to know about ANY full-crypto wallet

Your own crypto exchange in your pocket - buy/sell BTC, LTC, ETH for USD/EUR, no KYC or any docks (https://t.me/AnyCashBot?start=promo-jump61)
CryptoBuzzerd (OP)
Jr. Member
*
Offline Offline

Activity: 188
Merit: 2

In Blockchain we trust!


View Profile WWW
December 05, 2019, 05:32:34 PM
 #11

This problem was little deeper - users on Windows and Linux are the same, but NTFS file system do not store permissions for linux (as I know). Will look little later - now syncing continuing.

Your own crypto exchange in your pocket - buy/sell BTC, LTC, ETH for USD/EUR, no KYC or any docks (https://t.me/AnyCashBot?start=promo-jump61)
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!