Suhas Daftuar
abe7b3d3ab
Don't require segwit in getblocktemplate for segwit signalling or mining
...
Segwit's version bit will be signalled for all invocations of CreateNewBlock,
and not specifying segwit only will cause CreateNewBlock to skip transactions
with witness from being selected.
8 years ago
John Newbery
64c080051b
Use logging in individual tests
8 years ago
John Newbery
b0dec4a04a
Remove manual debug settings in qa tests.
...
-debug and -logtimemicros are now set by default. Individual test cases
no longer need to set these parameters manually.
8 years ago
John Newbery
553a976929
Add logging to p2p-segwit.py
8 years ago
John Newbery
3f95a806b1
Fix docstrings in qa tests
...
This commit fixes the module-level docstrings for the tests and helper
modules in qa. Many of these tests were uncommented previously - this
commit ensures that every test case has at least a minimum level of
commenting.
8 years ago
practicalswift
5cdf10611f
Remove redundant semicolons in Python code
8 years ago
practicalswift
ac4a095306
Remove unused Python variables
8 years ago
Suhas Daftuar
95f4a03777
[qa] Test getblocktemplate default_witness_commitment
8 years ago
BtcDrak
09dc4064ac
Make test constant consistent with consensus.h
8 years ago
Matt Corallo
3451203b5c
[qa] Respond to getheaders and do not assume a getdata on inv
8 years ago
Johnson Lau
67d6ee1e36
remove redundant tests in p2p-segwit.py
8 years ago
Suhas Daftuar
b811124202
[qa] Add tests for uncompressed pubkeys in segwit
8 years ago
Johnson Lau
3ade2f64cf
Add standard limits for P2WSH with tests
8 years ago
Matt Corallo
be7555f0c0
Fix overly-prescriptive p2p-segwit test for new fetch logic
8 years ago
Johnson Lau
0637b02fce
Ping regularly in p2p-segwit.py to keep connection alive
...
This pings regularly while building a big block in p2p-segwit.py, to prevent timeout
8 years ago
instagibbs
ca10a03add
Add basic test for IsStandard witness transaction blinding
8 years ago
instagibbs
5547aeb015
p2psegwit.py transaction is rejected due to premature witness not size
8 years ago
instagibbs
bc1d1f2660
Update p2p-segwit.py to reflect correct AskFor behavior
8 years ago
Suhas Daftuar
c59c434b7d
qa: Add test for standardness of segwit v0 outputs
8 years ago
Suhas Daftuar
2c06bae39e
Rename "block cost" to "block weight"
8 years ago
MarcoFalke
fae596f0e4
[qa] Sort scripts by time for pull_tester and don't overwrite setup_chain
9 years ago
MarcoFalke
66668c420a
[qa] Solve merge conflict of 4324bd237c
9 years ago
Suhas Daftuar
46c9620f11
Test that unnecessary witnesses can't be used for mempool DoS
...
Check that pre-segwit activation, unnecessary witnesses won't cause
a txid to be permanently rejected.
9 years ago
Bob McElrath
36ae37a9f9
Rename CTxinWitness -> CTxInWitness
9 years ago
Suhas Daftuar
330b0f31ee
[qa] p2p segwit tests
...
mininode now supports witness transactions/blocks, blocktools
has a helper for adding witness commitments to blocks, and script
has a function to calculate hashes for signature under sigversion
1, used by segwit.
Py3 conversion by Marco Falke
Test to make sure upgraded nodes don't ask for non-wit blocks by
Gregory Sanders.
9 years ago