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

Bugfix: RPC/Mining: GBT should return 1 MB sizelimit before segwit activates #9619

Merged
merged 2 commits into from Feb 20, 2017

Conversation

Projects
None yet
7 participants
Member

luke-jr commented Jan 23, 2017

Not sure how I missed this when fixing the sigoplimit... Better late than never - maybe.

Member

jtimon commented Jan 24, 2017

utACK 8b19cc8

Contributor

TheBlueMatt commented Jan 26, 2017

Can you add this to the existing test-cases? Looks like it should be easy.

Owner

laanwj commented Jan 26, 2017

utACK 8b19cc8, agree that a testcase would be superb.

Owner

sipa commented Jan 26, 2017

utACK

Member

luke-jr commented Feb 2, 2017

Rebased and added tests.

Member

MarcoFalke commented Feb 2, 2017

	Testing detection of non-standard P2WSH witness
Assertion failed: not(b'bad-txns-vout-negative' == b'bad-witness-nonstandard')

  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/test_framework/test_framework.py", line 145, in main
    self.run_test()
  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/p2p-segwit.py", line 2028, in run_test
    self.test_non_standard_witness()
  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/p2p-segwit.py", line 1905, in test_non_standard_witness
    self.std_node.test_transaction_acceptance(p2wsh_txs[0], True, False, b'bad-witness-nonstandard')
  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/p2p-segwit.py", line 160, in test_transaction_acceptance
    assert_equal(self.last_reject.reason, reason)
  File "/home/travis/build/bitcoin/bitcoin/build/bitcoin-x86_64-unknown-linux-gnu/qa/rpc-tests/test_framework/util.py", line 529, in assert_equal
    raise AssertionError("not(%s)" % " == ".join(str(arg) for arg in (thing1, thing2) + args))
Member

luke-jr commented Feb 2, 2017

I don't see how that's possible...

Member

jtimon commented Feb 16, 2017

re-utACK 279f944

Owner

sipa commented Feb 16, 2017

utACK for 0.14

Member

luke-jr commented Feb 16, 2017

( @MarcoFalke Re-run of Travis didn't have the same issue, so I guess p2p-segwit was/is flakey, and that failure was unrelated to this PR.)

@MarcoFalke MarcoFalke added this to the 0.14.0 milestone Feb 18, 2017

@laanwj laanwj merged commit 279f944 into bitcoin:master Feb 20, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

laanwj added a commit that referenced this pull request Feb 20, 2017

Merge #9619: Bugfix: RPC/Mining: GBT should return 1 MB sizelimit bef…
…ore segwit activates


279f944 QA: Test GBT size/weight limit values (Luke Dashjr)
9fc7f0b Bugfix: RPC/Mining: GBT should return 1 MB sizelimit before segwit activates (Luke Dashjr)

laanwj added a commit that referenced this pull request Feb 20, 2017

laanwj added a commit that referenced this pull request Feb 20, 2017

QA: Test GBT size/weight limit values
Github-Pull: #9619
Rebased-From: 279f944
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment