Bitcoin Forum
May 17, 2024, 05:51:56 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Using a blockchain on a network-drive in Bitcoin Core  (Read 1164 times)
turvarya (OP)
Hero Member
*****
Offline Offline

Activity: 714
Merit: 500


View Profile
August 19, 2015, 01:44:11 PM
Last edit: August 19, 2015, 02:05:21 PM by turvarya
 #1

Hi there,

so I am currently finally setting up my raspberry pi to be a full node.
I still want to use my client on my Windows 8-PC to send transactions.
I was wondering, if I just change the directory to the network drive, if there wouldn't be a conflict, when both clients(on raspberry pi and on windows 8 ) are trying to sync the blockchain.

Any suggestions?

https://forum.bitcoin.com/
New censorship-free forum by Roger Ver. Try it out.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3402
Merit: 6641


Just writing some code


View Profile WWW
August 19, 2015, 04:16:04 PM
 #2

There will be a problem with having two nodes on the same data directory. It is not possible since the first one will lock the directory. Also, for some reason using a datadir from windows on linux and vice versa always cause a reindex of the blockchain.

vm1990
Legendary
*
Offline Offline

Activity: 1540
Merit: 1002



View Profile
August 20, 2015, 12:36:09 AM
 #3

might have a look into using the rpc might be some kind of program that lets you do it that way

hexafraction
Sr. Member
****
Offline Offline

Activity: 392
Merit: 259

Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ


View Profile
August 20, 2015, 11:42:22 AM
 #4

might have a look into using the rpc might be some kind of program that lets you do it that way

No, it means that one node is doing verification and the other is just asking it to take certain actions. Might be useful, depending on OP use case.

As for the original attempt, it could be worse than simply encountering a lock, since locks are unreliable on network drives. Ignoring the worse search performance, there could be severe corruption if the protocol doesn't lock in a way that the DB layer recognizes, or doesn't lock to begin with.

I have recently become active again after a long period of inactivity. Cryptographic proof that my account has not been compromised is available.
sungsum253123
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile WWW
August 20, 2015, 12:12:39 PM
 #5

sorry i understand for someting.
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!