Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
This report presents the forensic synthetic code analysis of Chia-Network/chia-blockchain, a Python project with 10,808 GitHub stars. SynthScan v2.0 examined 316,057 lines of code across 1079 source files, recording 4496 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 16.2 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4496 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/validate_rpcs.py | 27 | def get_height_to_hash_filename(root_path: Path, config: dict[str, Any]) -> Path: | CODE |
| LOW | tools/validate_rpcs.py | 47 | def get_block_hash_for_height(height: int, height_to_hash: bytes) -> bytes32: | CODE |
| LOW | tools/validate_rpcs.py | 155 | async def node_spends_with_conditions( | CODE |
| LOW | benchmarks/address_manager_store.py | 87 | async def benchmark_serialize_deserialize(iterations: int = 5) -> None: | CODE |
| LOW | benchmarks/mempool-long-lived.py | 92 | async def get_unspent_lineage_info_for_puzzle_hash(_: bytes32) -> UnspentLineageInfo | None: | CODE |
| LOW | benchmarks/streamable.py | 67 | def get_random_benchmark_object() -> BenchmarkClass: | CODE |
| LOW | benchmarks/mempool.py | 94 | async def get_unspent_lineage_info_for_puzzle_hash(_: bytes32) -> UnspentLineageInfo | None: | CODE |
| LOW | chia/introducer/introducer.py | 61 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/introducer/start_introducer.py | 26 | def create_introducer_service( | CODE |
| LOW | chia/introducer/introducer_api.py | 37 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/consensus/block_body_validation.py | 158 | def validate_block_merkle_roots( | CODE |
| LOW | chia/consensus/generator_tools.py | 53 | def tx_removals_and_additions(results: SpendBundleConditions | None) -> tuple[list[bytes32], list[Coin]]: | CODE |
| LOW | chia/consensus/vdf_info_computation.py | 11 | def get_signage_point_vdf_info( | CODE |
| LOW | chia/consensus/challenge_tree.py | 35 | def extract_slot_challenge_data( | CODE |
| LOW | chia/consensus/challenge_tree.py | 115 | def build_challenge_merkle_tree(slot_data: list[SlotChallengeData]) -> bytes32: | CODE |
| LOW | chia/consensus/challenge_tree.py | 133 | def compute_challenge_merkle_root( | CODE |
| LOW⚡ | chia/consensus/blockchain_interface.py | 61 | async def get_block_records_in_range(self, start: int, stop: int) -> dict[bytes32, BlockRecord]: ... | CODE |
| LOW⚡ | chia/consensus/blockchain_interface.py | 63 | async def get_header_blocks_in_range( | CODE |
| LOW⚡ | chia/consensus/blockchain_interface.py | 69 | async def persist_sub_epoch_challenge_segments( | CODE |
| LOW⚡ | chia/consensus/blockchain_interface.py | 73 | async def get_sub_epoch_challenge_segments( | CODE |
| LOW | chia/consensus/prev_transaction_block.py | 9 | def get_prev_transaction_block( | CODE |
| LOW | chia/consensus/full_block_to_block_record.py | 90 | def header_block_to_sub_block_record( | CODE |
| LOW | chia/consensus/block_rewards.py | 33 | def calculate_base_farmer_reward(height: uint32) -> uint64: | CODE |
| LOW | chia/consensus/block_creation.py | 411 | def unfinished_block_to_full_block( | CODE |
| LOW | chia/consensus/block_creation.py | 519 | def calculate_infusion_point_total_iters( | CODE |
| LOW | chia/consensus/block_creation.py | 529 | def unfinished_block_to_full_block_with_mmr( | CODE |
| LOW | chia/consensus/pot_iterations.py | 18 | def calculate_sp_interval_iters(constants: ConsensusConstants, sub_slot_iters: uint64) -> uint64: | CODE |
| LOW | chia/consensus/pot_iterations.py | 50 | def validate_pospace_and_get_required_iters( | CODE |
| LOW | chia/consensus/pot_iterations.py | 81 | def calculate_iterations_quality( | CODE |
| LOW | chia/consensus/block_record.py | 19 | def prev_transaction_block_height(self) -> uint32: ... | CODE |
| LOW | chia/consensus/block_record.py | 22 | def prev_transaction_block_hash(self) -> bytes32 | None: ... | CODE |
| LOW | chia/consensus/mmr.py | 201 | def get_inclusion_proof_by_index(self, leaf_index: int) -> tuple[uint32, bytes, list[bytes32], bytes32] | None: | CODE |
| LOW | chia/consensus/blockchain.py | 633 | def get_next_sub_slot_iters_and_difficulty(self, header_hash: bytes32, new_slot: bool) -> tuple[uint64, uint64]: | CODE |
| LOW | chia/consensus/blockchain.py | 694 | def get_recent_reward_challenges(self) -> list[tuple[bytes32, uint128]]: | CODE |
| LOW | chia/consensus/blockchain.py | 715 | async def validate_unfinished_block_header( | CODE |
| LOW | chia/consensus/blockchain.py | 785 | async def validate_unfinished_block( | CODE |
| LOW | chia/consensus/blockchain.py | 903 | async def get_block_records_in_range(self, start: int, stop: int) -> dict[bytes32, BlockRecord]: | CODE |
| LOW | chia/consensus/blockchain.py | 906 | async def get_header_blocks_in_range( | CODE |
| LOW | chia/consensus/blockchain.py | 950 | async def get_header_block_by_height( | CODE |
| LOW | chia/consensus/blockchain.py | 1021 | async def persist_sub_epoch_challenge_segments( | CODE |
| LOW | chia/consensus/blockchain.py | 1026 | async def get_sub_epoch_challenge_segments( | CODE |
| LOW | chia/consensus/get_block_challenge.py | 16 | def final_eos_is_already_included( | CODE |
| LOW | chia/consensus/difficulty_adjustment.py | 52 | def _get_second_to_last_transaction_block_in_previous_epoch( | CODE |
| LOW | chia/consensus/difficulty_adjustment.py | 130 | def height_can_be_first_in_epoch(constants: ConsensusConstants, height: uint32) -> bool: | CODE |
| LOW | chia/consensus/difficulty_adjustment.py | 134 | def can_finish_sub_and_full_epoch( | CODE |
| LOW | chia/consensus/difficulty_adjustment.py | 353 | def get_next_sub_slot_iters_and_difficulty( | CODE |
| LOW | chia/consensus/condition_tools.py | 74 | def make_aggsig_final_message( | CODE |
| LOW | chia/consensus/condition_tools.py | 138 | def pkm_pairs_for_conditions_dict( | CODE |
| LOW | chia/consensus/condition_tools.py | 170 | def created_outputs_for_conditions_dict( | CODE |
| LOW | chia/consensus/condition_tools.py | 183 | def conditions_dict_for_solution( | CODE |
| LOW⚡ | chia/consensus/coin_store_protocol.py | 42 | async def get_coins_added_at_height(self, height: uint32) -> list[CoinRecord]: | CODE |
| LOW⚡ | chia/consensus/coin_store_protocol.py | 47 | async def get_coins_removed_at_height(self, height: uint32) -> list[CoinRecord]: | CODE |
| LOW⚡ | chia/consensus/coin_store_protocol.py | 52 | async def get_coin_records_by_puzzle_hash( | CODE |
| LOW | chia/consensus/coin_store_protocol.py | 63 | async def get_coin_records_by_puzzle_hashes( | CODE |
| LOW | chia/consensus/coin_store_protocol.py | 74 | async def get_coin_records_by_names( | CODE |
| LOW | chia/consensus/coin_store_protocol.py | 85 | async def get_coin_states_by_puzzle_hashes( | CODE |
| LOW | chia/consensus/coin_store_protocol.py | 97 | async def get_coin_records_by_parent_ids( | CODE |
| LOW | chia/consensus/coin_store_protocol.py | 123 | async def batch_coin_states_by_puzzle_hashes( | CODE |
| LOW | chia/consensus/coin_store_protocol.py | 138 | async def get_unspent_lineage_info_for_puzzle_hash(self, puzzle_hash: bytes32) -> UnspentLineageInfo | None: | CODE |
| LOW | chia/consensus/block_header_validation.py | 47 | def validate_unfinished_header_block( | CODE |
| 2300 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | manage-mypy.py | 3 | CODE | |
| LOW | activated.py | 3 | CODE | |
| LOW | poetry-check.py | 1 | CODE | |
| LOW | installhelper.py | 7 | CODE | |
| LOW | tools/run_block.py | 39 | CODE | |
| LOW | tools/generate_chain.py | 1 | CODE | |
| LOW | tools/test_full_sync.py | 3 | CODE | |
| LOW | tools/manage_clvm.py | 1 | CODE | |
| LOW | tools/chialispp.py | 1 | CODE | |
| LOW | tools/validate_rpcs.py | 3 | CODE | |
| LOW | tools/analyze_memory_profile.py | 1 | CODE | |
| LOW | tools/cpu_utilization.py | 1 | CODE | |
| LOW | build_scripts/check_dependency_artifacts.py | 1 | CODE | |
| LOW | benchmarks/address_manager_store.py | 1 | CODE | |
| LOW | benchmarks/mempool-long-lived.py | 1 | CODE | |
| LOW | benchmarks/coin_store.py | 1 | CODE | |
| LOW | benchmarks/streamable.py | 1 | CODE | |
| LOW | benchmarks/block_ref.py | 1 | CODE | |
| LOW | benchmarks/jsonify.py | 1 | CODE | |
| LOW | benchmarks/blockchains.py | 1 | CODE | |
| LOW | benchmarks/utils.py | 1 | CODE | |
| LOW | benchmarks/mempool.py | 1 | CODE | |
| LOW | benchmarks/block_store.py | 1 | CODE | |
| LOW | chia/__init__.py | 1 | CODE | |
| LOW | chia/__main__.py | 1 | CODE | |
| LOW | chia/introducer/introducer.py | 1 | CODE | |
| LOW | chia/introducer/introducer_service.py | 1 | CODE | |
| LOW | chia/introducer/start_introducer.py | 1 | CODE | |
| LOW | chia/introducer/introducer_api.py | 1 | CODE | |
| LOW | chia/consensus/block_body_validation.py | 1 | CODE | |
| LOW | chia/consensus/generator_tools.py | 1 | CODE | |
| LOW | chia/consensus/vdf_info_computation.py | 1 | CODE | |
| LOW | chia/consensus/challenge_tree.py | 8 | CODE | |
| LOW | chia/consensus/blockchain_interface.py | 1 | CODE | |
| LOW | chia/consensus/condition_costs.py | 1 | CODE | |
| LOW | chia/consensus/prev_transaction_block.py | 1 | CODE | |
| LOW | chia/consensus/block_height_map.py | 1 | CODE | |
| LOW | chia/consensus/multiprocess_validation.py | 1 | CODE | |
| LOW | chia/consensus/make_sub_epoch_summary.py | 1 | CODE | |
| LOW | chia/consensus/full_block_to_block_record.py | 1 | CODE | |
| LOW | chia/consensus/constants.py | 1 | CODE | |
| LOW | chia/consensus/block_rewards.py | 1 | CODE | |
| LOW | chia/consensus/coinbase.py | 1 | CODE | |
| LOW | chia/consensus/find_fork_point.py | 1 | CODE | |
| LOW | chia/consensus/deficit.py | 1 | CODE | |
| LOW | chia/consensus/block_creation.py | 1 | CODE | |
| LOW | chia/consensus/pot_iterations.py | 1 | CODE | |
| LOW | chia/consensus/block_record.py | 1 | CODE | |
| LOW | chia/consensus/default_constants.py | 1 | CODE | |
| LOW | chia/consensus/mmr.py | 1 | CODE | |
| LOW | chia/consensus/blockchain_mmr.py | 1 | CODE | |
| LOW | chia/consensus/block_height_map_protocol.py | 1 | CODE | |
| LOW | chia/consensus/signage_point.py | 1 | CODE | |
| LOW | chia/consensus/blockchain.py | 1 | CODE | |
| LOW | chia/consensus/get_block_generator.py | 1 | CODE | |
| LOW | chia/consensus/get_block_challenge.py | 1 | CODE | |
| LOW | chia/consensus/difficulty_adjustment.py | 1 | CODE | |
| LOW | chia/consensus/pos_quality.py | 1 | CODE | |
| LOW | chia/consensus/augmented_chain.py | 1 | CODE | |
| LOW | chia/consensus/condition_tools.py | 1 | CODE | |
| 817 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | PRETTY_GOOD_PRACTICES.md | 791 | except Exception as e: | CODE |
| MEDIUM | PRETTY_GOOD_PRACTICES.md | 786 | def main(): | CODE |
| LOW | tools/manage_clvm.py | 310 | except Exception: | CODE |
| LOW | tools/manage_clvm.py | 399 | except Exception: | CODE |
| LOW | tools/validate_rpcs.py | 164 | except Exception as e: | CODE |
| LOW | tools/validate_rpcs.py | 178 | except Exception as e: | CODE |
| LOW | tools/validate_rpcs.py | 193 | except Exception as e: | CODE |
| LOW | tools/analyze_memory_profile.py | 62 | except Exception: | CODE |
| LOW | tools/analyze_memory_profile.py | 105 | except Exception as e: | CODE |
| LOW | tools/cpu_utilization.py | 50 | except Exception: | CODE |
| LOW | tools/cpu_utilization.py | 58 | except Exception: | CODE |
| LOW | benchmarks/utils.py | 46 | except Exception: | CODE |
| LOW | benchmarks/utils.py | 51 | except Exception: | CODE |
| MEDIUM | benchmarks/utils.py | 38 | def get_commit_hash() -> str: | CODE |
| LOW⚡ | .github/workflows/dependency-cursor-review.yml | 932 | except Exception: | STRING |
| LOW⚡ | .github/workflows/dependency-cursor-review.yml | 939 | except Exception: | STRING |
| LOW⚡ | .github/workflows/dependency-cursor-review.yml | 947 | except Exception: | STRING |
| MEDIUM | .github/workflows/dependency-cursor-review.yml | 788 | def read_file(path): | CODE |
| LOW | chia/introducer/introducer.py | 116 | except Exception as e: | CODE |
| LOW | chia/introducer/introducer.py | 128 | except Exception as e: | CODE |
| LOW | chia/consensus/block_height_map.py | 92 | except Exception as e: | CODE |
| LOW | chia/consensus/block_height_map.py | 99 | except Exception as e: | CODE |
| LOW | chia/consensus/block_height_map.py | 171 | except Exception: | CODE |
| LOW | chia/consensus/multiprocess_validation.py | 163 | except Exception: | CODE |
| LOW | chia/plot_sync/sender.py | 346 | except Exception as e: | CODE |
| LOW | chia/plot_sync/receiver.py | 119 | except Exception: | CODE |
| LOW | chia/plot_sync/receiver.py | 192 | except Exception as e: | CODE |
| LOW | chia/ssl/ssl_check.py | 79 | except Exception as e: | CODE |
| LOW | chia/ssl/ssl_check.py | 124 | except Exception as e: | CODE |
| LOW | chia/ssl/ssl_check.py | 179 | except Exception as e: | CODE |
| LOW | chia/pools/pool_wallet.py | 323 | except Exception as e: | CODE |
| LOW | chia/types/blockchain_format/vdf.py | 78 | except Exception: | CODE |
| LOW | chia/timelord/timelord_api.py | 160 | except Exception: | CODE |
| LOW | chia/timelord/timelord_launcher.py | 109 | except Exception as e: | CODE |
| LOW⚡ | chia/timelord/timelord.py | 1173 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 263 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 287 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 596 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 955 | except Exception: | CODE |
| LOW | chia/timelord/timelord.py | 1135 | except Exception: | CODE |
| LOW | chia/timelord/timelord.py | 1204 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 1257 | except Exception as e: | CODE |
| LOW | chia/seeder/dns_server.py | 109 | except Exception as e: | CODE |
| LOW | chia/seeder/dns_server.py | 223 | except Exception as e: | CODE |
| LOW | chia/seeder/dns_server.py | 264 | except Exception as e: | CODE |
| LOW | chia/seeder/dns_server.py | 336 | except Exception: | CODE |
| LOW | chia/seeder/dns_server.py | 422 | except Exception as e: | CODE |
| LOW | chia/seeder/crawler.py | 165 | except Exception as e: | CODE |
| LOW | chia/seeder/crawler.py | 198 | except Exception as e: | CODE |
| LOW | chia/seeder/crawler.py | 304 | except Exception as e: | CODE |
| LOW | chia/seeder/crawler.py | 316 | except Exception as e: | CODE |
| LOW | chia/seeder/crawler.py | 346 | except Exception as e: | CODE |
| LOW⚡ | chia/util/files.py | 29 | except Exception as e: | CODE |
| LOW⚡ | chia/util/files.py | 34 | except Exception: | CODE |
| LOW | chia/util/files.py | 48 | except Exception: | CODE |
| LOW | chia/util/files.py | 86 | except Exception: | CODE |
| LOW | chia/util/files.py | 95 | except Exception: | CODE |
| LOW | chia/util/config.py | 145 | except Exception as e: | CODE |
| LOW | chia/util/beta_metrics.py | 114 | except Exception as e: | CODE |
| LOW | chia/util/safe_cancel_task.py | 13 | except Exception as e: | CODE |
| 291 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | installhelper.py | 19 | # The following function is borrowed from | COMMENT |
| MEDIUM | tools/chialispp.py | 301 | # The following functions maintain that stack | COMMENT |
| MEDIUM | benchmarks/address_manager_store.py | 43 | # Create the ExtendedPeerInfo | COMMENT |
| MEDIUM | .github/dependabot.yml | 1 | # This file is managed by the repo-content-updater project. Manual changes here will result in a PR to bring back | COMMENT |
| MEDIUM | chia/consensus/generator_tools.py | 24 | # Create an empty filter to begin with | COMMENT |
| MEDIUM | chia/apis/farmer_stub.py | 30 | # Create a concrete instance for decorators while keeping the ClassVar type hint for mypy | COMMENT |
| MEDIUM⚡ | chia/util/files.py | 23 | # Create the parent directory if necessary | COMMENT |
| MEDIUM | chia/util/files.py | 71 | # Create the parent directory if necessary | COMMENT |
| MEDIUM | chia/util/streamable.py | 740 | # Create the object without calling __init__() to avoid unnecessary post-init checks in strictdataclass | COMMENT |
| MEDIUM | chia/util/keyring_wrapper.py | 266 | self.keyring.write_keyring(fresh_salt=True) # Create a new salt since we're changing the passphrase | CODE |
| MEDIUM | chia/_tests/clvm/test_member_puzzles.py | 69 | # Create an announcements to be asserted in the delegated puzzle | COMMENT |
| MEDIUM | chia/_tests/clvm/test_member_puzzles.py | 309 | # Create an announcements to be asserted in the delegated puzzle | COMMENT |
| MEDIUM | chia/_tests/clvm/test_member_puzzles.py | 400 | # Create an announcements to be asserted in the delegated puzzle | COMMENT |
| MEDIUM | chia/_tests/tools/test_virtual_project.py | 504 | # Create a temporary YAML configuration file | COMMENT |
| MEDIUM | chia/_tests/tools/test_legacy_keyring.py | 30 | # Create the legacy keyring file with the old format | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_rpc.py | 1189 | # Create a farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_rpc.py | 1372 | # Create a farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_rpc.py | 1415 | # Create a farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_cmdline.py | 484 | # Create a farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_cmdline.py | 600 | # Create a second farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_cmdline.py | 680 | # Create a self-pooling plotnft | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_puzzles_lifecycle.py | 89 | # Create the escaping inner puzzle | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_puzzles_lifecycle.py | 154 | # Create the spend bundle | COMMENT |
| MEDIUM | chia/_tests/core/test_seeder.py | 365 | # Create a mock Resolver | COMMENT |
| MEDIUM | chia/_tests/core/test_farmer_harvester_rpc.py | 502 | # Create a file at the test_path and make sure it detects this | COMMENT |
| MEDIUM | …/_tests/core/util/test_file_keyring_synchronization.py | 72 | # Create a directory for each process to indicate readiness | COMMENT |
| MEDIUM | chia/_tests/core/custom_types/test_sub_epoch_summary.py | 25 | # Create a basic SubEpochSummary | COMMENT |
| MEDIUM | chia/_tests/core/server/test_rate_limits_v3.py | 667 | # Create a slow handler so that the initial requests fill the window and | COMMENT |
| MEDIUM | chia/_tests/core/server/test_rate_limits.py | 416 | # The following code checks whether all of the runs resulted in the same number of items in "rate_limits_tx", | COMMENT |
| MEDIUM | chia/_tests/core/data_layer/test_plugin.py | 74 | # Create an unreadable config file | COMMENT |
| MEDIUM | chia/_tests/core/data_layer/test_plugin.py | 93 | # Create a config file with improper JSON | COMMENT |
| MEDIUM | chia/_tests/core/full_node/test_performance.py | 123 | # Create an unfinished block | COMMENT |
| MEDIUM | chia/_tests/core/full_node/test_address_manager.py | 756 | # Create the new serialization (this would happen automatically through scheduled task) | COMMENT |
| MEDIUM | chia/_tests/core/full_node/test_full_node.py | 4136 | # Create a transaction with a height condition that makes it pending | COMMENT |
| MEDIUM | chia/_tests/core/full_node/test_full_node.py | 4223 | # Create a transaction and add it to the relevant full node's mempool | COMMENT |
| MEDIUM | chia/_tests/core/full_node/test_full_node.py | 4673 | # Create an unfinished block that would be infused before the current | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 1386 | # Create the spend bundles with a big enough cost that they get close to the limit | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 1390 | # Create a spend bundle with a relatively smaller cost. | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 1843 | # Create a bunch of mempool items that spend the coin in different ways | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 1982 | # Create a coin with the identity puzzle hash | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 2394 | # Create a mempool item and keep track of its height added to mempool | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool.py | 3218 | # Create a spend bundle with a high fee, spending sb_A, which supports dedup | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool.py | 3223 | # Create a spend bundle, with a low fee, that spends the dedup coin using the same solution A | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_singleton_fast_forward.py | 279 | # Create a solution for standard transaction | COMMENT |
| MEDIUM | chia/_tests/blockchain/test_block_commitments.py | 255 | # Create a copy | COMMENT |
| MEDIUM | chia/_tests/plotting/test_plot_manager.py | 714 | # Create a directory tree with some subdirectories containing plots, others not. | COMMENT |
| MEDIUM⚡ | chia/_tests/plotting/test_plot_manager.py | 765 | # Create a directory tree with some subdirectories containing plots, others not. | COMMENT |
| MEDIUM⚡ | chia/_tests/plotting/test_plot_manager.py | 770 | # Create a plot directory outside of the root plot directory | COMMENT |
| MEDIUM⚡ | chia/_tests/plotting/test_plot_manager.py | 773 | # Create a symlink to the other plot directory from inside the root plot directory | COMMENT |
| MEDIUM | chia/_tests/wallet/test_coin_management.py | 172 | # Create a cat wallet | STRING |
| MEDIUM | chia/_tests/wallet/db_wallet/test_db_graftroot.py | 40 | # Create the coin we're testing | COMMENT |
| MEDIUM | chia/_tests/wallet/db_wallet/test_db_graftroot.py | 82 | # Create the spend | COMMENT |
| MEDIUM | chia/_tests/wallet/vc_wallet/test_vc_lifecycle.py | 60 | # Create a puzzle that will not pass the initial covenant check | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1019 | # Create a NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1072 | # Create a NFT without DID, this will go the unassigned NFT wallet | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1192 | # Create a NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1339 | # Create a NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1637 | # Create a NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1834 | # Create an NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 2170 | # Create an NFT with DID | COMMENT |
| 54 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/generate_chain.py | 57 | CODE | |
| LOW | tools/manage_clvm.py | 205 | CODE | |
| LOW | tools/manage_clvm.py | 357 | CODE | |
| LOW | tools/chialispp.py | 329 | CODE | |
| LOW | tools/chialispp.py | 91 | CODE | |
| LOW | tools/chialispp.py | 244 | CODE | |
| LOW | tools/analyze_memory_profile.py | 79 | CODE | |
| LOW | tools/analyze_memory_profile.py | 112 | CODE | |
| LOW | tools/cpu_utilization.py | 31 | CODE | |
| LOW | benchmarks/address_manager_store.py | 28 | CODE | |
| LOW | benchmarks/streamable.py | 237 | CODE | |
| LOW | benchmarks/blockchains.py | 34 | CODE | |
| LOW | benchmarks/mempool.py | 82 | CODE | |
| LOW | chia/introducer/introducer.py | 71 | CODE | |
| LOW | chia/consensus/vdf_info_computation.py | 11 | CODE | |
| LOW | chia/consensus/block_height_map.py | 186 | CODE | |
| LOW | chia/consensus/multiprocess_validation.py | 82 | CODE | |
| LOW | chia/consensus/make_sub_epoch_summary.py | 94 | CODE | |
| LOW | chia/consensus/block_rewards.py | 10 | CODE | |
| LOW | chia/consensus/block_rewards.py | 33 | CODE | |
| LOW | chia/consensus/deficit.py | 7 | CODE | |
| LOW | chia/consensus/block_creation.py | 54 | CODE | |
| LOW | chia/consensus/block_creation.py | 287 | CODE | |
| LOW | chia/consensus/blockchain.py | 694 | CODE | |
| LOW | chia/consensus/blockchain.py | 906 | CODE | |
| LOW | chia/consensus/blockchain.py | 1048 | CODE | |
| LOW | chia/consensus/get_block_challenge.py | 53 | CODE | |
| LOW | chia/consensus/difficulty_adjustment.py | 134 | CODE | |
| LOW | chia/consensus/block_header_validation.py | 47 | CODE | |
| LOW | chia/consensus/block_header_validation.py | 848 | CODE | |
| LOW | chia/plot_sync/sender.py | 211 | CODE | |
| LOW | chia/plot_sync/sender.py | 329 | CODE | |
| LOW | chia/ssl/ssl_check.py | 65 | CODE | |
| LOW | chia/ssl/ssl_check.py | 100 | CODE | |
| LOW | chia/ssl/ssl_check.py | 110 | CODE | |
| LOW | chia/pools/pool_config.py | 128 | CODE | |
| LOW | chia/pools/pool_wallet.py | 807 | CODE | |
| LOW | chia/types/blockchain_format/proof_of_space.py | 211 | CODE | |
| LOW | chia/timelord/timelord_launcher.py | 84 | CODE | |
| LOW | chia/timelord/timelord.py | 325 | CODE | |
| LOW | chia/timelord/timelord.py | 404 | CODE | |
| LOW | chia/timelord/timelord.py | 469 | CODE | |
| LOW | chia/timelord/timelord.py | 493 | CODE | |
| LOW | chia/timelord/timelord.py | 565 | CODE | |
| LOW | chia/timelord/timelord.py | 959 | CODE | |
| LOW | chia/timelord/timelord.py | 1138 | CODE | |
| LOW | chia/timelord/timelord.py | 1184 | CODE | |
| LOW | chia/timelord/timelord_state.py | 184 | CODE | |
| LOW | chia/timelord/timelord_state.py | 224 | CODE | |
| LOW | chia/seeder/dns_server.py | 415 | CODE | |
| LOW | chia/seeder/dns_server.py | 503 | CODE | |
| LOW | chia/seeder/crawl_store.py | 186 | CODE | |
| LOW | chia/seeder/crawler.py | 201 | CODE | |
| LOW | chia/util/priority_mutex.py | 61 | CODE | |
| LOW | chia/util/config.py | 107 | CODE | |
| LOW | chia/util/config.py | 303 | CODE | |
| LOW | chia/util/streamable.py | 251 | CODE | |
| LOW | chia/util/streamable.py | 327 | CODE | |
| LOW | chia/util/streamable.py | 576 | CODE | |
| LOW | chia/util/streamable.py | 654 | CODE | |
| 310 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | chia/plot_sync/receiver.py | 341 | self._current_sync.delta.valid.additions.copy(), self._current_sync.delta.valid.removals.copy() | CODE |
| CRITICAL⚡ | chia/plot_sync/receiver.py | 351 | self._invalid = self._current_sync.delta.invalid.additions.copy() | CODE |
| CRITICAL⚡ | chia/plot_sync/receiver.py | 352 | self._keys_missing = self._current_sync.delta.keys_missing.additions.copy() | CODE |
| CRITICAL⚡ | chia/plot_sync/receiver.py | 353 | self._duplicates = self._current_sync.delta.duplicates.additions.copy() | CODE |
| CRITICAL | chia/timelord/timelord_api.py | 85 | f"current rh: {self.timelord.last_state.peak.reward_chain_block.get_hash()}" | CODE |
| CRITICAL | chia/timelord/timelord_api.py | 112 | if self.timelord.last_state.peak.reward_chain_block.get_hash() == new_peak.reward_chain_block.get_hash(): | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 89 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 101 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 117 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 179 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 222 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 265 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 326 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 374 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 460 | and timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 488 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 531 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 628 | and timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 698 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 525 | await self.service.wallet_state_manager.trade_manager.trade_store.get_trade_record( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 530 | await self.service.wallet_state_manager.trade_manager.trade_store.delete_trade_record( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 1854 | await self.service.wallet_state_manager.notification_manager.notification_store.get_notifications( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 1862 | await self.service.wallet_state_manager.notification_manager.notification_store.delete_notifications( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 2245 | all_trades = await self.service.wallet_state_manager.trade_manager.trade_store.get_trades_between( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 2274 | ) = await self.service.wallet_state_manager.trade_manager.trade_store.get_trades_count() | CODE |
| CRITICAL | chia/full_node/full_node_api.py | 1332 | f"{request.end_of_sub_slot_bundle.challenge_chain.challenge_chain_end_of_slot_vdf.challenge.hex()}. " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | benchmarks/mempool-long-lived.py | 0 | this is a subset of blockrecord that the mempool manager uses for peak. | STRING |
| HIGH | benchmarks/mempool.py | 0 | this is a subset of blockrecord that the mempool manager uses for peak. | STRING |
| HIGH | chia/_tests/core/mempool/test_mempool_manager.py | 0 | this is a subset of blockrecord that the mempool manager uses for peak. | STRING |
| HIGH | chia/apis/harvester_stub.py | 0 | non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neve | STRING |
| HIGH | chia/apis/introducer_stub.py | 0 | non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neve | STRING |
| HIGH | chia/apis/solver_stub.py | 0 | non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neve | STRING |
| HIGH | chia/apis/full_node_stub.py | 0 | non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neve | STRING |
| HIGH | chia/apis/wallet_stub.py | 0 | non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neve | STRING |
| HIGH | chia/apis/farmer_stub.py | 0 | non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neve | STRING |
| HIGH | chia/apis/timelord_stub.py | 0 | non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neve | STRING |
| HIGH | chia/harvester/harvester_rpc_client.py | 0 | client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects | STRING |
| HIGH | chia/farmer/farmer_rpc_client.py | 0 | client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects | STRING |
| HIGH | chia/wallet/wallet_rpc_client.py | 0 | client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects | STRING |
| HIGH | chia/full_node/full_node_rpc_client.py | 0 | client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects | STRING |
| HIGH | chia/rpc/rpc_client.py | 0 | client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects | STRING |
| HIGH | chia/_tests/core/data_layer/test_data_store_schema.py | 0 | insert into root(tree_id, generation, node_hash, status) values(:tree_id, :generation, :node_hash, :status) | STRING |
| HIGH | chia/_tests/core/data_layer/test_data_store.py | 0 | insert into root(tree_id, generation, node_hash, status) values(:tree_id, :generation, :node_hash, :status) | STRING |
| HIGH | chia/data_layer/data_store.py | 0 | insert into root(tree_id, generation, node_hash, status) values(:tree_id, :generation, :node_hash, :status) | STRING |
| HIGH | chia/_tests/core/full_node/test_full_node.py | 0 | true when running on macos with an intel cpu (x86_64). used to skip slow test params. | STRING |
| HIGH | chia/_tests/util/test_full_block_utils.py | 0 | true when running on macos with an intel cpu (x86_64). used to skip slow test params. | STRING |
| HIGH | chia/_tests/blockchain/test_blockchain.py | 0 | true when running on macos with an intel cpu (x86_64). used to skip slow test params. | STRING |
| HIGH | chia/data_layer/dl_wallet_store.py | 0 | walletuserstore keeps track of all user created wallets and necessary smart-contract data | STRING |
| HIGH | chia/wallet/wallet_user_store.py | 0 | walletuserstore keeps track of all user created wallets and necessary smart-contract data | STRING |
| HIGH | chia/wallet/vc_wallet/vc_store.py | 0 | walletuserstore keeps track of all user created wallets and necessary smart-contract data | STRING |
| HIGH | chia/data_layer/data_layer_wallet.py | 0 | this must be called under the wallet state manager lock | STRING |
| HIGH | chia/wallet/nft_wallet/nft_wallet.py | 0 | this must be called under the wallet state manager lock | STRING |
| HIGH | chia/wallet/did_wallet/did_wallet.py | 0 | this must be called under the wallet state manager lock | STRING |
| HIGH | chia/wallet/vc_wallet/cr_cat_wallet.py | 0 | notification from wallet state manager that wallet has been received. | STRING |
| HIGH | chia/wallet/nft_wallet/nft_wallet.py | 0 | notification from wallet state manager that wallet has been received. | STRING |
| HIGH | chia/wallet/did_wallet/did_wallet.py | 0 | notification from wallet state manager that wallet has been received. | STRING |
| HIGH | chia/wallet/cat_wallet/cat_wallet.py | 0 | notification from wallet state manager that wallet has been received. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | installhelper.py | 64 | def update_version(package_json_path: str) -> None: | CODE |
| LOW | chia/introducer/introducer.py | 61 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/introducer/introducer_api.py | 37 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/consensus/block_body_validation.py | 91 | def update_fork_peak(self, block: FullBlock, header_hash: bytes32) -> None: | CODE |
| LOW | chia/consensus/block_height_map.py | 144 | def update_height(self, height: uint32, header_hash: bytes32, ses: SubEpochSummary | None) -> None: | CODE |
| LOW | chia/consensus/default_constants.py | 105 | def update_testnet_overrides(network_id: str, overrides: dict[str, Any]) -> None: | CODE |
| LOW | chia/consensus/block_height_map_protocol.py | 11 | def update_height(self, height: uint32, header_hash: bytes32, ses: SubEpochSummary | None) -> None: ... | CODE |
| LOW | chia/plot_sync/sender.py | 148 | def set_connection(self, connection: WSChiaConnection) -> None: | CODE |
| LOW | chia/pools/pool_wallet.py | 231 | async def update_pool_config(self, action_scope: WalletActionScope) -> None: | CODE |
| LOW | chia/apis/__init__.py | 12 | __all__ = [ | CODE |
| LOW | chia/types/blockchain_format/classgroup.py | 5 | __all__ = ["ClassgroupElement"] | CODE |
| LOW | chia/types/blockchain_format/vdf.py | 17 | __all__ = ["VDFInfo", "VDFProof"] | CODE |
| LOW | chia/types/blockchain_format/coin.py | 9 | __all__ = ["Coin", "coin_as_list", "hash_coin_ids"] | CODE |
| LOW⚡ | chia/timelord/timelord_api.py | 45 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW⚡ | chia/timelord/timelord.py | 220 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW⚡ | chia/timelord/timelord.py | 227 | def set_server(self, server: ChiaServer) -> None: | CODE |
| LOW | chia/timelord/timelord_state.py | 51 | def set_state(self, state: timelord_protocol.NewPeakTimelord | EndOfSubSlotBundle) -> None: | CODE |
| LOW | chia/seeder/crawl_store.py | 167 | async def update_best_timestamp(self, host: str, timestamp: uint64) -> None: | CODE |
| LOW | chia/seeder/crawl_store.py | 360 | async def update_version(self, host: str, version: str, timestamp_now: uint64) -> None: | CODE |
| LOW | chia/seeder/crawler.py | 118 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/seeder/crawler.py | 322 | def set_server(self, server: ChiaServer) -> None: | CODE |
| LOW | chia/seeder/peer_record.py | 28 | def update_version(self, version: str, now: uint64) -> None: | CODE |
| LOW | chia/util/task_referencer.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | chia/util/file_keyring.py | 327 | def set_key(self, service: str, user: str, key: Key) -> None: | CODE |
| LOW | chia/util/file_keyring.py | 360 | def set_label(self, fingerprint: int, label: str) -> None: | CODE |
| LOW | chia/util/file_keyring.py | 464 | def set_passphrase_hint(self, passphrase_hint: str | None) -> None: | CODE |
| LOW⚡ | chia/util/keychain.py | 626 | def set_cached_master_passphrase(passphrase: str | None) -> None: | CODE |
| LOW⚡ | chia/util/keychain.py | 668 | def set_master_passphrase_hint(current_passphrase: str, passphrase_hint: str | None) -> None: | CODE |
| LOW | chia/util/keychain.py | 54 | def set_keys_root_path(keys_root_path: Path) -> None: | CODE |
| LOW | chia/util/keychain.py | 411 | def set_label(self, fingerprint: int, label: str) -> None: | CODE |
| LOW | chia/util/keyring_wrapper.py | 169 | def set_keys_root_path(keys_root_path: Path) -> None: | CODE |
| LOW⚡ | chia/util/keyring_wrapper.py | 213 | def set_cached_master_passphrase(self, passphrase: str | None, validated: bool = False) -> None: | CODE |
| LOW | chia/util/db_version.py | 23 | async def set_db_version_async(db: aiosqlite.Connection, version: int) -> None: | CODE |
| LOW | chia/util/db_version.py | 29 | def set_db_version(db: sqlite3.Connection, version: int) -> None: | CODE |
| LOW | chia/util/action_scope.py | 164 | def set_callback(self, new_callback: Callable[[StateInterface[_T_SideEffects]], Awaitable[None]] | None) -> None: | CODE |
| LOW | chia/harvester/harvester.py | 157 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/harvester/harvester.py | 279 | def set_server(self, server: ChiaServer) -> None: | CODE |
| LOW⚡ | chia/farmer/farmer.py | 283 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/farmer/farmer.py | 319 | def set_server(self, server: ChiaServer) -> None: | CODE |
| LOW | chia/farmer/farmer.py | 544 | async def update_pool_state(self) -> None: | CODE |
| LOW | chia/farmer/farmer.py | 728 | def set_reward_targets(self, farmer_target_encoded: str | None, pool_target_encoded: str | None) -> None: | CODE |
| LOW | chia/farmer/farmer.py | 740 | async def set_payout_instructions(self, launcher_id: bytes32, payout_instructions: str) -> None: | CODE |
| LOW | chia/_tests/core/full_node/test_full_node.py | 3257 | async def update_wallets(self, wallet_update: WalletUpdate) -> None: | CODE |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 2443 | def update_lineage(self, puzzle_hash: bytes32, coin: Coin | None) -> None: | CODE |
| LOW | chia/_tests/util/constants.py | 5 | __all__ = ["test_constants"] | CODE |
| LOW | chia/_tests/util/full_sync.py | 78 | def set_received_message_callback(self, callback: ConnectionCallback) -> None: | CODE |
| LOW⚡ | chia/cmds/keys_funcs.py | 121 | def set_key_label(fingerprint: int, label: str) -> None: | CODE |
| LOW | chia/cmds/passphrase_funcs.py | 257 | def set_passphrase_hint(hint: str) -> None: | CODE |
| LOW | chia/cmds/beta_funcs.py | 92 | def update_beta_config(enabled: bool, path: Path, metrics_log_interval: int, config: dict[str, Any]) -> None: | CODE |
| LOW | chia/cmds/keys.py | 140 | def set_label_cmd(fingerprint: int, label: str) -> None: | CODE |
| LOW | chia/cmds/sim_funcs.py | 502 | async def set_auto_farm(rpc_port: int | None, root_path: Path, set_autofarm: bool) -> None: | CODE |
| LOW | chia/cmds/passphrase.py | 120 | def set_hint(hint: str) -> None: | CODE |
| LOW | chia/cmds/data.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | chia/cmds/wallet.py | 485 | def update_derivation_index_cmd(ctx: click.Context, wallet_rpc_port: int | None, fingerprint: int, index: int) -> None: | CODE |
| LOW⚡ | chia/server/server.py | 242 | def set_received_message_callback(self, callback: ConnectionCallback) -> None: | CODE |
| LOW | chia/server/server.py | 810 | def set_capabilities(self, capabilities: list[tuple[uint16, str]]) -> None: | CODE |
| LOW⚡ | chia/server/address_manager.py | 368 | def _set_new_matrix(self, row: int, col: int, value: int) -> None: | CODE |
| LOW⚡ | chia/server/address_manager.py | 377 | def _set_tried_matrix(self, row: int, col: int, value: int) -> None: | CODE |
| LOW | chia/server/chia_policy.py | 376 | def set_chia_policy(connection_limit: int) -> None: | CODE |
| LOW | chia/server/node_discovery.py | 142 | async def update_peer_timestamp_on_message(self, peer: WSChiaConnection) -> None: | CODE |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chia/consensus/block_creation.py | 516 | CODE | |
| LOW | chia/seeder/crawler_rpc_api.py | 60 | CODE | |
| LOW | chia/seeder/peer_record.py | 59 | CODE | |
| LOW | chia/util/file_keyring.py | 60 | CODE | |
| LOW | chia/util/network.py | 44 | CODE | |
| LOW | chia/util/ws_message.py | 66 | CODE | |
| LOW | chia/util/db_wrapper.py | 202 | CODE | |
| LOW | chia/util/db_wrapper.py | 259 | CODE | |
| LOW | chia/harvester/harvester_rpc_client.py | 27 | CODE | |
| LOW | chia/harvester/harvester_rpc_client.py | 33 | CODE | |
| LOW | chia/harvester/harvester_rpc_client.py | 39 | CODE | |
| LOW | chia/harvester/harvester_rpc_client.py | 45 | CODE | |
| LOW | chia/harvester/harvester_rpc_client.py | 54 | CODE | |
| LOW | chia/harvester/harvester.py | 245 | CODE | |
| LOW | chia/_tests/core/util/test_block_cache.py | 24 | CODE | |
| LOW | chia/_tests/core/data_layer/test_data_rpc.py | 2566 | CODE | |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 331 | CODE | |
| LOW | chia/_tests/util/blockchain.py | 41 | CODE | |
| LOW | chia/_tests/cmds/wallet/test_did.py | 197 | CODE | |
| LOW | chia/_tests/blockchain/test_augmented_chain.py | 101 | CODE | |
| LOW | chia/_tests/blockchain/test_lookup_fork_chain.py | 75 | CODE | |
| LOW | chia/_tests/blockchain/test_build_chains.py | 93 | CODE | |
| LOW | chia/server/address_manager.py | 79 | CODE | |
| LOW | chia/server/chia_policy.py | 204 | CODE | |
| LOW | chia/daemon/server.py | 137 | CODE | |
| LOW | chia/daemon/server.py | 1551 | CODE | |
| LOW | chia/daemon/server.py | 1608 | CODE | |
| LOW | chia/daemon/server.py | 645 | CODE | |
| LOW | chia/daemon/server.py | 649 | CODE | |
| LOW | chia/daemon/server.py | 1225 | CODE | |
| LOW | chia/daemon/server.py | 1311 | CODE | |
| LOW | chia/daemon/server.py | 1317 | CODE | |
| LOW | chia/daemon/client.py | 110 | CODE | |
| LOW | chia/daemon/client.py | 116 | CODE | |
| LOW | chia/daemon/client.py | 122 | CODE | |
| LOW | chia/daemon/client.py | 128 | CODE | |
| LOW | chia/daemon/client.py | 150 | CODE | |
| LOW | chia/daemon/client.py | 155 | CODE | |
| LOW | chia/daemon/client.py | 171 | CODE | |
| LOW | chia/simulator/setup_services.py | 99 | CODE | |
| LOW | chia/simulator/block_tools.py | 2346 | CODE | |
| LOW | chia/simulator/block_tools.py | 824 | CODE | |
| LOW | chia/plotting/util.py | 153 | CODE | |
| LOW | chia/data_layer/data_layer_server.py | 103 | CODE | |
| LOW | chia/data_layer/data_layer_server.py | 118 | CODE | |
| LOW | chia/data_layer/data_layer_util.py | 943 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 16 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 21 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 28 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 42 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 55 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 59 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 63 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 76 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 89 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 93 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 97 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 101 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 105 | CODE | |
| LOW | chia/data_layer/data_layer_rpc_client.py | 109 | CODE | |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chia/consensus/mmr.py | 33 | # Check if x is "all ones" (1, 3, 7, 15...) -> Peak of perfect binary tree | COMMENT |
| LOW | chia/consensus/blockchain_mmr.py | 158 | # Check if prev is finalized relative to new block: | COMMENT |
| LOW | chia/util/virtual_project_analysis.py | 263 | # Check if the file is a Python file and not in the excluded paths | COMMENT |
| LOW | chia/util/virtual_project_analysis.py | 265 | # Check if the file is non-empty | COMMENT |
| LOW | chia/_tests/tools/test_virtual_project.py | 520 | # Check if the command ran successfully | COMMENT |
| LOW | chia/_tests/core/full_node/test_hard_fork_utils.py | 72 | # Set HARD_FORK2_HEIGHT to be close to block height but leave room for transition | COMMENT |
| LOW | chia/_tests/core/full_node/test_full_node.py | 4350 | # Set limit to 0 to trigger queue full exception | COMMENT |
| LOW | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1501 | # Check if the NFT owner DID is reset | COMMENT |
| LOW | chia/_tests/wallet/did_wallet/test_did.py | 690 | # Check if the DID wallet is created in the wallet2 | COMMENT |
| LOW | chia/_tests/wallet/did_wallet/test_did.py | 1279 | # Check if the DID wallet is created in the wallet2 | COMMENT |
| LOW | chia/_tests/wallet/cat_wallet/test_trades.py | 668 | # Check if unused index changed | COMMENT |
| LOW | chia/_tests/wallet/cat_wallet/test_trades.py | 1007 | # Check if unused index changed | COMMENT |
| LOW⚡ | chia/server/node_discovery.py | 443 | # Check if the peer is having the default port of a network different than ours. | COMMENT |
| LOW⚡ | chia/server/node_discovery.py | 449 | # Check if we got the peers from a full node or from the introducer. | COMMENT |
| LOW | chia/daemon/server.py | 1328 | # Check if we have a connection to the requested service. This might be the | COMMENT |
| LOW | chia/plotting/create_plots.py | 212 | # Check if args.memo is of type bytes and convert it to a string if so | COMMENT |
| LOW | chia/plotting/create_plots.py | 221 | # Check if args.memo is of type bytes and convert it to a string if so | COMMENT |
| LOW⚡ | chia/wallet/wallet_state_manager.py | 972 | # Check if the coin is clawback | COMMENT |
| LOW⚡ | chia/wallet/wallet_state_manager.py | 977 | # Check if the coin is a VC | COMMENT |
| LOW⚡ | chia/wallet/wallet_state_manager.py | 983 | # Check if the coin is a PlotNFT | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 926 | # Check if the coin is a CAT | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 949 | # Check if the coin is a NFT | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 957 | # Check if the coin is a DID | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1264 | # Check if it is a special type of CAT | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1296 | # Check if we already have a wallet | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1397 | # Check if it was owned by us | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1508 | # Check if the NFT is a bulk minting | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1650 | # Check if the wallet is the sender | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1654 | # Check if the wallet is the recipient | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 2001 | # Check if the parent coin is a Clawback coin | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 2165 | # Check if a child is a singleton launcher | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 3258 | # Check if the metadata is updated | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 3359 | # Check if we have the DID wallet | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 3379 | # Check if the old wallet has the inner puzzle | COMMENT |
| LOW⚡ | chia/wallet/wallet_node.py | 1451 | # Set blockchain to the latest peak | COMMENT |
| LOW | chia/wallet/wallet_node.py | 1251 | # Check if any coin needs auto spending | COMMENT |
| LOW | chia/wallet/wallet_rpc_api.py | 2417 | # Check if we have a DID wallet for this | COMMENT |
| LOW | chia/wallet/vc_wallet/vc_wallet.py | 166 | # Check if we own the DID | COMMENT |
| LOW | chia/wallet/vc_wallet/vc_wallet.py | 358 | # Check if we own the DID | COMMENT |
| LOW | chia/wallet/nft_wallet/nft_wallet.py | 288 | # Check if the wallet owns the DID | COMMENT |
| LOW | chia/wallet/puzzles/clawback/drivers.py | 143 | # Check if the inner puzzle is a P2 puzzle | COMMENT |
| LOW | chia/wallet/puzzles/clawback/drivers.py | 173 | # Check if the inner puzzle matches the coin puzzle hash | COMMENT |
| LOW | chia/full_node/full_node_api.py | 2044 | # Check if the request would exceed the subscription limit now. | COMMENT |
| LOW | chia/full_node/full_node_api.py | 2085 | # Check if the request would exceed the subscription limit. | COMMENT |
| LOW | chia/full_node/full_node_api.py | 2125 | # Check if the request would exceed the subscription limit now. | COMMENT |
| LOW | chia/full_node/full_node_api.py | 2148 | # Check if the request would exceed the subscription limit. | COMMENT |
| LOW | chia/full_node/mempool_manager.py | 252 | # Check if this is an item that spends an older ff singleton | COMMENT |
| LOW | chia/rpc/rpc_server.py | 399 | # Set success to true automatically (unless it's already set) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .markdown-lint.yml | 1 | --- | COMMENT |
| LOW | tools/chialispp.py | 281 | else: | COMMENT |
| LOW | build_scripts/build_macos-2-installer.sh | 121 | # xcrun notarytool submit --wait --apple-id username --password password --team-id team-id Chia-0.1.X.dmg | COMMENT |
| LOW | build_scripts/assets/deb/postinst.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/actionlint.yaml | 1 | self-hosted-runner: | COMMENT |
| LOW | .github/workflows/codeql-analysis.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | .github/workflows/test.yml | 241 | # with: | COMMENT |
| LOW | .github/workflows/super-linter.yml | 1 | --- | COMMENT |
| LOW | chia/consensus/block_body_validation.py | 61 | @dataclass | COMMENT |
| LOW | chia/consensus/blockchain.py | 1061 | # peak -> * | : reorg_chain | COMMENT |
| LOW | chia/types/generator_types.py | 21 | COMMENT | |
| LOW | chia/types/blockchain_format/program.py | 161 | # Replicates the curry function from clvm_tools, taking advantage of *args | COMMENT |
| LOW | chia/util/initial-config.yaml | 301 | full_node: | COMMENT |
| LOW | chia/util/initial-config.yaml | 321 | # it, then run it to compute its cost. The final block may not use all | COMMENT |
| LOW | chia/util/initial-config.yaml | 401 | # Only connect to peers who we have heard about in the last recent_peer_threshold seconds | COMMENT |
| LOW | chia/util/initial-config.yaml | 621 | COMMENT | |
| LOW | chia/util/errors.py | 181 | EPHEMERAL_RELATIVE_CONDITION = 141 | COMMENT |
| LOW | chia/util/task_timing.py | 21 | # CHIA_INSTRUMENT_DATA_LAYER=1 | COMMENT |
| LOW | chia/util/task_timing.py | 101 | # f_builtins | COMMENT |
| LOW | chia/util/bech32m.py | 1 | # Package: utils | COMMENT |
| LOW | chia/util/db_wrapper.py | 321 | # SAVEPOINTs. An orphan SAVEPOINT (created but never released) causes | COMMENT |
| LOW | chia/_tests/core/test_merkle_set.py | 181 | # this tree looks like this: | COMMENT |
| LOW | chia/_tests/core/test_merkle_set.py | 221 | assert merkle_set.get_root() == bytes32(compute_merkle_set_root(list(vals))) | COMMENT |
| LOW | chia/_tests/core/test_merkle_set.py | 261 | assert merkle_set.get_root() == expected | COMMENT |
| LOW | chia/_tests/core/data_layer/test_data_store.py | 1641 | @pytest.mark.anyio | COMMENT |
| LOW | …a/_tests/core/full_node/stores/test_full_node_store.py | 661 | # continue | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 501 | (make_test_conds(before_height_absolute=100), expect(before_height=100)), | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 521 | # 10100 is more restrictive than 20000 | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 1001 | ([mk_item(coins[0:1])], mk_item(coins[0:1]), False), | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 3261 | # (defun loop (n) | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool.py | 1921 | COMMENT | |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2621 | # (iter (c (q . 83) (c (concat (large_string 0x00 A) (q . 100)) ())) B) | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2641 | COMMENT | |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2661 | # (iter (large_string 0x00 A) B) | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2681 | # (defun iter (V N) | COMMENT |
| LOW | chia/_tests/generator/test_generator_types.py | 41 | # gen_args_as_program = Program.from_bytes(bytes(gen_args)) | COMMENT |
| LOW | chia/_tests/blockchain/test_blockchain.py | 821 | # --- a/chia/consensus/multiprocess_validation.py | COMMENT |
| LOW | chia/_tests/blockchain/test_blockchain.py | 2881 | ) | COMMENT |
| LOW | chia/_tests/blockchain/test_blockchain.py | 2901 | # bt_2.constants = bt_2.constants.replace( | COMMENT |
| LOW | chia/_tests/blockchain/test_blockchain.py | 2921 | # tx = wt.generate_signed_transaction_multiple_coins( | COMMENT |
| LOW | chia/_tests/blockchain/test_blockchain.py | 4281 | blocks_1 = default_10000_blocks | COMMENT |
| LOW | chia/_tests/wallet/rpc/test_wallet_rpc.py | 3201 | # $ chia keys generate | COMMENT |
| LOW | chia/_tests/wallet/cat_wallet/test_trades.py | 1701 | ) as action_scope: | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer.py | 41 | COMMENT | |
| LOW | chia/wallet/puzzles/singleton_top_layer.py | 61 | # `------------' `-------------------------------' | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer.py | 81 | # | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer.py | 101 | # | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer.py | 121 | # PH = None | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer.py | 141 | # solution_for_singleton(L, amount, AI) | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer.py | 161 | # | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer_v1_1.py | 41 | # | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer_v1_1.py | 61 | # | > The Eve coin | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer_v1_1.py | 81 | # its own purpose. Adaptations of the program I and its descendants are | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer_v1_1.py | 101 | # Coin(Launcher.name(), puzzle_for_singleton(Launcher.name(), I), amount) | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer_v1_1.py | 121 | # - Note: the Eve singleton's .parent_coin_info should match Launcher here. | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer_v1_1.py | 141 | # truths. | COMMENT |
| LOW | chia/wallet/puzzles/singleton_top_layer_v1_1.py | 161 | # | COMMENT |
| LOW | chia/full_node/full_node.py | 1261 | # the timestamp of when the next request_block message is allowed to | COMMENT |
| LOW | chia/full_node/full_node_store.py | 121 | constants: ConsensusConstants | COMMENT |
| LOW | chia/full_node/full_node_store.py | 141 | # it's not a transaction block, or it's a block we learned about via the old | COMMENT |
| 1 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | chia/consensus/mmr.py | 13 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | chia/consensus/mmr.py | 15 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | chia/consensus/mmr.py | 88 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM | chia/consensus/mmr.py | 90 | # ------------------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …ts/core/full_node/test_full_node_api_rate_hardening.py | 148 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ts/core/full_node/test_full_node_api_rate_hardening.py | 150 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ts/core/full_node/test_full_node_api_rate_hardening.py | 109 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ts/core/full_node/test_full_node_api_rate_hardening.py | 111 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ts/core/full_node/test_full_node_api_rate_hardening.py | 207 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ts/core/full_node/test_full_node_api_rate_hardening.py | 209 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | chia/simulator/ssl_certs.py | 18 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | chia/simulator/ssl_certs.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | chia/simulator/ssl_certs.py | 63 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | chia/simulator/ssl_certs.py | 65 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | chia/simulator/ssl_certs.py | 80 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | chia/simulator/ssl_certs.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chia/consensus/blockchain.py | 563 | # in the common case, we just add a block on top of the chain. Check | COMMENT |
| LOW | chia/seeder/dns_server.py | 434 | # If this doesn't throw, we can just add to the list | COMMENT |
| MEDIUM⚡ | chia/util/files.py | 32 | # If that fails, use the more robust shutil.move(), though it may internally initiate a copy | COMMENT |
| LOW | chia/util/network.py | 189 | selected_port = addresses[0][1] # no matches, just use the first one in the list | CODE |
| LOW | chia/util/db_wrapper.py | 450 | # just use the existing transaction | COMMENT |
| LOW | chia/_tests/clvm/test_restrictions.py | 55 | # Attempt to just use any old dpuz | COMMENT |
| LOW | chia/_tests/clvm/test_restrictions.py | 109 | # Attempt to just use any old dpuz | COMMENT |
| LOW⚡ | chia/_tests/core/util/test_keyring_wrapper.py | 351 | # Expect: to retrieve the passphrase hint that was just set | COMMENT |
| LOW⚡ | chia/_tests/core/util/test_keyring_wrapper.py | 369 | # Expect: to retrieve the passphrase hint that was just set | COMMENT |
| LOW⚡ | chia/_tests/core/util/test_keyring_wrapper.py | 390 | # Expect: to retrieve the passphrase hint that was just set | COMMENT |
| LOW⚡ | chia/_tests/core/util/test_keyring_wrapper.py | 398 | # Expect: to retrieve the passphrase hint that was just set | COMMENT |
| LOW | chia/_tests/core/data_layer/test_data_rpc.py | 3881 | # ignore and just return empty response | COMMENT |
| MEDIUM | chia/_tests/util/time_out_assert.py | 161 | # TODO: rework to leverage time_out_assert_custom_interval() such as by allowing | COMMENT |
| MEDIUM | chia/_tests/cmds/test_cmd_framework.py | 55 | # We hack this in because more robust solutions are harder and probably not worth it | COMMENT |
| LOW | chia/_tests/blockchain/test_augmented_chain.py | 116 | # before adding anything to the augmented blockchain, make sure we just pass | COMMENT |
| LOW | chia/_tests/wallet/sync/test_wallet_sync.py | 1578 | # This can just return None if we have `none_response` enabled. | COMMENT |
| MEDIUM | chia/cmds/passphrase_funcs.py | 111 | # We'll rely on Keyring initialization to leverage the cached passphrase for | COMMENT |
| LOW | chia/server/server.py | 739 | return None # server doesn't have a local port, just return None here | CODE |
| LOW | chia/server/signal_handlers.py | 115 | # This is a bit vague so let's just use a thread safe call for Windows | COMMENT |
| LOW⚡ | chia/data_layer/data_layer.py | 1014 | # don't actually subscribe, just add to the list | COMMENT |
| LOW | chia/wallet/puzzles/custody/custody_architecture.py | 138 | # so we just return the branch as is | COMMENT |
| LOW | chia/wallet/cat_wallet/cat_utils.py | 22 | ANYONE_CAN_SPEND_PUZZLE = Program.to(1) # simply return the conditions | CODE |
| LOW | chia/full_node/full_node_api.py | 263 | # If there's current pending request just add this peer to the set of peers that have this tx | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | chia/consensus/challenge_tree.py | 119 | Each merkle leaf contains: hash(challenge_hash || block_count) | STRING |
| HIGH | chia/_tests/blockchain/test_augmented_chain.py | 114 | abc = AugmentedBlockchain(null) | CODE |
| HIGH⚡ | chia/wallet/wallet_protocol.py | 55 | # require_derivation_paths() return true | COMMENT |
| HIGH | chia/full_node/mempool_manager.py | 189 | and will make this function return false | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | chia/plot_sync/sender.py | 174 | # TODO: switch to event driven code | COMMENT |
| MEDIUM | chia/seeder/dns_server.py | 91 | # TODO: switch to event driven code | COMMENT |
| MEDIUM⚡ | chia/farmer/farmer.py | 292 | # TODO: switch to event driven code | COMMENT |
| MEDIUM | chia/_tests/core/server/flood.py | 60 | # TODO: switch to event driven code | COMMENT |
| MEDIUM | chia/_tests/core/server/serve.py | 82 | # TODO: switch to event driven code | COMMENT |
| MEDIUM | chia/_tests/core/server/serve.py | 100 | # TODO: switch to event driven code | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chia/consensus/blockchain.py | 448 | # make sure to update _peak_height after the transaction is committed, | COMMENT |
| MEDIUM | chia/util/initial-config.yaml | 693 | # If you need use a proxy for download data you can use this setting sample | COMMENT |
| LOW | chia/_tests/conftest.py | 586 | # If you add another test chain, don't forget to also add a "build_test_chains" | COMMENT |
| LOW | chia/_tests/conftest.py | 586 | # If you add another test chain, don't forget to also add a "build_test_chains" | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_cmdline.py | 580 | # Here you can use None as the wallet_id and the code will pick the only pool wallet automatically | COMMENT |
| LOW | chia/_tests/util/test_network_protocol_test.py | 45 | # if these asserts fail, make sure to add the new network protocol messages | COMMENT |
| LOW | chia/_tests/util/test_network_protocol_test.py | 231 | # if these asserts fail, make sure to add the new network protocol messages | COMMENT |
| LOW | chia/wallet/wallet_node_api.py | 57 | # For trusted peers check if there are untrusted peers, if so make sure to disconnect them if the trusted node | COMMENT |
| LOW | chia/full_node/full_node.py | 2281 | # We need to make sure to always call this method even when we get a cancel exception, to make sure | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | chia/full_node/eligible_coin_spends.py | 61 | Performs a singleton fast forward, including the updating of all previous additions to point to the most recent | STRING |
| HIGH | chia/full_node/eligible_coin_spends.py | 121 | Checks all coin spends of a mempool item for deduplication eligibility and provides the caller with the | STRING |
| HIGH | chia/full_node/eligible_coin_spends.py | 177 | Provides the caller with a map that has a proper state of fast forwarded coin spends and additions star | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chia/_tests/wallet/nft_wallet/test_nft_lifecycle.py | 42 | # TODO: Add test for updateable | COMMENT |
| LOW | chia/data_layer/data_store.py | 236 | # TODO: consider adding transactions around this code | STRING |
| LOW | chia/data_layer/data_layer_util.py | 151 | # TODO: implement for internal nodes. currently this prints only terminal nodes | COMMENT |