Re: Any plans how to deal with a potential BU fork?

2017-03-15 Thread Andreas Schildbach
I should add: In the default SPV mode...


On 03/15/2017 12:08 PM, Andreas Schildbach wrote:
> As long as a fork does not change the proof of work rules, bitcoinj
> makes no assumptions about forks. It will always select the chain with
> the most work.
> 
> What do you mean by "requesting an UTXO" and what do you want to achieve
> by that?
> 
> 
> On 03/14/2017 06:07 PM, Manfred Karrer wrote:
>> If there would happen really a BU fork SPV wallets could get a
>> connection to a majority of BU nodes and so a different view to the network.
>> Any plans or ideas how to deal with that?
>>
>> One idea would be to use a UTXO which is known to exist on only 1 chain
>> request that and use that as a check to see which chain the node is
>> operated on.
>> If it is not the chain the wallet supports the node gets disconnected.
>>
>> Br,
>> Manfred
>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "bitcoinj" group.
>> To unsubscribe from this group and stop receiving emails from it, send
>> an email to bitcoinj+unsubscr...@googlegroups.com
>> .
>> For more options, visit https://groups.google.com/d/optout.
> 
> 


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Any plans how to deal with a potential BU fork?

2017-03-15 Thread Andreas Schildbach
As long as a fork does not change the proof of work rules, bitcoinj
makes no assumptions about forks. It will always select the chain with
the most work.

What do you mean by "requesting an UTXO" and what do you want to achieve
by that?


On 03/14/2017 06:07 PM, Manfred Karrer wrote:
> If there would happen really a BU fork SPV wallets could get a
> connection to a majority of BU nodes and so a different view to the network.
> Any plans or ideas how to deal with that?
> 
> One idea would be to use a UTXO which is known to exist on only 1 chain
> request that and use that as a check to see which chain the node is
> operated on.
> If it is not the chain the wallet supports the node gets disconnected.
> 
> Br,
> Manfred
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "bitcoinj" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to bitcoinj+unsubscr...@googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"bitcoinj" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to bitcoinj+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.