BitShares Forum

Main => General Discussion => Topic started by: BTSdac on December 30, 2014, 09:05:14 am

Title: Can be merged after chain forked ?
Post by: BTSdac on December 30, 2014, 09:05:14 am
Can be merged after chain forked ?
last time BTS chain forked , and finally chain merged ,but I don't understand how to deal the tx in forked chain.  re-broadcast or just abandon?
Title: Re: Can be merged after chain forked ?
Post by: bytemaster on December 30, 2014, 01:43:45 pm
If it hasn't expired they should be rebroadcast. 
Title: Re: Can be merged after chain forked ?
Post by: BTSdac on December 30, 2014, 03:57:17 pm
If it hasn't expired they should be rebroadcast.
HI BM ,
if user A have 100 BTS, if chain forked , there are C1 chain and C2 chain.  A send 100 BTS to user B on C1 chain.  and also send 100 BTS to user D on C2 chain.
resume user B is on C1 chain ,so his wallet so he received 100BTS. resume user D is on C2 chain ,his wallet also show he received 100 BTS
if chain merged ,there must been problem.  user B and user D had received 100 BTS in two chain. after merge , one person must lost BTS.
how to do resolve this problem in BTS
Title: Re: Can be merged after chain forked ?
Post by: toast on December 30, 2014, 04:08:23 pm
If it hasn't expired they should be rebroadcast.
HI BM ,
if user A have 100 BTS, if chain forked , there are C1 chain and C2 chain.  A send 100 BTS to user B on C1 chain.  and also send 100 BTS to user D on C2 chain.
resume user B is on C1 chain ,so his wallet so he received 100BTS. resume user D is on C2 chain ,his wallet also show he received 100 BTS
if chain merged ,there must been problem.  user B and user D had received 100 BTS in two chain. after merge , one person must lost BTS.
how to do resolve this problem in BTS

It's no different from bitcoin, except all valid transactions are rebroadcast until they expire.
Yes, one of them will "lose" 100 BTS which they never had, just like if you get a transaction in an orphan block in bitcoin.
Title: Re: Can be merged after chain forked ?
Post by: BTSdac on December 30, 2014, 04:38:34 pm
If it hasn't expired they should be rebroadcast.
HI BM ,
if user A have 100 BTS, if chain forked , there are C1 chain and C2 chain.  A send 100 BTS to user B on C1 chain.  and also send 100 BTS to user D on C2 chain.
resume user B is on C1 chain ,so his wallet so he received 100BTS. resume user D is on C2 chain ,his wallet also show he received 100 BTS
if chain merged ,there must been problem.  user B and user D had received 100 BTS in two chain. after merge , one person must lost BTS.
how to do resolve this problem in BTS

It's no different from bitcoin, except all valid transactions are rebroadcast until they expire.
Yes, one of them will "lose" 100 BTS which they never had, just like if you get a transaction in an orphan block in bitcoin.

Yes ,he never have ,if his wallet is on a forked chain while there are global network problem like submarine cable cutting . government network blockade . BTS network been cut apart to several parts . he must stop receive and accept BTS.

there are two rough ideas maybe can solve it
1. DPOS have unique advantage to solve it . if delegate participation Rate is less than 50%. all delegate just create empty block . because only one chain can have over 50% delegate participation Rate.so can avoid "lose" 100 BTS which they never had.
2. you know we can change damage paper money in bank . if paper money is 80% integrity. we can change 100% paper money ,if it is 50% integrity we can change 50% paper money. if less than 20% integrity.no paper money can been change.
it mean integrity rate inherit denomination of paper money.  if we have 100 USD paper money , cut it in half.  one half can inherit 50 USD value . if we merge the two part , it value 100 USD.
in the same way .
BTS can check delegate participation Rate , if delegate participation Rate is over 80% ( or other). each address inherit full value.   if delegate participation Rate is X%, then each address inherit X% value. max BTS can been send is limited at the X% of whole BTS each address own.
if delegate participation Rate is less than 20% then ,each address cannot inherit any value temporarily. and no tx can been include in block. each delegate create empty block.
Title: Re: Can be merged after chain forked ?
Post by: toast on December 30, 2014, 04:43:39 pm
I don't think it's a big deal. Think of all the merchants that accept 0-confirmation BTC payments, and bitcoin's orphan rate is way higher than ours. There is already a "suggested # of confirmations" based on participation rate in the client, it is up to the merchant to decide when they are confident about it.