chia-blockchain/chia/consensus
Arvid Norberg afae2ad5fe
make recurse_jsonify() work directly on types (#11537)
* make recurse_jsonify() work directly on types, circumventing the dataclasses.asdict() step. This enables simpler integration of non dataclasses into the Streamable and JSON protocols

* add benchmark for Streamable.to_json_dict()
2022-05-18 09:15:03 -07:00
..
__init__.py git mv src chia 2021-04-04 21:41:39 -07:00
block_body_validation.py reduce the redundant computations of coin_ids in block_body_validation (#11530) 2022-05-15 15:46:44 -07:00
block_creation.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
block_header_validation.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
block_record.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
block_rewards.py git mv src chia 2021-04-04 21:41:39 -07:00
block_root_validation.py reduce the redundant computations of coin_ids in block_body_validation (#11530) 2022-05-15 15:46:44 -07:00
blockchain_interface.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
blockchain.py make recurse_jsonify() work directly on types (#11537) 2022-05-18 09:15:03 -07:00
coinbase.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
condition_costs.py remove zero condition cost constants. They only contribute complexity. They must be zero by consensus rules, they won't change. (#9657) 2021-12-22 18:49:52 -08:00
constants.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
cost_calculator.py streamable: Simplify and force correct usage (#10509) 2022-04-08 18:29:32 -07:00
default_constants.py undo 9130 (#10278) 2022-04-25 16:05:35 -07:00
deficit.py git mv src chia 2021-04-04 21:41:39 -07:00
difficulty_adjustment.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
find_fork_point.py git mv src chia 2021-04-04 21:41:39 -07:00
full_block_to_block_record.py Move BLS validation to other processes during sync (#9746) 2022-01-20 14:50:41 -08:00
get_block_challenge.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
make_sub_epoch_summary.py git mv src chia 2021-04-04 21:41:39 -07:00
multiprocess_validation.py Optimize code to not perform useless subgroup checks (#11546) 2022-05-18 09:09:56 -07:00
network_type.py git mv src chia 2021-04-04 21:41:39 -07:00
pos_quality.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00
pot_iterations.py git mv src chia 2021-04-04 21:41:39 -07:00
vdf_info_computation.py Ms.mypy consensus (#11403) 2022-05-12 15:21:47 -07:00