aboutsummaryrefslogtreecommitdiff
path: root/test/lint
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2018-10-08 04:56:39 -0400
committerJames O'Beirne <james.obeirne@gmail.com>2018-11-27 17:53:53 -0500
commit59e387705c7e55ec40400301346354fa2d0c613f (patch)
tree612d1ebcc06d97f54f5cc8e3b609f8812a1670ef /test/lint
parenta4eaaa6ac53606a1533b56050af77961d8c27dc7 (diff)
downloadbitcoin-59e387705c7e55ec40400301346354fa2d0c613f.tar.xz
test: add invalid tx templates for use in functional tests
Add templates for easily constructing different kinds of invalid transactions and use them in feature_block and p2p_invalid_tx.
Diffstat (limited to 'test/lint')
-rwxr-xr-xtest/lint/lint-python-dead-code.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lint/lint-python-dead-code.sh b/test/lint/lint-python-dead-code.sh
index 3341f794f9..f0fcd31922 100755
--- a/test/lint/lint-python-dead-code.sh
+++ b/test/lint/lint-python-dead-code.sh
@@ -16,4 +16,4 @@ fi
vulture \
--min-confidence 60 \
--ignore-names "argtypes,connection_lost,connection_made,converter,data_received,daemon,errcheck,get_ecdh_key,get_privkey,is_compressed,is_fullyvalid,msg_generic,on_*,optionxform,restype,set_privkey" \
- $(git ls-files -- "*.py" ":(exclude)contrib/")
+ $(git ls-files -- "*.py" ":(exclude)contrib/" ":(exclude)test/functional/data/invalid_txs.py")