bitcoin/test/functional/data
Kiminuo bd7e530f01 This PR adds initial support for type hints checking in python scripts.
Support for type hints was introduced in Python 3.5. Type hints make it easier to read and review code in my opinion. Also an IDE may discover a potential bug sooner. Yet, as PEP 484 says: "It should also be emphasized that Python will remain a dynamically typed language, and the authors have no desire to ever make type hints mandatory, even by convention."

Mypy is used in lint-python.sh to do the type checking. The package is standard so there is little chance that it will be abandoned. Mypy checks that type hints in source code are correct when they are not, it fails with an error.

Useful resources:

* https://docs.python.org/3.5/library/typing.html
* https://www.python.org/dev/peps/pep-0484/
2020-06-02 08:03:02 +02:00
..
wallets/high_minversion test: Add notes on how to generate data/wallets/high_minversion 2019-09-16 09:35:05 -04:00
blockheader_testnet3.hex test: Test that low difficulty chain fork is rejected 2019-08-16 13:02:16 -04:00
invalid_txs.py This PR adds initial support for type hints checking in python scripts. 2020-06-02 08:03:02 +02:00
rpc_bip67.json Test sortedmulti descriptor using BIP 67 tests 2019-10-08 13:56:56 -04:00
rpc_getblockstats.json rpc: faster getblockstats using BlockUndo data 2019-05-10 08:33:14 -04:00
rpc_psbt.json Fix bug where duplicate PSBT keys are accepted 2019-10-08 01:45:36 +03:00