Bitcoin Forum
April 26, 2024, 06:02:27 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can I use a bitcoind data from LAN from local bitcoin-qt?  (Read 214 times)
OtherMacMan (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 7


View Profile
August 08, 2020, 05:37:40 AM
Last edit: August 08, 2020, 07:05:44 AM by OtherMacMan
Merited by LoyceV (6), ABCbits (1)
 #1

Hello
I am just a new user to bitcoin.

Here is my problem. I do not want to have bitcoin-qt started every time I boot my computer and other computers on my local LAN. As It is using resources and also a lot of disk space on every computer.

Here is my thought but I do not know if it is possible.

Could I setup a bitcoind on my server using docker and access it from my bitcoin-qt?
It will have the latest blockchain downloaded in one computer centrally and it will not take my desktop disk space and recources and it will also run all day.

Also as there are more than one computer here I could setup different bitcoin-qt for each user and save their wallet info in their computer but the huge blockchain folder is going to be in the server.

Also an other idea I had was to use a web based bitcoin client installed on the server.  With that I could login from my mobile phone remotely via vpn and access my wallet securely without having to use any other web wallets

Can this be done? Is there a guide I could use to do it?
1714154547
Hero Member
*
Offline Offline

Posts: 1714154547

View Profile Personal Message (Offline)

Ignore
1714154547
Reply with quote  #2

1714154547
Report to moderator
1714154547
Hero Member
*
Offline Offline

Posts: 1714154547

View Profile Personal Message (Offline)

Ignore
1714154547
Reply with quote  #2

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

Posts: 1714154547

View Profile Personal Message (Offline)

Ignore
1714154547
Reply with quote  #2

1714154547
Report to moderator
1714154547
Hero Member
*
Offline Offline

Posts: 1714154547

View Profile Personal Message (Offline)

Ignore
1714154547
Reply with quote  #2

1714154547
Report to moderator
bob123
Legendary
*
Offline Offline

Activity: 1624
Merit: 2481



View Profile WWW
August 08, 2020, 11:43:59 AM
Merited by ABCbits (1), Heisenberg_Hunter (1)
 #2

Here is my problem. I do not want to have bitcoin-qt started every time I boot my computer and other computers on my local LAN. As It is using resources and also a lot of disk space on every computer.

You could just remove it from your autostart.



Here is my thought but I do not know if it is possible.

Could I setup a bitcoind on my server using docker and access it from my bitcoin-qt?
It will have the latest blockchain downloaded in one computer centrally and it will not take my desktop disk space and recources and it will also run all day.

Also as there are more than one computer here I could setup different bitcoin-qt for each user and save their wallet info in their computer but the huge blockchain folder is going to be in the server.

AFAIK this is not possible the way you are imagining.

But you could run your full node on the server and use SPV wallets on the clients to connect to it.
Either electrum together with an electrum server on your server, or simply using Wasabi wallet on the client PC's and connecting them directly to your full node by editing the Config.json.
The latter is probably the best option.



Also an other idea I had was to use a web based bitcoin client installed on the server.  With that I could login from my mobile phone remotely via vpn and access my wallet securely without having to use any other web wallets

Definitely possible, but security risks always exist when something is accessible from the internet.
Only being accessible via a VPN does help, but shouldn't be considered absolutely secure. I would only use it for relatively small amounts.


OtherMacMan (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 7


View Profile
August 09, 2020, 04:34:53 PM
 #3

I think that I probably not my myself clear on what I want to do

The problem is not to stop the process from loading on startup. The problem is that we have 3 bitcoin core apps loading all the time and creating a 300 GB db each.

so we are wasting almost 1 TB of disk space. I thought I could have the db on the server and have it updating. But the bitcoin core does not have the option to use a centralised db in my LAN

That was my question. I of course know that I could turn off to start it automatically

Also if I do that I will have to wait every time I reopen the app

on the other hand if the data is all the time updated on the server, I, and every other user in my lan can open its app and use the same db without waiting.
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3209



View Profile
August 09, 2020, 06:52:49 PM
 #4

There is no reason why you can't have one node running and other apps querying it via RPC. However, if you need multiple wallets, then bob123's SPV recommendations are good.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
JuleAdka
Newbie
*
Offline Offline

Activity: 14
Merit: 24


View Profile
August 09, 2020, 11:42:09 PM
Merited by ABCbits (2)
 #5

You can try mount the server file system remotely on the others computes, but it probably will lead to a error because more than one instance of bitcoin is running (the core knows it because the .lock file, that is located on the data directory).  
But if your node are already running, there is no reason to have more then one node running, just download a SPV, as you can see above(electrum are a good one), and connect it to your full node. You not will loose privacy in this case
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
August 10, 2020, 12:29:14 AM
 #6

Could I setup a bitcoind on my server using docker and access it from my bitcoin-qt?
You could setup the bitcoind on your server, but you probably won't be able to access it using bitcoin-qt, as bitcoin-qt has bitcoind "built-in" and will attempt to start it's own local process...

However, you can use the RPC functionality of "bitcoin-cli" to connect from your local machine to your remote bitcoind instance, but obviously this is command-line only.


If you want a full wallet GUI, then as mentioned above and also indicated in this very old (and "closed") Bitcoin Core "issue", the only option you have is to run an SPV wallet and connect that to your centralised node.

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


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!