chia-blockchain/tests/util
Arvid Norberg b8ada1ceb7
introduce restrictions on generators at a specific height (#9957)
* introduce restrictions on generators at a specific height. disallow division on negative numbers and disallow redundant leading zeros on integer condition arguments (produced by a generator)

* use SOFT_FORK_HEIGHT constant

* there is no need to specify height when validating block in block_creation

* Update tests/core/full_node/test_mempool.py

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>

Co-authored-by: dustinface <35775977+xdustinface@users.noreply.github.com>
2022-01-28 12:29:11 -08:00
..
__init__.py Added tests, improved serialization 2019-08-05 14:38:16 +09:00
alert_server.py Rename src to chia. 2021-04-04 21:41:39 -07:00
benchmark_cost.py move chia.util.block_tools and chia.util.wallet_tools into tests (#6799) 2021-06-16 11:12:26 -07:00
bip39_test_vectors.json pre-commit: Add initial config and run it for all files (#7053) 2021-08-02 10:48:22 -07:00
blockchain.py revert allow-upgrades configuration option. It makes it significantly more complicated to do proper database migrations (#9768) 2022-01-13 14:53:27 -08:00
build_network_protocol_files.py Test serialisation of network protocol messages. (#9347) 2021-11-23 09:52:42 -08:00
config.py Add github workflow tool 2021-03-25 12:05:54 -07:00
db_connection.py revert allow-upgrades configuration option. It makes it significantly more complicated to do proper database migrations (#9768) 2022-01-13 14:53:27 -08:00
generator_tools_testing.py introduce restrictions on generators at a specific height (#9957) 2022-01-28 12:29:11 -08:00
key_tool.py Make the sized bytes types hint compatible (#9369) 2021-12-02 09:43:39 -08:00
keyring.py mypy: warn_unused_ignores = true (and remove some) (#9085) 2021-11-23 12:44:53 -08:00
misc.py bytes formatting simplify (#6021) 2021-05-26 11:11:44 -07:00
network_protocol_data.py Make the sized bytes types hint compatible (#9369) 2021-12-02 09:43:39 -08:00
network.py Resolve v6 addresses (#8861) 2021-11-22 14:34:03 -08:00
protocol_messages_bytes-v1.0 Test serialisation of network protocol messages. (#9347) 2021-11-23 09:52:42 -08:00
rpc.py rpc|tests: Introduce RPC endpoint /get_routes (#9084) 2021-11-19 11:20:56 -08:00
test_lock_queue.py Ms.mempool locking (#9050) 2021-11-04 09:29:05 -07:00
test_network_protocol_files.py Test serialisation of network protocol messages. (#9347) 2021-11-23 09:52:42 -08:00
test_struct_stream.py validate integers in StructStream constructors (#4298) 2021-06-08 10:45:56 -07:00