Bitcoin Forum
May 05, 2024, 12:48:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Use blockchain of another bitcoind  (Read 1160 times)
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
August 08, 2015, 11:30:00 PM
 #1

I'm now running 3 nodes. But I only need 1 blockchain. Is there a way to point 2 of my bitcoind's to the third and only have that one download the blockchain?

BANKBOOK GWT Wallet & no-FIAT Billing API
1714870134
Hero Member
*
Offline Offline

Posts: 1714870134

View Profile Personal Message (Offline)

Ignore
1714870134
Reply with quote  #2

1714870134
Report to moderator
1714870134
Hero Member
*
Offline Offline

Posts: 1714870134

View Profile Personal Message (Offline)

Ignore
1714870134
Reply with quote  #2

1714870134
Report to moderator
1714870134
Hero Member
*
Offline Offline

Posts: 1714870134

View Profile Personal Message (Offline)

Ignore
1714870134
Reply with quote  #2

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

Posts: 1714870134

View Profile Personal Message (Offline)

Ignore
1714870134
Reply with quote  #2

1714870134
Report to moderator
1714870134
Hero Member
*
Offline Offline

Posts: 1714870134

View Profile Personal Message (Offline)

Ignore
1714870134
Reply with quote  #2

1714870134
Report to moderator
1714870134
Hero Member
*
Offline Offline

Posts: 1714870134

View Profile Personal Message (Offline)

Ignore
1714870134
Reply with quote  #2

1714870134
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
August 09, 2015, 02:46:01 AM
 #2

You can use other SPV wallets to do this, but I don't think Bitcoin Core can do that.

You could also share the blockchain data directory of that node and have each wallet have its data directory pointed to that one. Then you can change the wallet name on each node so that each one has a different wallet. The problem is that if that node is compromised, the Bitcoin in all three wallets can be lost.

shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1499


No I dont escrow anymore.


View Profile WWW
August 09, 2015, 07:16:29 AM
 #3

I'm now running 3 nodes. But I only need 1 blockchain. Is there a way to point 2 of my bitcoind's to the third and only have that one download the blockchain?

Not if you want them to run at the same time.

Im not really here, its just your imagination.
rupy (OP)
Hero Member
*****
Offline Offline

Activity: 725
Merit: 500



View Profile
August 09, 2015, 01:10:14 PM
Last edit: August 09, 2015, 01:28:46 PM by rupy
 #4

Also forgot to mention they are on 3 separate machines.

I think it might make sense to divide the responsibility between replication and synchronization of data (router) and verification and manipulation of that data (wallet) with a simple API.

Synchronization and verification has some common traits, but to have a tight bond between the wallet and the blockchain might become too rigid soon. importaddress is a move in that direction, where you can have the private keys somewhere else and still use the bitcoind to receive and notify transactions, with trust but without security.

But you still need the full blockchain to sign and send a transaction securely, that's why it would be nice to have a really lightweight sending capable client that communicates with a trusted "receive and notify" blockchain to sign the outgoing transactions. Is that what bitcoin-tx is supposed to be?

I think this has been out of the secure distributed nature scope of the development so far, but now unless pruning is 100% secure, we have this issue.

Having a microservices oriented approach to the bitcoind might starve out memory leaks quicker too.

BANKBOOK GWT Wallet & no-FIAT Billing API
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6581


Just writing some code


View Profile WWW
August 09, 2015, 02:16:25 PM
 #5


But you still need the full blockchain to sign and send a transaction securely, that's why it would be nice to have a really lightweight sending capable client that communicates with a trusted "receive and notify" blockchain to sign the outgoing transactions. Is that what bitcoin-tx is supposed to be?
You don't need to have the full blockchain in order to sign a transaction. In fact, you don't need the blockchain at all. That is how offline wallets work.

What you pretty much described is the principle behind SPV wallets.

bitcoin-tx is not an SPV wallet. It is simply a command line utility for transactions.

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!