Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
This report summarizes scanner evidence for Chia-Network/chia-blockchain, a Python project with 10,789 GitHub stars. SynthScan examined 328,926 lines of code across 1147 source files, recording 4854 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 17.6 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3268 finding(s).
Are imports declared and package/API names verified? 987 finding(s).
Are wrappers, guards, and repeated structures necessary? 3240 finding(s).
Which changes need focused human review? 4854 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4854 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| 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 | .github/scripts/malware_verdict_patterns_regex.py | 98 | def orphan_trailing_bold_span(text: str, match: re.Match) -> tuple[int, int] | None: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_regex.py | 129 | def _consume_evidence_trailer_token(tail: str) -> int | None: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_regex.py | 139 | def remainder_is_line_start_trailer_only(remainder: str) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_formatter.py | 25 | def format_malware_review_verdict(text: str) -> str: | CODE |
| LOW | .github/scripts/scripts_dir_path_scrub.py | 22 | def _paired_chicken_egg_import_disk_exec(script_dir: Path) -> types.ModuleType: | CODE |
| LOW | .github/scripts/scripts_dir_path_scrub.py | 41 | def load_scrub_from_disk_under_dash_i(script_dir: Path) -> types.ModuleType: | CODE |
| LOW | .github/scripts/scripts_dir_path_scrub.py | 100 | def bootstrap_module_from_scripts_dir( | CODE |
| LOW | .github/scripts/dependency-cursor-review-target-pr.js | 45 | function commitsAreVerifiedDependabot(commits) { | CODE |
| LOW | .github/scripts/dependency-cursor-review-target-pr.js | 92 | async function dependabotReviewAlreadyPosted({ github, context, core, pr, marker }) { | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_select.py | 28 | def _rule_later_glued_benign_over_earlier_label_glued_malicious( | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 43 | def _rule_later_benign_never_beats(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 47 | def _rule_later_malicious_trailer_evidence(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 51 | def _rule_later_standalone_malicious_vs_earlier_trailer( | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 60 | def _rule_later_standalone_bold_or_beats_earlier_standalone( | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 79 | def _rule_later_formatted_glued_malicious(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 83 | def _rule_later_plain_glued_malicious_not_line_start(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 88 | def _rule_later_line_start_because_headline(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 160 | def _yield_gate_trailer_glued(analysis: FormatterPolicyView, chosen: int) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 164 | def _yield_gate_standalone_benign_colon(analysis: FormatterPolicyView, chosen: int) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_policy_rules_select.py | 168 | def _yield_rival_requires_colon_glued(analysis: FormatterPolicyView, chosen: int, rival: int) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_select.py | 186 | def _active_yield_expand_rules(analysis: FormatterPolicyView, chosen: int) -> list[_YieldExpandRule]: | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_select.py | 190 | def _yield_glued_rivals_for_line_start_choice(analysis: FormatterPolicyView, chosen: int) -> list[int]: | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_select.py | 211 | def _pool_line_start_officials(analysis: FormatterPolicyView) -> list[int]: | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_select.py | 263 | def official_select_phase_names() -> tuple[str, ...]: | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_select.py | 271 | def later_beats_earlier_rule_names() -> tuple[str, ...]: | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_strip.py | 45 | def _span_official_same_line_bridge( | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_strip.py | 55 | def _span_line_start_partial_through_verdict( | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_strip.py | 83 | def _span_partial_or_full_trailer( | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_strip.py | 108 | def _span_losing_contradiction_bridge( | CODE |
| LOW | .github/scripts/malware_verdict_policy_rules_strip.py | 163 | def _same_match_official_bridge(view: FormatterPolicyView, i: int, official_i: int | None) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_policy_view.py | 42 | def build_mentions_from_matches(text: str, matches: list) -> tuple[VerdictMention, ...]: | CODE |
| LOW | .github/scripts/malware_verdict_policy_view.py | 55 | def build_formatter_policy_view(text: str, matches: list[re.Match]) -> FormatterPolicyView: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 180 | def is_line_start_because_headline(text: str, match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 184 | def line_start_sentence_bridge_end(text: str, match_end: int, line_end_pos: int) -> int | None: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 192 | def is_same_line_eg_ie_format_example(text: str, match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 235 | def _format_example_from_eg_ie(_ctx: FormatContext, text: str, match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 239 | def _format_example_from_preceding_heading(ctx: FormatContext, _text: str, _match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 243 | def _format_example_from_prompt_heading(ctx: FormatContext, _text: str, _match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 247 | def _format_example_from_preceding_or(ctx: FormatContext, _text: str, _match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 251 | def _format_example_from_following_or_chain(ctx: FormatContext, _text: str, _match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 260 | def _format_example_from_or_prefix_on_line(ctx: FormatContext, _text: str, _match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 279 | def line_start_trailer_remainder(text: str, match: re.Match) -> str: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 283 | def line_start_has_sentence_trailer(text: str, match: re.Match) -> bool: | CODE |
| LOW⚡ | .github/scripts/malware_verdict_patterns_structure.py | 293 | def has_line_start_trailer_evidence(text: str, match: re.Match) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_structure.py | 43 | def line_remainder_after_verdict(text: str, match: re.Match) -> str: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_structure.py | 81 | def _is_numbered_list_glue_anchor(text: str, anchor_pos: int, line_start: int) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_structure.py | 100 | def _glued_with_terminal_remainder(text: str, match: re.Match) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_structure.py | 145 | def is_standalone_verdict_line(text: str, match: re.Match) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_structure.py | 150 | def has_line_start_reasoning_continuation(text: str, match: re.Match) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_structure.py | 162 | def is_line_start_official_with_trailer(text: str, match: re.Match) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_structure.py | 166 | def classify_line_start_reasoning_headline(text: str, match: re.Match) -> str | None: | CODE |
| LOW | .github/scripts/malware_verdict_patterns_structure.py | 203 | def is_bold_standalone_verdict_line(text: str, match: re.Match) -> bool: | CODE |
| LOW | .github/scripts/malware_verdict_policy_context.py | 42 | def _plain_glued_demotes_because(text: str, mentions: list[VerdictMention], because_i: int, glued_i: int) -> bool: | CODE |
| 2493 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/generate_wallet_rpc_client_stub.py | 2 | 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 | .github/scripts/malware_verdict_patterns_regex.py | 3 | CODE | |
| LOW | .github/scripts/malware_verdict_formatter.py | 7 | CODE | |
| LOW | .github/scripts/malware_verdict_formatter.py | 12 | CODE | |
| LOW | .github/scripts/malware_verdict_formatter.py | 15 | CODE | |
| LOW | .github/scripts/dependency_cursor_review_prompts.py | 3 | CODE | |
| LOW | .github/scripts/scripts_dir_path_scrub.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 3 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 9 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| LOW | .github/scripts/malware_verdict_patterns.py | 32 | CODE | |
| 893 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/cpu_utilization.py | 63 | except psutil.NoSuchProcess: | CODE |
| HIGH | tools/cpu_utilization.py | 65 | except KeyboardInterrupt: | CODE |
| HIGH | tools/cpu_utilization.py | 50 | except Exception: | CODE |
| HIGH | tools/cpu_utilization.py | 58 | except Exception: | CODE |
| HIGH | benchmarks/utils.py | 18 | except FileNotFoundError: | CODE |
| HIGH | chia/__init__.py | 18 | except AssertionError: | CODE |
| HIGH | chia/consensus/blockchain.py | 487 | except KeyError: | CODE |
| HIGH | chia/ssl/ssl_check.py | 86 | except (FileNotFoundError, ValueError): | CODE |
| HIGH | chia/ssl/ssl_check.py | 121 | except FileNotFoundError: | CODE |
| HIGH | chia/timelord/timelord_launcher.py | 36 | except ValueError: | CODE |
| HIGH | chia/timelord/timelord_launcher.py | 54 | except (ProcessLookupError, AttributeError): | CODE |
| HIGH | chia/seeder/dns_server.py | 73 | except asyncio.CancelledError: # we dont care | CODE |
| HIGH | chia/seeder/dns_server.py | 449 | except ValueError: | CODE |
| HIGH | chia/seeder/crawl_store.py | 61 | except aiosqlite.OperationalError: | CODE |
| HIGH | chia/util/streamable.py | 639 | except dataclasses.FrozenInstanceError: | CODE |
| HIGH | chia/util/streamable.py | 661 | except KeyError: | CODE |
| HIGH | chia/util/chia_version.py | 19 | except InvalidVersion: | CODE |
| HIGH | chia/util/async_pool.py | 222 | except asyncio.CancelledError: | CODE |
| HIGH | chia/util/file_keyring.py | 295 | except FileNotFoundError: | CODE |
| HIGH | chia/util/keychain.py | 431 | except KeychainUserNotFound: | CODE |
| HIGH | chia/util/keychain.py | 518 | except KeychainUserNotFound: | CODE |
| HIGH | chia/util/keychain.py | 510 | except (KeychainException, NotImplementedError): | CODE |
| HIGH | chia/util/keychain.py | 516 | except Exception: | CODE |
| HIGH | chia/util/network.py | 155 | except ValueError: | CODE |
| HIGH | chia/util/task_timing.py | 266 | except Exception: | CODE |
| HIGH | chia/util/task_pipeline.py | 127 | except asyncio.QueueFull: | CODE |
| HIGH | chia/util/task_pipeline.py | 181 | except asyncio.QueueFull: | CODE |
| HIGH | chia/util/task_pipeline.py | 202 | except asyncio.QueueEmpty: | CODE |
| HIGH | chia/_tests/process_junit.py | 224 | except StatisticsError: | CODE |
| HIGH | chia/_tests/process_junit.py | 301 | except StatisticsError: | CODE |
| HIGH | chia/_tests/plot_sync/test_plot_sync.py | 144 | except ValueError: | CODE |
| HIGH | chia/_tests/pools/test_wallet_pool_store.py | 94 | except Exception: | CODE |
| HIGH | chia/_tests/core/server/flood.py | 77 | except asyncio.CancelledError: | CODE |
| HIGH | chia/_tests/core/server/test_loop.py | 140 | except asyncio.CancelledError: | CODE |
| HIGH | chia/_tests/core/data_layer/test_data_rpc.py | 224 | except ValueError: # pragma: no cover | CODE |
| HIGH | chia/_tests/core/data_layer/test_data_rpc.py | 1074 | except chia_rs.datalayer.UnknownKeyError: | CODE |
| HIGH | chia/_tests/core/data_layer/test_data_store.py | 2150 | except OSError: | CODE |
| HIGH | chia/_tests/core/services/test_services.py | 171 | except ( | CODE |
| HIGH | chia/_tests/util/time_out_assert.py | 203 | except ValueError: | CODE |
| HIGH | chia/_tests/util/run_block.py | 110 | except UnicodeError: | CODE |
| HIGH | chia/_tests/util/test_task_pipeline.py | 358 | except asyncio.CancelledError: | CODE |
| HIGH | chia/_tests/environments/wallet.py | 301 | except NewPuzzleHashError: | CODE |
| HIGH | chia/_tests/simulation/test_start_simulator.py | 94 | except asyncio.TimeoutError: | CODE |
| HIGH | chia/legacy/keyring.py | 91 | except KeychainUserNotFound: | CODE |
| HIGH | chia/legacy/keyring.py | 116 | except Exception: | CODE |
| HIGH | chia/cmds/farm_funcs.py | 96 | except CliRpcConnectionError: | CODE |
| HIGH | chia/cmds/init_funcs.py | 366 | except sqlite3.OperationalError: | CODE |
| HIGH | chia/cmds/db_upgrade_func.py | 133 | except sqlite3.OperationalError: | CODE |
| HIGH | chia/server/server.py | 478 | except ValueError: | CODE |
| HIGH | chia/server/ws_connection.py | 462 | except asyncio.CancelledError: | CODE |
| HIGH | chia/server/ws_connection.py | 567 | except asyncio.CancelledError: | CODE |
| HIGH | chia/server/capabilities.py | 21 | except ValueError: | CODE |
| HIGH | chia/server/start_service.py | 217 | except ValueError: | CODE |
| HIGH | chia/daemon/server.py | 1466 | except Exception: | CODE |
| HIGH | chia/daemon/server.py | 1509 | except Exception: | CODE |
| HIGH | chia/daemon/server.py | 1552 | except Exception: | CODE |
| HIGH | chia/daemon/server.py | 1168 | except KeyError: | CODE |
| HIGH | chia/simulator/setup_services.py | 466 | except (Exception, asyncio.CancelledError): | CODE |
| HIGH | chia/simulator/setup_services.py | 505 | except (Exception, asyncio.CancelledError): | CODE |
| HIGH | chia/simulator/simulator_test_tools.py | 48 | except KeychainFingerprintExists: | CODE |
| 29 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 | 312 | except Exception: | CODE |
| LOW | tools/manage_clvm.py | 401 | 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⚡ | …ub/scripts/dependency_cursor_review_combine_outputs.py | 29 | except Exception: | CODE |
| LOW⚡ | …ub/scripts/dependency_cursor_review_combine_outputs.py | 43 | except Exception: | CODE |
| LOW | …ub/scripts/dependency_cursor_review_combine_outputs.py | 60 | except Exception: | CODE |
| LOW | …ub/scripts/dependency_cursor_review_combine_outputs.py | 68 | except Exception: | 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 | 91 | except Exception as e: | CODE |
| LOW | chia/consensus/block_height_map.py | 98 | except Exception as e: | CODE |
| LOW | chia/consensus/block_height_map.py | 170 | except Exception: | CODE |
| LOW | chia/consensus/multiprocess_validation.py | 206 | except Exception: | CODE |
| LOW | chia/plot_sync/sender.py | 380 | except Exception as e: | CODE |
| LOW | chia/plot_sync/receiver.py | 121 | except Exception: | CODE |
| LOW | chia/plot_sync/receiver.py | 194 | 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 | 324 | except Exception as e: | CODE |
| LOW | chia/types/blockchain_format/vdf.py | 86 | 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 | 1184 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 264 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 288 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 597 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 966 | except Exception: | CODE |
| LOW | chia/timelord/timelord.py | 1146 | except Exception: | CODE |
| LOW | chia/timelord/timelord.py | 1215 | except Exception as e: | CODE |
| LOW | chia/timelord/timelord.py | 1268 | 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 | 27 | except Exception as e: | CODE |
| LOW⚡ | chia/util/files.py | 32 | except Exception: | CODE |
| LOW | chia/util/files.py | 46 | except Exception: | CODE |
| LOW | chia/util/files.py | 84 | except Exception: | CODE |
| LOW | chia/util/files.py | 93 | 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 | 11 | except Exception as e: | CODE |
| 291 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/generate_chain.py | 57 | CODE | |
| LOW | tools/manage_clvm.py | 207 | CODE | |
| LOW | tools/manage_clvm.py | 359 | 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 | .github/scripts/malware_verdict_policy_rules_strip.py | 55 | CODE | |
| LOW | chia/introducer/introducer.py | 71 | CODE | |
| LOW | chia/consensus/vdf_info_computation.py | 11 | CODE | |
| LOW | chia/consensus/block_height_map.py | 185 | CODE | |
| LOW | chia/consensus/multiprocess_validation.py | 103 | CODE | |
| LOW | chia/consensus/make_sub_epoch_summary.py | 102 | 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 | 55 | CODE | |
| LOW | chia/consensus/block_creation.py | 288 | CODE | |
| LOW | chia/consensus/blockchain.py | 706 | CODE | |
| LOW | chia/consensus/blockchain.py | 923 | CODE | |
| LOW | chia/consensus/blockchain.py | 1058 | CODE | |
| LOW | chia/consensus/get_block_challenge.py | 54 | CODE | |
| LOW | chia/consensus/get_block_challenge.py | 181 | CODE | |
| LOW | chia/consensus/difficulty_adjustment.py | 134 | CODE | |
| LOW | chia/consensus/block_header_validation.py | 54 | CODE | |
| LOW | chia/consensus/block_header_validation.py | 871 | CODE | |
| LOW | chia/plot_sync/sender.py | 240 | CODE | |
| LOW | chia/plot_sync/sender.py | 362 | 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 | 147 | CODE | |
| LOW | chia/pools/pool_config.py | 97 | CODE | |
| LOW | chia/pools/pool_wallet.py | 808 | CODE | |
| LOW | chia/types/blockchain_format/proof_of_space.py | 253 | CODE | |
| LOW | chia/timelord/timelord_launcher.py | 84 | CODE | |
| LOW | chia/timelord/timelord.py | 326 | CODE | |
| LOW | chia/timelord/timelord.py | 405 | CODE | |
| LOW | chia/timelord/timelord.py | 470 | CODE | |
| LOW | chia/timelord/timelord.py | 494 | CODE | |
| LOW | chia/timelord/timelord.py | 566 | CODE | |
| LOW | chia/timelord/timelord.py | 970 | CODE | |
| LOW | chia/timelord/timelord.py | 1149 | CODE | |
| LOW | chia/timelord/timelord.py | 1195 | CODE | |
| LOW | chia/timelord/timelord_state.py | 181 | CODE | |
| LOW | chia/timelord/timelord_state.py | 221 | 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 | 60 | CODE | |
| LOW | chia/util/config.py | 107 | CODE | |
| LOW | chia/util/config.py | 296 | CODE | |
| LOW | chia/util/streamable.py | 249 | CODE | |
| 314 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 | tools/generate_wallet_rpc_client_stub.py | 65 | "# This file is generated by tools/generate_wallet_rpc_client_stub.py", | CODE |
| 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 | 32 | # Create a concrete instance for decorators while keeping the ClassVar type hint for mypy | COMMENT |
| MEDIUM⚡ | chia/util/files.py | 21 | # Create the parent directory if necessary | COMMENT |
| MEDIUM | chia/util/files.py | 69 | # Create the parent directory if necessary | COMMENT |
| MEDIUM | chia/util/streamable.py | 738 | # Create the object without calling __init__() to avoid unnecessary post-init checks in strictdataclass | COMMENT |
| MEDIUM | chia/util/keyring_wrapper.py | 264 | 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_legacy_keyring.py | 30 | # Create the legacy keyring file with the old format | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_rpc.py | 1197 | # Create a farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_rpc.py | 1381 | # Create a farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_rpc.py | 1425 | # Create a farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_cmdline.py | 530 | # Create a farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_cmdline.py | 673 | # Create a second farming plotnft to url http://pool.example.com | COMMENT |
| MEDIUM | chia/_tests/pools/test_pool_cmdline.py | 753 | # 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 | 31 | # Create a basic SubEpochSummary | COMMENT |
| MEDIUM | chia/_tests/core/server/test_rate_limits_v3.py | 684 | # Create a slow handler so that the initial requests fill the window and | COMMENT |
| MEDIUM | chia/_tests/core/server/test_rate_limits.py | 429 | # 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_full_node.py | 4569 | # Create a transaction with a height condition that makes it pending | COMMENT |
| MEDIUM | chia/_tests/core/full_node/test_full_node.py | 4656 | # Create a transaction and add it to the relevant full node's mempool | COMMENT |
| MEDIUM | chia/_tests/core/full_node/test_full_node.py | 5106 | # Create an unfinished block that would be infused before the current | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 1504 | # 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 | 1508 | # Create a spend bundle with a relatively smaller cost. | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 2007 | # Create a bunch of mempool items that spend the coin in different ways | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 2160 | # Create a coin with the identity puzzle hash | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool_manager.py | 2572 | # Create a mempool item and keep track of its height added to mempool | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool.py | 3267 | # Create a spend bundle with a high fee, spending sb_A, which supports dedup | COMMENT |
| MEDIUM | chia/_tests/core/mempool/test_mempool.py | 3272 | # 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 | 721 | # Create a copy | COMMENT |
| MEDIUM | chia/_tests/plotting/test_plot_manager.py | 626 | # Create a directory tree with some subdirectories containing plots, others not. | COMMENT |
| MEDIUM⚡ | chia/_tests/plotting/test_plot_manager.py | 677 | # Create a directory tree with some subdirectories containing plots, others not. | COMMENT |
| MEDIUM⚡ | chia/_tests/plotting/test_plot_manager.py | 682 | # Create a plot directory outside of the root plot directory | COMMENT |
| MEDIUM⚡ | chia/_tests/plotting/test_plot_manager.py | 685 | # 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 | 43 | # Create the coin we're testing | COMMENT |
| MEDIUM | chia/_tests/wallet/db_wallet/test_db_graftroot.py | 86 | # Create the spend | COMMENT |
| MEDIUM | chia/_tests/wallet/vc_wallet/test_vc_lifecycle.py | 62 | # Create a puzzle that will not pass the initial covenant check | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1180 | # Create a NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1231 | # Create a NFT without DID, this will go the unassigned NFT wallet | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1354 | # Create a NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1503 | # Create a NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1792 | # Create a NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1982 | # Create an NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 2303 | # Create an NFT with DID | COMMENT |
| MEDIUM | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 2858 | # Create a NFT without DID | COMMENT |
| 41 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | chia/plot_sync/receiver.py | 346 | self._current_sync.delta.valid.additions.copy(), self._current_sync.delta.valid.removals.copy() | CODE |
| CRITICAL⚡ | chia/plot_sync/receiver.py | 356 | self._invalid = self._current_sync.delta.invalid.additions.copy() | CODE |
| CRITICAL⚡ | chia/plot_sync/receiver.py | 357 | self._keys_missing = self._current_sync.delta.keys_missing.additions.copy() | CODE |
| CRITICAL⚡ | chia/plot_sync/receiver.py | 358 | 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 | 328 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 376 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 461 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 489 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 532 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 629 | and timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/_tests/timelord/test_new_peak.py | 699 | timelord_api.timelord.last_state.peak.reward_chain_block.get_hash() | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 532 | await self.service.wallet_state_manager.trade_manager.trade_store.get_trade_record( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 537 | await self.service.wallet_state_manager.trade_manager.trade_store.delete_trade_record( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 1724 | await self.service.wallet_state_manager.notification_manager.notification_store.get_notifications( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 1731 | await self.service.wallet_state_manager.notification_manager.notification_store.delete_notifications( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 2096 | all_trades = await self.service.wallet_state_manager.trade_manager.trade_store.get_trades_between( | CODE |
| CRITICAL | chia/wallet/wallet_rpc_api.py | 2124 | ) = await self.service.wallet_state_manager.trade_manager.trade_store.get_trades_count() | CODE |
| CRITICAL | chia/full_node/full_node_api.py | 1407 | 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/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 | .github/scripts/malware_verdict_formatter.py | 17 | __all__ = [ | 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_store_protocol.py | 45 | async def set_in_chain(self, header_hashes: list[tuple[bytes32]]) -> None: ... | CODE |
| LOW | chia/consensus/block_store_protocol.py | 47 | async def set_peak(self, header_hash: bytes32) -> None: ... | CODE |
| LOW | chia/consensus/block_body_validation.py | 96 | def update_fork_peak(self, block: FullBlock, header_hash: bytes32) -> None: | CODE |
| LOW | chia/consensus/block_height_map.py | 143 | def update_height(self, height: uint32, header_hash: bytes32, ses: SubEpochSummary | None) -> None: | CODE |
| LOW | chia/consensus/default_constants.py | 114 | def update_testnet_overrides(network_id: str, overrides: dict[str, Any]) -> None: | CODE |
| LOW | chia/plot_sync/sender.py | 177 | def set_connection(self, connection: WSChiaConnection) -> None: | CODE |
| LOW | chia/pools/pool_wallet.py | 232 | 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 | 221 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW⚡ | chia/timelord/timelord.py | 228 | 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 | 325 | def set_key(self, service: str, user: str, key: Key) -> None: | CODE |
| LOW | chia/util/file_keyring.py | 358 | def set_label(self, fingerprint: int, label: str) -> None: | CODE |
| LOW | chia/util/file_keyring.py | 462 | def set_passphrase_hint(self, passphrase_hint: str | None) -> None: | CODE |
| LOW⚡ | chia/util/keychain.py | 624 | def set_cached_master_passphrase(passphrase: str | None) -> None: | CODE |
| LOW⚡ | chia/util/keychain.py | 666 | def set_master_passphrase_hint(current_passphrase: str, passphrase_hint: str | None) -> None: | CODE |
| LOW | chia/util/keychain.py | 52 | def set_keys_root_path(keys_root_path: Path) -> None: | CODE |
| LOW | chia/util/keychain.py | 409 | def set_label(self, fingerprint: int, label: str) -> None: | CODE |
| LOW | chia/util/keyring_wrapper.py | 167 | def set_keys_root_path(keys_root_path: Path) -> None: | CODE |
| LOW⚡ | chia/util/keyring_wrapper.py | 211 | def set_cached_master_passphrase(self, passphrase: str | None, validated: bool = False) -> None: | CODE |
| LOW | chia/util/db_version.py | 21 | async def set_db_version_async(db: aiosqlite.Connection, version: int) -> None: | CODE |
| LOW | chia/util/db_version.py | 27 | def set_db_version(db: sqlite3.Connection, version: int) -> None: | CODE |
| LOW | chia/util/action_scope.py | 116 | def set_callback(self, new_callback: Callable[[StateInterface[_T_SideEffects]], Awaitable[None]] | None) -> None: | CODE |
| LOW | chia/harvester/harvester.py | 147 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/harvester/harvester.py | 275 | def set_server(self, server: ChiaServer) -> None: | CODE |
| LOW⚡ | chia/farmer/farmer.py | 345 | def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None: | CODE |
| LOW | chia/farmer/farmer.py | 381 | def set_server(self, server: ChiaServer) -> None: | CODE |
| LOW | chia/farmer/farmer.py | 634 | async def update_pool_state(self) -> None: | CODE |
| LOW | chia/farmer/farmer.py | 805 | def set_reward_targets(self, farmer_target_encoded: str | None, pool_target_encoded: str | None) -> None: | CODE |
| LOW | chia/farmer/farmer.py | 817 | async def set_payout_instructions(self, launcher_id: bytes32, payout_instructions: str) -> None: | CODE |
| LOW | chia/_tests/core/full_node/test_full_node.py | 3683 | async def update_wallets(self, wallet_update: WalletUpdate) -> None: | CODE |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 2638 | def update_lineage(self, puzzle_hash: bytes32, coin_spend: CoinSpend | 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/wallet_funcs.py | 463 | async def update_derivation_index(wallet_info: WalletClientInfo, index: int) -> 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/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 | 361 | def _set_new_matrix(self, row: int, col: int, value: int) -> None: | CODE |
| LOW⚡ | chia/server/address_manager.py | 370 | def _set_tried_matrix(self, row: int, col: int, value: int) -> None: | CODE |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chia/consensus/block_creation.py | 540 | CODE | |
| LOW | chia/seeder/crawler_rpc_api.py | 60 | CODE | |
| LOW | chia/seeder/peer_record.py | 59 | CODE | |
| LOW | chia/util/file_keyring.py | 58 | CODE | |
| LOW | chia/util/network.py | 44 | CODE | |
| LOW | chia/util/ws_message.py | 66 | CODE | |
| LOW | chia/util/db_wrapper.py | 241 | CODE | |
| LOW | chia/util/db_wrapper.py | 298 | 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 | 241 | CODE | |
| LOW | chia/_tests/core/util/test_block_cache.py | 24 | CODE | |
| LOW | chia/_tests/core/data_layer/test_data_rpc.py | 2830 | CODE | |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 341 | CODE | |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 1047 | CODE | |
| LOW | chia/_tests/util/blockchain.py | 41 | CODE | |
| LOW | chia/_tests/blockchain/test_augmented_chain.py | 100 | CODE | |
| LOW | chia/_tests/blockchain/test_lookup_fork_chain.py | 75 | CODE | |
| LOW | chia/_tests/blockchain/test_build_chains.py | 106 | CODE | |
| LOW | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 118 | CODE | |
| LOW | chia/server/address_manager.py | 77 | CODE | |
| LOW | chia/server/chia_policy.py | 204 | CODE | |
| LOW | chia/daemon/server.py | 141 | CODE | |
| LOW | chia/daemon/server.py | 1566 | CODE | |
| LOW | chia/daemon/server.py | 1623 | CODE | |
| LOW | chia/daemon/server.py | 660 | CODE | |
| LOW | chia/daemon/server.py | 664 | CODE | |
| LOW | chia/daemon/server.py | 1240 | CODE | |
| LOW | chia/daemon/server.py | 1326 | CODE | |
| LOW | chia/daemon/server.py | 1332 | 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 | 2464 | CODE | |
| LOW | chia/simulator/block_tools.py | 837 | 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 | |
| 28 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/_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 | 4783 | # Set limit to 0 to trigger queue full exception | COMMENT |
| LOW | chia/_tests/wallet/nft_wallet/test_nft_wallet.py | 1653 | # Check if the NFT owner DID is reset | COMMENT |
| LOW | chia/_tests/wallet/did_wallet/test_did.py | 679 | # Check if the DID wallet is created in the wallet2 | COMMENT |
| LOW | chia/_tests/wallet/did_wallet/test_did.py | 1466 | # Check if the DID wallet is created in the wallet2 | COMMENT |
| LOW | chia/_tests/wallet/cat_wallet/test_trades.py | 741 | # Check if unused index changed | COMMENT |
| LOW | chia/_tests/wallet/cat_wallet/test_trades.py | 1080 | # 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 | 1343 | # 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 | 1004 | # Check if the coin is clawback | COMMENT |
| LOW⚡ | chia/wallet/wallet_state_manager.py | 1012 | # Check if the coin is a VC | COMMENT |
| LOW⚡ | chia/wallet/wallet_state_manager.py | 1018 | # Check if the coin is a PlotNFT | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 945 | # Check if the coin is a CAT | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 969 | # Check if the coin is a NFT | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 981 | # Check if the coin is a DID | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1092 | # Check if the NFT is a bulk minting | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1324 | # Check if the parent coin is a Clawback coin | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 1492 | # Check if a child is a singleton launcher | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 2367 | # Check if the metadata is updated | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 2473 | # Check if we have the DID wallet | COMMENT |
| LOW | chia/wallet/wallet_state_manager.py | 2493 | # Check if the old wallet has the inner puzzle | COMMENT |
| LOW | chia/wallet/wallet_node.py | 1380 | # Check if any coin needs auto spending | COMMENT |
| LOW | chia/wallet/wallet_node.py | 1583 | # Set blockchain to the latest peak | COMMENT |
| LOW | chia/wallet/wallet_rpc_api.py | 2257 | # Check if we have a DID wallet for this | COMMENT |
| LOW | chia/wallet/clawback_manager.py | 77 | # Check if the wallet is the sender | COMMENT |
| LOW | chia/wallet/clawback_manager.py | 81 | # Check if the wallet is the recipient | COMMENT |
| LOW | chia/wallet/vc_wallet/vc_wallet.py | 200 | # Check if we own the DID | COMMENT |
| LOW | chia/wallet/vc_wallet/vc_wallet.py | 392 | # Check if we own the DID | COMMENT |
| LOW | chia/wallet/nft_wallet/nft_wallet.py | 423 | # 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/wallet/did_wallet/did_wallet.py | 472 | # Check if it was owned by us | COMMENT |
| LOW | chia/wallet/cat_wallet/cat_wallet.py | 470 | # Check if it is a special type of CAT | COMMENT |
| LOW | chia/wallet/cat_wallet/cat_wallet.py | 509 | # Check if we already have a wallet | COMMENT |
| LOW | chia/full_node/coin_store.py | 122 | # Check if legacy coin_parent_index index exists | COMMENT |
| LOW | chia/full_node/full_node_api.py | 2098 | # Check if the request would exceed the subscription limit now. | COMMENT |
| LOW | chia/full_node/full_node_api.py | 2139 | # Check if the request would exceed the subscription limit. | COMMENT |
| LOW | chia/full_node/full_node_api.py | 2179 | # Check if the request would exceed the subscription limit now. | COMMENT |
| LOW | chia/full_node/full_node_api.py | 2202 | # Check if the request would exceed the subscription limit. | COMMENT |
| LOW | chia/full_node/mempool_manager.py | 263 | # Check if this is an item that spends an older ff singleton | COMMENT |
| LOW | chia/rpc/rpc_server.py | 421 | # 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 | 281 | COMMENT | |
| LOW | .github/workflows/test.yml | 301 | # sudo apt-get install junitparser | COMMENT |
| LOW | .github/workflows/super-linter.yml | 1 | --- | COMMENT |
| LOW | .github/workflows/dependency-cursor-review.yml | 1 | # Managed by repo-content-updater | COMMENT |
| LOW | chia/consensus/blockchain.py | 1061 | # if this is empty, we shouldn't have called this function to begin with | 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 | 281 | # extending the chain. | COMMENT |
| LOW | chia/util/initial-config.yaml | 321 | # "off" disables syncing, lightens disk load and improves performance. | COMMENT |
| LOW | chia/util/initial-config.yaml | 341 | # block_creation_timeout: 2.0 | COMMENT |
| LOW | chia/util/initial-config.yaml | 361 | COMMENT | |
| LOW | chia/util/initial-config.yaml | 381 | # Choose a block that is deeply buried, far below the current peak. If that | COMMENT |
| LOW | chia/util/initial-config.yaml | 401 | COMMENT | |
| LOW | chia/util/initial-config.yaml | 421 | # Initiate outbound connections until this number is hit. | COMMENT |
| LOW | chia/util/errors.py | 181 | # mode | COMMENT |
| LOW | chia/util/task_timing.py | 101 | # f_globals | COMMENT |
| LOW | chia/util/bech32m.py | 1 | # Copyright (c) 2017 Pieter Wuille | COMMENT |
| LOW | chia/util/db_wrapper.py | 361 | # all subsequent SAVEPOINTs to nest inside it, making every RELEASE a | 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 | …a/_tests/core/full_node/stores/test_full_node_store.py | 661 | ss_start_iters = peak.sp_sub_slot_total_iters(custom_block_tools.constants) | COMMENT |
| LOW | chia/_tests/core/full_node/full_sync/test_full_sync.py | 841 | # `_sync()`'s peer-confirmation gather loop: if the actual block weight | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 541 | # ASSERT_BEFORE_HEIGHT_* | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 561 | (make_test_conds(before_seconds_relative=0), expect(before_seconds=10000)), | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool_manager.py | 1121 | ([mk_item(coins[0:1])], mk_item(coins[0:1], fee=9999999), False), | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool.py | 1921 | spend_bundle_0 = generate_test_spend_bundle(wallet_a, coin) | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2621 | COMMENT | |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2641 | # (defun iter (V N) | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2661 | SINGLE_ARG_INT_SUBSTR_TAIL_COND = "(a (q 2 4 (c 2 (c (concat (a 6 (c 2 (c (q . {filler}) (c 5 ())))) (q . {val})) (c 11 | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2681 | # ) | COMMENT |
| LOW | chia/_tests/core/mempool/test_mempool.py | 2701 | # (c (f L) (append (r L) B)) | 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 | 841 | # This can probably be fixed by: | COMMENT |
| LOW | chia/_tests/wallet/db_wallet/test_db_graftroot.py | 21 | # (mod solution | COMMENT |
| LOW | chia/_tests/wallet/rpc/test_wallet_rpc.py | 3381 | # $ chia keys generate | COMMENT |
| LOW | chia/_tests/wallet/cat_wallet/test_trades.py | 1781 | await trade_manager_maker.cancel_pending_offers( | 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/eligible_coin_spends.py | 341 | # Nothing was fast forwarded, so the cost is unchanged. | COMMENT |
| LOW | chia/full_node/full_node.py | 1401 | # But the limit is scaled to 30% for outbound messages, so that's 30 | COMMENT |
| LOW | chia/full_node/mempool.py | 61 | # sum of all fees in the mempool be less than 2^63. That's the limit of sqlite's | COMMENT |
| 3 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 | 575 | # 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 | 30 | # If that fails, use the more robust shutil.move(), though it may internally initiate a copy | COMMENT |
| LOW | chia/util/network.py | 191 | selected_port = addresses[0][1] # no matches, just use the first one in the list | CODE |
| LOW | chia/util/db_wrapper.py | 496 | # just use the existing transaction | COMMENT |
| LOW | chia/_tests/clvm/test_restrictions.py | 56 | # Attempt to just use any old dpuz | COMMENT |
| LOW | chia/_tests/clvm/test_restrictions.py | 118 | # 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 | 4145 | # 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 | 62 | # We hack this in because more robust solutions are harder and probably not worth it | COMMENT |
| LOW | chia/_tests/blockchain/test_augmented_chain.py | 115 | # before adding anything to the augmented blockchain, make sure we just pass | COMMENT |
| LOW | chia/_tests/wallet/sync/test_wallet_sync.py | 1580 | # 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 | 1034 | # 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 | 24 | ANYONE_CAN_SPEND_PUZZLE = Program.to(1) # simply return the conditions | CODE |
| LOW | chia/full_node/full_node_api.py | 314 | # 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 | 136 | Each merkle leaf contains: hash(challenge_hash || block_count) | STRING |
| HIGH⚡ | chia/types/blockchain_format/proof_of_space.py | 132 | Formula: sha256(strength || plot_pk || pool_info) | STRING |
| HIGH⚡ | chia/_tests/core/custom_types/test_proof_of_space.py | 545 | plot_group_id = sha256(strength || plot_pk || pool_info) | STRING |
| HIGH⚡ | chia/_tests/core/custom_types/test_proof_of_space.py | 546 | plot_id = sha256(plot_group_id || plot_index || meta_group) | STRING |
| HIGH⚡ | chia/_tests/core/custom_types/test_proof_of_space.py | 565 | """Verify that sha256(group_id || plot_index || meta_group) == compute_plot_id.""" | STRING |
| HIGH | chia/_tests/blockchain/test_augmented_chain.py | 113 | abc = AugmentedBlockchain(null) | CODE |
| HIGH⚡ | chia/wallet/wallet_protocol.py | 56 | # require_derivation_paths() return true | COMMENT |
| HIGH | chia/full_node/mempool_manager.py | 192 | and will make this function return false | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | chia/plot_sync/sender.py | 203 | # 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 | 354 | # 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 | 460 | # make sure to update _peak_height after the transaction is committed, | COMMENT |
| MEDIUM | chia/util/initial-config.yaml | 730 | # If you need use a proxy for download data you can use this setting sample | COMMENT |
| LOW | chia/_tests/conftest.py | 597 | # If you add another test chain, don't forget to also add a "build_test_chains" | COMMENT |
| LOW | chia/_tests/conftest.py | 597 | # 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 | 627 | # 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 | 238 | # 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 | 2475 | # 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 | 63 | 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 | 151 | 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 | 238 | 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 |
|---|---|---|---|---|
| MEDIUM | chia/_tests/farmer_harvester/test_farmer.py | 1639 | CODE | |
| MEDIUM | chia/_tests/blockchain/test_build_chains.py | 129 | CODE | |
| MEDIUM | chia/_tests/blockchain/test_build_chains.py | 133 | CODE | |
| MEDIUM | chia/_tests/blockchain/test_build_chains.py | 135 | CODE | |
| MEDIUM | chia/_tests/blockchain/test_build_chains.py | 149 | CODE | |
| MEDIUM | chia/_tests/blockchain/test_build_chains.py | 153 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | chia/_tests/wallet/nft_wallet/test_nft_lifecycle.py | 46 | # 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 |