@bytemaster:
Just wanted to resurrect the sidechain thread with an idea/question. Since there's risk (perhaps intolerable risk) of collusion associated with witnesses signing off on transfers to a multi-sig BTC wallet, would it be possible for the BTS blockchain to hold the private key for such a BTC wallet and automatically make transfers out of it (and into a user's individual BTC wallet) whenever a user sells their SIDE.BTC on the DEX?
It is possible to do secure multi-party computation among the witnesses. Doesn't prevent collusion of witnesses though.
https://en.wikipedia.org/wiki/Secure_multi-party_computation
So is it not possible for the Bitshares blockchain to hold the private key for the common wallet and automate the transfers so witnesses don't need to be involved?
You want to do it with witnesses since they are elected by shareholders.
There are ways that collusion could be minimized.
I'm trying to get at a way to do this without human involvement, otherwise I think it just won't be trusted. Plus how would it work, witnesses would have to manually approve each transaction? I don't see that as a viable solution. And I think there's a better way.
@bytemaster:
Couldn't you write some code into graphene that would utilize, for example, the blockchain.info API to create a Bitcoin wallet for the DEX, and store the returned private key on the blockchain? So first the straightforward part: when someone wants to transfer BTC to the DEX, they send BTC to a designated BTC address and then the blockchain automatically issues them the corresponding amount of SIDE.BTC on the DEX. Then the trickier part, when they are ready to withdraw, they surrender their SIDE.BTC and the blockchain uses the private key it stored previously in order to send the appropriate sum of BTC to the user's designated external BTC wallet. Is this not possible?
@abit, do you have any thoughts about this?
It's trusted just fine with how other networks do this.. only they are using a handful of bitcoin exchanges .. far less secure that what we are proposing:
http://www.coindesk.com/blockstream-commercial-sidechain-bitcoin-exchanges/This is the only practical means to executing... that's what they came up with with $21 million to work with. You think we can do better?
What you described is essentially what the witnesses would be done.. but your recommendation introduces more threats.
It would not be manual it would all be automatic and would have witnesses ensuring that the nodes are operating as optimal as possible for Bitshares vs. other networks that wouldn't care, and might not have any redundancy like we would have with the witnesses.
DPOS means trusting humans to maintain and keep things working right. If they don't, they get voted out.
Multi-sig for bitcoin wallets is limited to a maximum of 15 I believe. If we had all witnesses participating but had an algo that changed the multi-sig assignments in some type of interval configuration it would require basically all witnesses to agree to steel all the bitcoin. Note that this would be far more secure than Liquid.. they got $21m for that.. we should at least get that in added valuation for Bitshares if not more.
I have said this all before, maybe it was in Telegram.