MarcoFalke
fa748c6f2a
test: Fix intermittent issue in mining_getblocktemplate_longpoll.py
1 year ago
MarcoFalke
fa0abcdafe
test: Flatten miniwallet array and remove random fee in longpoll
2 years ago
kouloumos
42029a7fd4
test: remove redundant blocks generation logic
...
those tests already have enough mature utxos from the pre-mined chain.
2 years ago
MarcoFalke
fac23c2114
scripted-diff: Bump copyright headers
...
The previous diff touched most files in ./test/, so bump the headers to
avoid having to touch them again for a bump later.
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./test/
-END VERIFY SCRIPT-
3 years ago
MarcoFalke
fa974f1f14
scripted-diff: Remove redundant sync_all and sync_blocks
...
The sync calls are redundant after a call to generate, because generate
already syncs itself.
-BEGIN VERIFY SCRIPT-
perl -0777 -pi -e 's/(generate[^\n]*\)[^\n]*)(\n|\s)+self.sync_(all|blocks)\([^\)]*\)\n/\1\n/g' $(git grep -l generate ./test)
-END VERIFY SCRIPT-
3 years ago
MarcoFalke
fa0b916971
scripted-diff: Use generate* from TestFramework
...
-BEGIN VERIFY SCRIPT-
sed --regexp-extended -i \
's/((self\.)?(nodes\[[^]]+\]|[a-z_]*(wallet|node)[0-9a-z_]*))\.(generate(|toaddress|block|todescriptor)(\(|, ))/self.\5\1, /g' \
$(git grep -l generate ./test | grep -v 'test_framework/' | grep -v 'feature_rbf')
-END VERIFY SCRIPT-
3 years ago
MarcoFalke
fab2e23b57
Use generate* from TestFramework
...
The changes in feature_rbf can be reviewed with
--color-moved=dimmed-zebra --color-moved-ws=ignore-all-space
3 years ago
Kiminuo
bfa9309ad6
Use COINBASE_MATURITY constant in functional tests.
3 years ago
MarcoFalke
fa0074e2d8
scripted-diff: Bump copyright headers
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./
-END VERIFY SCRIPT-
4 years ago
Sebastian Falbesoner
b128b56672
test: add logging for mining_getblocktemplate_longpoll.py
4 years ago
Sebastian Falbesoner
fddce7e199
test: use MiniWallet for mining_getblocktemplate_longpoll.py
...
This test can now be run even with the Bitcoin Core wallet disabled.
4 years ago
practicalswift
993e38a4e2
tests: Mark functional tests not supporting bitcoin-cli (--usecli) as such
5 years ago
MarcoFalke
faa7cdf764
scripted-diff: Update copyright in ./test
...
-BEGIN VERIFY SCRIPT-
./contrib/devtools/copyright_header.py update ./test/
-END VERIFY SCRIPT-
6 years ago
MarcoFalke
fa0e65b772
scripted-diff: test: Remove brackets after assert
...
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/assert ?\((.+)\)(( )*)?(#.*)?$/assert \1\3\3\4/g' $(git grep -l --extended-regexp 'assert ?\(' test)
-END VERIFY SCRIPT-
6 years ago
John Newbery
0025c9eae4
[mining] segwit option must be set in GBT
...
Calling getblocktemplate without the segwit rule specified is most
likely a client error, since it results in lower fees for the miner.
Prevent this client error by failing getblocktemplate if called without
the segwit rule specified.
6 years ago
MarcoFalke
fac9539836
qa: Run all tests even if wallet is not compiled
6 years ago
MarcoFalke
faa669cbcd
qa: Premine to deterministic address with -disablewallet
6 years ago
practicalswift
ada356208e
Fix typos reported by codespell
6 years ago
practicalswift
68400d8b96
tests: Use explicit imports
6 years ago
DrahtBot
eb7daf4d60
Update copyright headers to 2018
6 years ago
Anthony Towns
3150b3fea7
[tests] Rename misc functional tests.
7 years ago