Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: rupy on May 13, 2016, 08:24:18 AM



Title: Distributed Bitcoind
Post by: rupy on May 13, 2016, 08:24:18 AM
So I came up with this sort of distributed bitcoind, I have 2 bitcoind and I simply ask the other one to create the private key and send it (encrypted) to the first one which imports it.

But, I can't create "off chain" transactions this way. Does anyone have an idea of how you could do that with two bitcoind instances?

The only solution I have so far is to create the internal transaction system myself but I think it will lead to bugs and security problems.


Title: Re: Distributed Bitcoind
Post by: ranochigo on May 13, 2016, 11:13:32 AM
Offchain transactions are transactions which are not processed on chain, i.e. on a service's database.

Transferring private keys directly would require the receiver to trust the sender that they will not transfer it out before you. To transfer the amount in your received address, you will need to conduct transactions on the blockchain unless you choose to use the private key that was given to you.


Title: Re: Distributed Bitcoind
Post by: Patatas on May 13, 2016, 12:35:49 PM
I would like to ask a few questions :

1.Are the created instances working properly ? Have you tested them ?

2.Are both the instances using the same wallet ?Running on the same GUI ?

Now,creating off chain transactions is a bit weird since it is simply not bitcoin.Why not simply use a trusted third party to avoid all the trouble ?



Title: Re: Distributed Bitcoind
Post by: rupy on May 16, 2016, 03:36:30 PM
They will be on separate computers.

I can't do off-chain bitcoind account transactions since the other instance will not know about those...

I'm guessing I'll have to build my own account keeping and only use the bitcoinds for on-chain.

This must have been solved already by someone? Probably closed source...