Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

-bip148 option #10532

Closed
wants to merge 17 commits into
from

Conversation

Projects
None yet

This is based on luke-jr's "non-dos(100)" version of the code, it is mutually exclusive with #10442. More discussion is in #10428.

Member

luke-jr commented Jun 5, 2017

For reference, just the DoS rework/fixes are in #10512

@fanquake fanquake added the Consensus label Jun 6, 2017

Owner

laanwj commented Jun 7, 2017

Travis failure is due to

WARNING! The following scripts are not being run: ['bip148-segwit-uasf.py']. Check the test lists in test_runner.py.

I think....

Member

jnewbery commented Jun 7, 2017

Travis failure is due to WARNING! The following scripts are not being run: ['bip148-segwit-uasf.py']. Check the test lists in test_runner.py. I think....

Correct - on Travis it's a failure condition to have a functional test that isn't included in either BASE_SCRIPTS or EXTENDED_SCRIPTS in test_runner.py

Member

luke-jr commented Jun 14, 2017

Rebased on top of #10593 and #10594, and fixed test issues.

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

Define a service bit for BIP148
Github-Pull: #10532
Rebased-From: cd74a23

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

Add BIP148 UASF logic
Github-Pull: #10532
Rebased-From: 1e5bac3

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

Add a -bip148 option
Github-Pull: #10532
Rebased-From: 8f8ee03

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

bip148: functional test
Basic functional test for behaviour with -bip148 flag.

Github-Pull: #10532
Rebased-From: a050dab

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

Test: Fix bip148-segwit-uasf.py
Github-Pull: #10532
Rebased-From: 349f5e9

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

Define a service bit for BIP148
Github-Pull: #10532
Rebased-From: cd74a23

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

Add BIP148 UASF logic
Github-Pull: #10532
Rebased-From: 1e5bac3

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

Add a -bip148 option
Github-Pull: #10532
Rebased-From: 8f8ee03

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

bip148: functional test
Basic functional test for behaviour with -bip148 flag.

Github-Pull: #10532
Rebased-From: a050dab

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

Test: Fix bip148-segwit-uasf.py
Github-Pull: #10532
Rebased-From: 349f5e9

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 15, 2017

doc/bips: Add BIP148
Github-Pull: #10532
Rebased-From: 1115b02

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 18, 2017

Test: Fix bip148-segwit-uasf.py
Github-Pull: #10532
Rebased-From: 349f5e9

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 18, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 18, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 18, 2017

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 18, 2017

doc/bips: Add BIP148
Github-Pull: #10532
Rebased-From: 1115b02

luke-jr added a commit to bitcoinknots/bitcoin that referenced this pull request Jun 18, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

Define a service bit for BIP148
Github-Pull: #10532
Rebased-From: cd74a23

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

Define a service bit for BIP148
Github-Pull: #10532
Rebased-From: cd74a23

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 19, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 20, 2017

Add a -bip148 option
Github-Pull: #10532
Rebased-From: 8f8ee03

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 20, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 20, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 20, 2017

Define a service bit for BIP148
Github-Pull: #10532
Rebased-From: cd74a23

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 20, 2017

When we find an invalid block violating BIP148 that has already been …
…pruned, error immediately, rather than silently fail to rewind

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jun 22, 2017

When we find an invalid block violating BIP148 that has already been …
…pruned, error immediately, rather than silently fail to rewind

Github-Pull: #10532
Rebased-From: b59c910

Concurrence on something that would allow user to opt-in would be grand. Cheers

Contributor

runn1ng commented Jul 3, 2017

Is this branch actively maintained / usable / recommended?

Is there a reason why it's not in the upstream? (I don't follow bitcoin-dev mailing list)

Member

luke-jr commented Jul 3, 2017

@runn1ng For now, I would recommend users upgrade to https://github.com/UASF/bitcoin/

Owner

laanwj commented Jul 3, 2017

Yes, the UASF branch is there, this one doesn't seem to be maintained actively (not even the travis issue has been fixed).

Contributor

runn1ng commented Jul 3, 2017

@luke-jr Thanks! Would you recommend to use 0.14-BIP148 branch directly, or the v0.14.2-uasfsegwit0.3 tag (which is a little behind, but is the last "release")?

Member

luke-jr commented Jul 3, 2017

Either should be fine.

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 4, 2017

bip148: functional test
Basic functional test for behaviour with -bip148 flag.

Github-Pull: #10532
Rebased-From: a050dab

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 4, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 4, 2017

Test: Fix bip148-segwit-uasf.py
Github-Pull: #10532
Rebased-From: 349f5e9

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 4, 2017

Bugfix: tests/bip148-segwit-uasf: Initialise mocktime before mining a…
…ny blocks

Github-Pull: #10532
Rebased-From: 824d9e1f5c44a5f63bde870542ffd2e04dc0abca

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

Add a -bip148 option
Github-Pull: #10532
Rebased-From: 8f8ee03

Rebased-From: 7ab3e4b

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

When we find an invalid block violating BIP148 that has already been …
…pruned, error immediately, rather than silently fail to rewind

Github-Pull: #10532
Rebased-From: b59c910

Rebased-From: 6048d3e

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

Define a service bit for BIP148
Github-Pull: #10532
Rebased-From: cd74a23

Rebased-From: 19d638e

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

bip148: functional test
Basic functional test for behaviour with -bip148 flag.

Github-Pull: #10532
Rebased-From: a050dab

Rebased-From: 493f3ef

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

Test: Fix bip148-segwit-uasf.py
Github-Pull: #10532
Rebased-From: 349f5e9

Rebased-From: 94923d5

luke-jr added a commit to luke-jr/bitcoin that referenced this pull request Jul 17, 2017

Bugfix: tests/bip148-segwit-uasf: Initialise mocktime before mining a…
…ny blocks

Github-Pull: #10532
Rebased-From: 824d9e1f5c44a5f63bde870542ffd2e04dc0abca

Rebased-From: 08c5702
Member

btcdrak commented Aug 10, 2017

This can be closed now.

@MarcoFalke MarcoFalke closed this Aug 10, 2017

runn1ng added a commit to satoshilabs/bitcoin that referenced this pull request Sep 15, 2017

Add a -bip148 option
Github-Pull: #10532
Rebased-From: 8f8ee03

runn1ng added a commit to satoshilabs/bitcoin that referenced this pull request Sep 15, 2017

runn1ng added a commit to satoshilabs/bitcoin that referenced this pull request Sep 15, 2017

runn1ng added a commit to satoshilabs/bitcoin that referenced this pull request Sep 15, 2017

runn1ng added a commit to satoshilabs/bitcoin that referenced this pull request Sep 15, 2017

runn1ng added a commit to satoshilabs/bitcoin that referenced this pull request Sep 15, 2017

When we find an invalid block violating BIP148 that has already been …
…pruned, error immediately, rather than silently fail to rewind

Github-Pull: #10532
Rebased-From: b59c910

runn1ng added a commit to satoshilabs/bitcoin that referenced this pull request Sep 15, 2017

bip148: functional test
Basic functional test for behaviour with -bip148 flag.

Github-Pull: #10532
Rebased-From: a050dab

runn1ng added a commit to satoshilabs/bitcoin that referenced this pull request Sep 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment