Re: [bitcoin-dev] Bitcoin Cash's new difficulty algorithm

2017-11-03 Thread Jacob Eliosoff via bitcoin-dev
I'm no BCH fan, but I agree with Scott that changes to the DAA may be of more than purely theoretical interest for BTC. Anyway just for those interested, below is an algo I've been playing with that adjusts difficulty every block, based only on the previous block's time and difficulty. I tested

Re: [bitcoin-dev] Bitcoin Cash's new difficulty algorithm

2017-11-03 Thread Scott Roberts via bitcoin-dev
The current DA is only sufficient if the coin has the highest hashpower. It's also just really slow. If miners somehow stick with SegWit2x despite the higher rewards in defecting back to bitcoin, then bitcoin will have long block delays. High transaction fees will probably help them defect back

Re: [bitcoin-dev] Bitcoin Cash's new difficulty algorithm

2017-11-02 Thread gb via bitcoin-dev
You launched the political football by coming here with a verbose 'recommendation'. Without a code submission in form of pull request to the core repo on github this was never a technical discussion. On Thu, 2017-11-02 at 19:53 -0400, Scott Roberts via bitcoin-dev wrote: > Whatever their failings

Re: [bitcoin-dev] Bitcoin Cash's new difficulty algorithm

2017-11-02 Thread Scott Roberts via bitcoin-dev
Whatever their failings from their previous code or their adversarial nature, they got this code right and I'm only presenting it as a real and excellent solution for the impending threat to bitcoin. As a big core fan, I really wanted to delete the word Cash from my post because I was afraid

Re: [bitcoin-dev] Bitcoin Cash's new difficulty algorithm

2017-11-02 Thread Gregory Maxwell via bitcoin-dev
On Thu, Nov 2, 2017 at 11:53 PM, Scott Roberts wrote: > Whatever their failings from their previous code or their adversarial > nature, they got this code right and I'm only presenting it as a real and > excellent solution for the impending threat to bitcoin. As a big core

Re: [bitcoin-dev] Bitcoin Cash's new difficulty algorithm

2017-11-02 Thread CryptAxe via bitcoin-dev
Is there an issue with the current difficulty adjustment algorithm? It's worked very well as far as I can tell. Introducing a new one seems pretty risky, what would the benefit be? On Nov 2, 2017 4:34 PM, "Scott Roberts via bitcoin-dev" < bitcoin-dev@lists.linuxfoundation.org> wrote: > Bitcoin

Re: [bitcoin-dev] Bitcoin Cash's new difficulty algorithm

2017-11-02 Thread Gregory Maxwell via bitcoin-dev
On Thu, Nov 2, 2017 at 11:31 PM, Scott Roberts via bitcoin-dev wrote: > Bitcoin cash will hard fork on Nov 13 to implement a new difficulty > algorithm. Bitcoin itself might need to hard fork to employ a similar > algorithm. It's about as good as they come