Author

Topic: Use blockchain of another bitcoind (Read 1160 times)

staff
Activity: 3374
Merit: 6530
Just writing some code
August 09, 2015, 10:16:25 AM
#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.
hero member
Activity: 725
Merit: 500
August 09, 2015, 09:10:14 AM
#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.
copper member
Activity: 1498
Merit: 1499
No I dont escrow anymore.
August 09, 2015, 03: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.
staff
Activity: 3374
Merit: 6530
Just writing some code
August 08, 2015, 10:46:01 PM
#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.
hero member
Activity: 725
Merit: 500
August 08, 2015, 07: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?
Jump to: