AI Slop Code RIsk Monitor

Chia-Network/chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)

17.6 Elevated pattern signal View on GitHub

Maintenance and Governance Review

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.

17.6
Adjusted Signal
17.6
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
10.8K
Stars
Python
Language
328.9K
Lines of Code
1.1K
Files
4.9K
Pattern Hits
2026-10-12
Scan Date
0.14
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 40.5/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 3268 finding(s).

Hallucinated Dependency & Supply Chain Risk 17.2/100 · LOW

Are imports declared and package/API names verified? 987 finding(s).

Agent Over-Engineering Ratio 43.0/100 · MEDIUM

Are wrappers, guards, and repeated structures necessary? 3240 finding(s).

PR Review Velocity Impact 60.1/100 · HIGH

Which changes need focused human review? 4854 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 26HIGH 130MEDIUM 155LOW 4543

Directory Score Breakdown

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.

Pattern Findings

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.

Hyper-Verbose Identifiers2553 hits · 2484 pts
SeverityFileLineSnippetContext
LOWtools/validate_rpcs.py27def get_height_to_hash_filename(root_path: Path, config: dict[str, Any]) -> Path:CODE
LOWtools/validate_rpcs.py47def get_block_hash_for_height(height: int, height_to_hash: bytes) -> bytes32:CODE
LOWtools/validate_rpcs.py155async def node_spends_with_conditions(CODE
LOWbenchmarks/address_manager_store.py87async def benchmark_serialize_deserialize(iterations: int = 5) -> None:CODE
LOWbenchmarks/mempool-long-lived.py92 async def get_unspent_lineage_info_for_puzzle_hash(_: bytes32) -> UnspentLineageInfo | None:CODE
LOWbenchmarks/streamable.py67def get_random_benchmark_object() -> BenchmarkClass:CODE
LOWbenchmarks/mempool.py94 async def get_unspent_lineage_info_for_puzzle_hash(_: bytes32) -> UnspentLineageInfo | None:CODE
LOW.github/scripts/malware_verdict_patterns_regex.py98def orphan_trailing_bold_span(text: str, match: re.Match) -> tuple[int, int] | None:CODE
LOW.github/scripts/malware_verdict_patterns_regex.py129def _consume_evidence_trailer_token(tail: str) -> int | None:CODE
LOW.github/scripts/malware_verdict_patterns_regex.py139def remainder_is_line_start_trailer_only(remainder: str) -> bool:CODE
LOW.github/scripts/malware_verdict_formatter.py25def format_malware_review_verdict(text: str) -> str:CODE
LOW.github/scripts/scripts_dir_path_scrub.py22def _paired_chicken_egg_import_disk_exec(script_dir: Path) -> types.ModuleType:CODE
LOW.github/scripts/scripts_dir_path_scrub.py41def load_scrub_from_disk_under_dash_i(script_dir: Path) -> types.ModuleType:CODE
LOW.github/scripts/scripts_dir_path_scrub.py100def bootstrap_module_from_scripts_dir(CODE
LOW.github/scripts/dependency-cursor-review-target-pr.js45function commitsAreVerifiedDependabot(commits) {CODE
LOW.github/scripts/dependency-cursor-review-target-pr.js92async function dependabotReviewAlreadyPosted({ github, context, core, pr, marker }) {CODE
LOW.github/scripts/malware_verdict_policy_rules_select.py28def _rule_later_glued_benign_over_earlier_label_glued_malicious(CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py43def _rule_later_benign_never_beats(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py47def _rule_later_malicious_trailer_evidence(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py51def _rule_later_standalone_malicious_vs_earlier_trailer(CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py60def _rule_later_standalone_bold_or_beats_earlier_standalone(CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py79def _rule_later_formatted_glued_malicious(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py83def _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.py88def _rule_later_line_start_because_headline(analysis: FormatterPolicyView, _e: int, later_i: int) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py160def _yield_gate_trailer_glued(analysis: FormatterPolicyView, chosen: int) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py164def _yield_gate_standalone_benign_colon(analysis: FormatterPolicyView, chosen: int) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_policy_rules_select.py168def _yield_rival_requires_colon_glued(analysis: FormatterPolicyView, chosen: int, rival: int) -> bool:CODE
LOW.github/scripts/malware_verdict_policy_rules_select.py186def _active_yield_expand_rules(analysis: FormatterPolicyView, chosen: int) -> list[_YieldExpandRule]:CODE
LOW.github/scripts/malware_verdict_policy_rules_select.py190def _yield_glued_rivals_for_line_start_choice(analysis: FormatterPolicyView, chosen: int) -> list[int]:CODE
LOW.github/scripts/malware_verdict_policy_rules_select.py211def _pool_line_start_officials(analysis: FormatterPolicyView) -> list[int]:CODE
LOW.github/scripts/malware_verdict_policy_rules_select.py263def official_select_phase_names() -> tuple[str, ...]:CODE
LOW.github/scripts/malware_verdict_policy_rules_select.py271def later_beats_earlier_rule_names() -> tuple[str, ...]:CODE
LOW.github/scripts/malware_verdict_policy_rules_strip.py45def _span_official_same_line_bridge(CODE
LOW.github/scripts/malware_verdict_policy_rules_strip.py55def _span_line_start_partial_through_verdict(CODE
LOW.github/scripts/malware_verdict_policy_rules_strip.py83def _span_partial_or_full_trailer(CODE
LOW.github/scripts/malware_verdict_policy_rules_strip.py108def _span_losing_contradiction_bridge(CODE
LOW.github/scripts/malware_verdict_policy_rules_strip.py163def _same_match_official_bridge(view: FormatterPolicyView, i: int, official_i: int | None) -> bool:CODE
LOW.github/scripts/malware_verdict_policy_view.py42def build_mentions_from_matches(text: str, matches: list) -> tuple[VerdictMention, ...]:CODE
LOW.github/scripts/malware_verdict_policy_view.py55def build_formatter_policy_view(text: str, matches: list[re.Match]) -> FormatterPolicyView:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py180def is_line_start_because_headline(text: str, match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py184def line_start_sentence_bridge_end(text: str, match_end: int, line_end_pos: int) -> int | None:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py192def is_same_line_eg_ie_format_example(text: str, match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py235def _format_example_from_eg_ie(_ctx: FormatContext, text: str, match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py239def _format_example_from_preceding_heading(ctx: FormatContext, _text: str, _match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py243def _format_example_from_prompt_heading(ctx: FormatContext, _text: str, _match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py247def _format_example_from_preceding_or(ctx: FormatContext, _text: str, _match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py251def _format_example_from_following_or_chain(ctx: FormatContext, _text: str, _match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py260def _format_example_from_or_prefix_on_line(ctx: FormatContext, _text: str, _match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py279def line_start_trailer_remainder(text: str, match: re.Match) -> str:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py283def line_start_has_sentence_trailer(text: str, match: re.Match) -> bool:CODE
LOW⚡.github/scripts/malware_verdict_patterns_structure.py293def has_line_start_trailer_evidence(text: str, match: re.Match) -> bool:CODE
LOW.github/scripts/malware_verdict_patterns_structure.py43def line_remainder_after_verdict(text: str, match: re.Match) -> str:CODE
LOW.github/scripts/malware_verdict_patterns_structure.py81def _is_numbered_list_glue_anchor(text: str, anchor_pos: int, line_start: int) -> bool:CODE
LOW.github/scripts/malware_verdict_patterns_structure.py100def _glued_with_terminal_remainder(text: str, match: re.Match) -> bool:CODE
LOW.github/scripts/malware_verdict_patterns_structure.py145def is_standalone_verdict_line(text: str, match: re.Match) -> bool:CODE
LOW.github/scripts/malware_verdict_patterns_structure.py150def has_line_start_reasoning_continuation(text: str, match: re.Match) -> bool:CODE
LOW.github/scripts/malware_verdict_patterns_structure.py162def is_line_start_official_with_trailer(text: str, match: re.Match) -> bool:CODE
LOW.github/scripts/malware_verdict_patterns_structure.py166def classify_line_start_reasoning_headline(text: str, match: re.Match) -> str | None:CODE
LOW.github/scripts/malware_verdict_patterns_structure.py203def is_bold_standalone_verdict_line(text: str, match: re.Match) -> bool:CODE
LOW.github/scripts/malware_verdict_policy_context.py42def _plain_glued_demotes_because(text: str, mentions: list[VerdictMention], because_i: int, glued_i: int) -> bool:CODE
2493 more matches not shown…
Unused Imports953 hits · 926 pts
SeverityFileLineSnippetContext
LOWmanage-mypy.py3CODE
LOWactivated.py3CODE
LOWpoetry-check.py1CODE
LOWinstallhelper.py7CODE
LOWtools/run_block.py39CODE
LOWtools/generate_chain.py1CODE
LOWtools/test_full_sync.py3CODE
LOWtools/manage_clvm.py1CODE
LOWtools/chialispp.py1CODE
LOWtools/validate_rpcs.py3CODE
LOWtools/generate_wallet_rpc_client_stub.py2CODE
LOWtools/analyze_memory_profile.py1CODE
LOWtools/cpu_utilization.py1CODE
LOWbuild_scripts/check_dependency_artifacts.py1CODE
LOWbenchmarks/address_manager_store.py1CODE
LOWbenchmarks/mempool-long-lived.py1CODE
LOWbenchmarks/coin_store.py1CODE
LOWbenchmarks/streamable.py1CODE
LOWbenchmarks/block_ref.py1CODE
LOWbenchmarks/jsonify.py1CODE
LOWbenchmarks/blockchains.py1CODE
LOWbenchmarks/utils.py1CODE
LOWbenchmarks/mempool.py1CODE
LOWbenchmarks/block_store.py1CODE
LOW.github/scripts/malware_verdict_patterns_regex.py3CODE
LOW.github/scripts/malware_verdict_formatter.py7CODE
LOW.github/scripts/malware_verdict_formatter.py12CODE
LOW.github/scripts/malware_verdict_formatter.py15CODE
LOW.github/scripts/dependency_cursor_review_prompts.py3CODE
LOW.github/scripts/scripts_dir_path_scrub.py9CODE
LOW.github/scripts/malware_verdict_patterns.py3CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py9CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
LOW.github/scripts/malware_verdict_patterns.py32CODE
893 more matches not shown…
Empty Error Handlers89 hits · 445 pts
SeverityFileLineSnippetContext
HIGHtools/cpu_utilization.py63except psutil.NoSuchProcess:CODE
HIGHtools/cpu_utilization.py65except KeyboardInterrupt:CODE
HIGHtools/cpu_utilization.py50except Exception:CODE
HIGHtools/cpu_utilization.py58except Exception:CODE
HIGHbenchmarks/utils.py18except FileNotFoundError:CODE
HIGHchia/__init__.py18except AssertionError:CODE
HIGHchia/consensus/blockchain.py487except KeyError:CODE
HIGHchia/ssl/ssl_check.py86except (FileNotFoundError, ValueError):CODE
HIGHchia/ssl/ssl_check.py121except FileNotFoundError:CODE
HIGHchia/timelord/timelord_launcher.py36except ValueError:CODE
HIGHchia/timelord/timelord_launcher.py54except (ProcessLookupError, AttributeError):CODE
HIGHchia/seeder/dns_server.py73except asyncio.CancelledError: # we dont careCODE
HIGHchia/seeder/dns_server.py449except ValueError:CODE
HIGHchia/seeder/crawl_store.py61except aiosqlite.OperationalError:CODE
HIGHchia/util/streamable.py639except dataclasses.FrozenInstanceError:CODE
HIGHchia/util/streamable.py661except KeyError:CODE
HIGHchia/util/chia_version.py19except InvalidVersion:CODE
HIGHchia/util/async_pool.py222except asyncio.CancelledError:CODE
HIGHchia/util/file_keyring.py295except FileNotFoundError:CODE
HIGHchia/util/keychain.py431except KeychainUserNotFound:CODE
HIGHchia/util/keychain.py518except KeychainUserNotFound:CODE
HIGHchia/util/keychain.py510except (KeychainException, NotImplementedError):CODE
HIGHchia/util/keychain.py516except Exception:CODE
HIGHchia/util/network.py155except ValueError:CODE
HIGHchia/util/task_timing.py266except Exception:CODE
HIGHchia/util/task_pipeline.py127except asyncio.QueueFull:CODE
HIGHchia/util/task_pipeline.py181except asyncio.QueueFull:CODE
HIGHchia/util/task_pipeline.py202except asyncio.QueueEmpty:CODE
HIGHchia/_tests/process_junit.py224except StatisticsError:CODE
HIGHchia/_tests/process_junit.py301except StatisticsError:CODE
HIGHchia/_tests/plot_sync/test_plot_sync.py144except ValueError:CODE
HIGHchia/_tests/pools/test_wallet_pool_store.py94except Exception:CODE
HIGHchia/_tests/core/server/flood.py77except asyncio.CancelledError:CODE
HIGHchia/_tests/core/server/test_loop.py140except asyncio.CancelledError:CODE
HIGHchia/_tests/core/data_layer/test_data_rpc.py224except ValueError: # pragma: no coverCODE
HIGHchia/_tests/core/data_layer/test_data_rpc.py1074except chia_rs.datalayer.UnknownKeyError:CODE
HIGHchia/_tests/core/data_layer/test_data_store.py2150except OSError:CODE
HIGHchia/_tests/core/services/test_services.py171except (CODE
HIGHchia/_tests/util/time_out_assert.py203except ValueError:CODE
HIGHchia/_tests/util/run_block.py110except UnicodeError:CODE
HIGHchia/_tests/util/test_task_pipeline.py358except asyncio.CancelledError:CODE
HIGHchia/_tests/environments/wallet.py301except NewPuzzleHashError:CODE
HIGHchia/_tests/simulation/test_start_simulator.py94except asyncio.TimeoutError:CODE
HIGHchia/legacy/keyring.py91except KeychainUserNotFound:CODE
HIGHchia/legacy/keyring.py116except Exception:CODE
HIGHchia/cmds/farm_funcs.py96except CliRpcConnectionError:CODE
HIGHchia/cmds/init_funcs.py366except sqlite3.OperationalError:CODE
HIGHchia/cmds/db_upgrade_func.py133except sqlite3.OperationalError:CODE
HIGHchia/server/server.py478except ValueError:CODE
HIGHchia/server/ws_connection.py462except asyncio.CancelledError:CODE
HIGHchia/server/ws_connection.py567except asyncio.CancelledError:CODE
HIGHchia/server/capabilities.py21except ValueError:CODE
HIGHchia/server/start_service.py217except ValueError:CODE
HIGHchia/daemon/server.py1466except Exception:CODE
HIGHchia/daemon/server.py1509except Exception:CODE
HIGHchia/daemon/server.py1552except Exception:CODE
HIGHchia/daemon/server.py1168except KeyError:CODE
HIGHchia/simulator/setup_services.py466except (Exception, asyncio.CancelledError):CODE
HIGHchia/simulator/setup_services.py505except (Exception, asyncio.CancelledError):CODE
HIGHchia/simulator/simulator_test_tools.py48except KeychainFingerprintExists:CODE
29 more matches not shown…
Excessive Try-Catch Wrapping351 hits · 368 pts
SeverityFileLineSnippetContext
LOWPRETTY_GOOD_PRACTICES.md791 except Exception as e:CODE
MEDIUMPRETTY_GOOD_PRACTICES.md786def main():CODE
LOWtools/manage_clvm.py312 except Exception:CODE
LOWtools/manage_clvm.py401 except Exception:CODE
LOWtools/validate_rpcs.py164 except Exception as e:CODE
LOWtools/validate_rpcs.py178 except Exception as e:CODE
LOWtools/validate_rpcs.py193 except Exception as e:CODE
LOWtools/analyze_memory_profile.py62 except Exception:CODE
LOWtools/analyze_memory_profile.py105 except Exception as e:CODE
LOWtools/cpu_utilization.py50 except Exception:CODE
LOWtools/cpu_utilization.py58 except Exception:CODE
LOWbenchmarks/utils.py46 except Exception:CODE
LOWbenchmarks/utils.py51 except Exception:CODE
MEDIUMbenchmarks/utils.py38def get_commit_hash() -> str:CODE
LOW⚡…ub/scripts/dependency_cursor_review_combine_outputs.py29 except Exception:CODE
LOW⚡…ub/scripts/dependency_cursor_review_combine_outputs.py43 except Exception:CODE
LOW…ub/scripts/dependency_cursor_review_combine_outputs.py60 except Exception:CODE
LOW…ub/scripts/dependency_cursor_review_combine_outputs.py68 except Exception:CODE
LOWchia/introducer/introducer.py116 except Exception as e:CODE
LOWchia/introducer/introducer.py128 except Exception as e:CODE
LOWchia/consensus/block_height_map.py91 except Exception as e:CODE
LOWchia/consensus/block_height_map.py98 except Exception as e:CODE
LOWchia/consensus/block_height_map.py170 except Exception:CODE
LOWchia/consensus/multiprocess_validation.py206 except Exception:CODE
LOWchia/plot_sync/sender.py380 except Exception as e:CODE
LOWchia/plot_sync/receiver.py121 except Exception:CODE
LOWchia/plot_sync/receiver.py194 except Exception as e:CODE
LOWchia/ssl/ssl_check.py79 except Exception as e:CODE
LOWchia/ssl/ssl_check.py124 except Exception as e:CODE
LOWchia/ssl/ssl_check.py179 except Exception as e:CODE
LOWchia/pools/pool_wallet.py324 except Exception as e:CODE
LOWchia/types/blockchain_format/vdf.py86 except Exception:CODE
LOWchia/timelord/timelord_api.py160 except Exception:CODE
LOWchia/timelord/timelord_launcher.py109 except Exception as e:CODE
LOW⚡chia/timelord/timelord.py1184 except Exception as e:CODE
LOWchia/timelord/timelord.py264 except Exception as e:CODE
LOWchia/timelord/timelord.py288 except Exception as e:CODE
LOWchia/timelord/timelord.py597 except Exception as e:CODE
LOWchia/timelord/timelord.py966 except Exception:CODE
LOWchia/timelord/timelord.py1146 except Exception:CODE
LOWchia/timelord/timelord.py1215 except Exception as e:CODE
LOWchia/timelord/timelord.py1268 except Exception as e:CODE
LOWchia/seeder/dns_server.py109 except Exception as e:CODE
LOWchia/seeder/dns_server.py223 except Exception as e:CODE
LOWchia/seeder/dns_server.py264 except Exception as e:CODE
LOWchia/seeder/dns_server.py336 except Exception:CODE
LOWchia/seeder/dns_server.py422 except Exception as e:CODE
LOWchia/seeder/crawler.py165 except Exception as e:CODE
LOWchia/seeder/crawler.py198 except Exception as e:CODE
LOWchia/seeder/crawler.py304 except Exception as e:CODE
LOWchia/seeder/crawler.py316 except Exception as e:CODE
LOWchia/seeder/crawler.py346 except Exception as e:CODE
LOW⚡chia/util/files.py27 except Exception as e:CODE
LOW⚡chia/util/files.py32 except Exception:CODE
LOWchia/util/files.py46 except Exception:CODE
LOWchia/util/files.py84 except Exception:CODE
LOWchia/util/files.py93 except Exception:CODE
LOWchia/util/config.py145 except Exception as e:CODE
LOWchia/util/beta_metrics.py114 except Exception as e:CODE
LOWchia/util/safe_cancel_task.py11 except Exception as e:CODE
291 more matches not shown…
Deep Nesting374 hits · 324 pts
SeverityFileLineSnippetContext
LOWtools/generate_chain.py57CODE
LOWtools/manage_clvm.py207CODE
LOWtools/manage_clvm.py359CODE
LOWtools/chialispp.py329CODE
LOWtools/chialispp.py91CODE
LOWtools/chialispp.py244CODE
LOWtools/analyze_memory_profile.py79CODE
LOWtools/analyze_memory_profile.py112CODE
LOWtools/cpu_utilization.py31CODE
LOWbenchmarks/address_manager_store.py28CODE
LOWbenchmarks/streamable.py237CODE
LOWbenchmarks/blockchains.py34CODE
LOWbenchmarks/mempool.py82CODE
LOW.github/scripts/malware_verdict_policy_rules_strip.py55CODE
LOWchia/introducer/introducer.py71CODE
LOWchia/consensus/vdf_info_computation.py11CODE
LOWchia/consensus/block_height_map.py185CODE
LOWchia/consensus/multiprocess_validation.py103CODE
LOWchia/consensus/make_sub_epoch_summary.py102CODE
LOWchia/consensus/block_rewards.py10CODE
LOWchia/consensus/block_rewards.py33CODE
LOWchia/consensus/deficit.py7CODE
LOWchia/consensus/block_creation.py55CODE
LOWchia/consensus/block_creation.py288CODE
LOWchia/consensus/blockchain.py706CODE
LOWchia/consensus/blockchain.py923CODE
LOWchia/consensus/blockchain.py1058CODE
LOWchia/consensus/get_block_challenge.py54CODE
LOWchia/consensus/get_block_challenge.py181CODE
LOWchia/consensus/difficulty_adjustment.py134CODE
LOWchia/consensus/block_header_validation.py54CODE
LOWchia/consensus/block_header_validation.py871CODE
LOWchia/plot_sync/sender.py240CODE
LOWchia/plot_sync/sender.py362CODE
LOWchia/ssl/ssl_check.py65CODE
LOWchia/ssl/ssl_check.py100CODE
LOWchia/ssl/ssl_check.py110CODE
LOWchia/pools/pool_config.py147CODE
LOWchia/pools/pool_config.py97CODE
LOWchia/pools/pool_wallet.py808CODE
LOWchia/types/blockchain_format/proof_of_space.py253CODE
LOWchia/timelord/timelord_launcher.py84CODE
LOWchia/timelord/timelord.py326CODE
LOWchia/timelord/timelord.py405CODE
LOWchia/timelord/timelord.py470CODE
LOWchia/timelord/timelord.py494CODE
LOWchia/timelord/timelord.py566CODE
LOWchia/timelord/timelord.py970CODE
LOWchia/timelord/timelord.py1149CODE
LOWchia/timelord/timelord.py1195CODE
LOWchia/timelord/timelord_state.py181CODE
LOWchia/timelord/timelord_state.py221CODE
LOWchia/seeder/dns_server.py415CODE
LOWchia/seeder/dns_server.py503CODE
LOWchia/seeder/crawl_store.py186CODE
LOWchia/seeder/crawler.py201CODE
LOWchia/util/priority_mutex.py60CODE
LOWchia/util/config.py107CODE
LOWchia/util/config.py296CODE
LOWchia/util/streamable.py249CODE
314 more matches not shown…
Self-Referential Comments101 hits · 310 pts
SeverityFileLineSnippetContext
MEDIUMinstallhelper.py19# The following function is borrowed fromCOMMENT
MEDIUMtools/chialispp.py301 # The following functions maintain that stackCOMMENT
MEDIUMtools/generate_wallet_rpc_client_stub.py65 "# This file is generated by tools/generate_wallet_rpc_client_stub.py",CODE
MEDIUMbenchmarks/address_manager_store.py43 # Create the ExtendedPeerInfoCOMMENT
MEDIUM.github/dependabot.yml1# This file is managed by the repo-content-updater project. Manual changes here will result in a PR to bring backCOMMENT
MEDIUMchia/consensus/generator_tools.py24 # Create an empty filter to begin withCOMMENT
MEDIUMchia/apis/farmer_stub.py32 # Create a concrete instance for decorators while keeping the ClassVar type hint for mypyCOMMENT
MEDIUM⚡chia/util/files.py21 # Create the parent directory if necessaryCOMMENT
MEDIUMchia/util/files.py69 # Create the parent directory if necessaryCOMMENT
MEDIUMchia/util/streamable.py738 # Create the object without calling __init__() to avoid unnecessary post-init checks in strictdataclassCOMMENT
MEDIUMchia/util/keyring_wrapper.py264 self.keyring.write_keyring(fresh_salt=True) # Create a new salt since we're changing the passphraseCODE
MEDIUMchia/_tests/clvm/test_member_puzzles.py69 # Create an announcements to be asserted in the delegated puzzleCOMMENT
MEDIUMchia/_tests/clvm/test_member_puzzles.py309 # Create an announcements to be asserted in the delegated puzzleCOMMENT
MEDIUMchia/_tests/clvm/test_member_puzzles.py400 # Create an announcements to be asserted in the delegated puzzleCOMMENT
MEDIUMchia/_tests/tools/test_legacy_keyring.py30 # Create the legacy keyring file with the old formatCOMMENT
MEDIUMchia/_tests/pools/test_pool_rpc.py1197 # Create a farming plotnft to url http://pool.example.comCOMMENT
MEDIUMchia/_tests/pools/test_pool_rpc.py1381 # Create a farming plotnft to url http://pool.example.comCOMMENT
MEDIUMchia/_tests/pools/test_pool_rpc.py1425 # Create a farming plotnft to url http://pool.example.comCOMMENT
MEDIUMchia/_tests/pools/test_pool_cmdline.py530 # Create a farming plotnft to url http://pool.example.comCOMMENT
MEDIUMchia/_tests/pools/test_pool_cmdline.py673 # Create a second farming plotnft to url http://pool.example.comCOMMENT
MEDIUMchia/_tests/pools/test_pool_cmdline.py753 # Create a self-pooling plotnftCOMMENT
MEDIUMchia/_tests/pools/test_pool_puzzles_lifecycle.py89 # Create the escaping inner puzzleCOMMENT
MEDIUMchia/_tests/pools/test_pool_puzzles_lifecycle.py154 # Create the spend bundleCOMMENT
MEDIUMchia/_tests/core/test_seeder.py365 # Create a mock ResolverCOMMENT
MEDIUMchia/_tests/core/test_farmer_harvester_rpc.py502 # Create a file at the test_path and make sure it detects thisCOMMENT
MEDIUM…/_tests/core/util/test_file_keyring_synchronization.py72 # Create a directory for each process to indicate readinessCOMMENT
MEDIUMchia/_tests/core/custom_types/test_sub_epoch_summary.py31 # Create a basic SubEpochSummaryCOMMENT
MEDIUMchia/_tests/core/server/test_rate_limits_v3.py684 # Create a slow handler so that the initial requests fill the window andCOMMENT
MEDIUMchia/_tests/core/server/test_rate_limits.py429 # The following code checks whether all of the runs resulted in the same number of items in "rate_limits_tx",COMMENT
MEDIUMchia/_tests/core/data_layer/test_plugin.py74 # Create an unreadable config fileCOMMENT
MEDIUMchia/_tests/core/data_layer/test_plugin.py93 # Create a config file with improper JSONCOMMENT
MEDIUMchia/_tests/core/full_node/test_performance.py123 # Create an unfinished blockCOMMENT
MEDIUMchia/_tests/core/full_node/test_full_node.py4569 # Create a transaction with a height condition that makes it pendingCOMMENT
MEDIUMchia/_tests/core/full_node/test_full_node.py4656 # Create a transaction and add it to the relevant full node's mempoolCOMMENT
MEDIUMchia/_tests/core/full_node/test_full_node.py5106 # Create an unfinished block that would be infused before the currentCOMMENT
MEDIUMchia/_tests/core/mempool/test_mempool_manager.py1504 # Create the spend bundles with a big enough cost that they get close to the limitCOMMENT
MEDIUMchia/_tests/core/mempool/test_mempool_manager.py1508 # Create a spend bundle with a relatively smaller cost.COMMENT
MEDIUMchia/_tests/core/mempool/test_mempool_manager.py2007 # Create a bunch of mempool items that spend the coin in different waysCOMMENT
MEDIUMchia/_tests/core/mempool/test_mempool_manager.py2160 # Create a coin with the identity puzzle hashCOMMENT
MEDIUMchia/_tests/core/mempool/test_mempool_manager.py2572 # Create a mempool item and keep track of its height added to mempoolCOMMENT
MEDIUMchia/_tests/core/mempool/test_mempool.py3267 # Create a spend bundle with a high fee, spending sb_A, which supports dedupCOMMENT
MEDIUMchia/_tests/core/mempool/test_mempool.py3272 # Create a spend bundle, with a low fee, that spends the dedup coin using the same solution ACOMMENT
MEDIUMchia/_tests/core/mempool/test_singleton_fast_forward.py279 # Create a solution for standard transactionCOMMENT
MEDIUMchia/_tests/blockchain/test_block_commitments.py721 # Create a copyCOMMENT
MEDIUMchia/_tests/plotting/test_plot_manager.py626 # Create a directory tree with some subdirectories containing plots, others not.COMMENT
MEDIUM⚡chia/_tests/plotting/test_plot_manager.py677 # Create a directory tree with some subdirectories containing plots, others not.COMMENT
MEDIUM⚡chia/_tests/plotting/test_plot_manager.py682 # Create a plot directory outside of the root plot directoryCOMMENT
MEDIUM⚡chia/_tests/plotting/test_plot_manager.py685 # Create a symlink to the other plot directory from inside the root plot directoryCOMMENT
MEDIUMchia/_tests/wallet/test_coin_management.py172 # Create a cat walletSTRING
MEDIUMchia/_tests/wallet/db_wallet/test_db_graftroot.py43 # Create the coin we're testingCOMMENT
MEDIUMchia/_tests/wallet/db_wallet/test_db_graftroot.py86 # Create the spendCOMMENT
MEDIUMchia/_tests/wallet/vc_wallet/test_vc_lifecycle.py62 # Create a puzzle that will not pass the initial covenant checkCOMMENT
MEDIUMchia/_tests/wallet/nft_wallet/test_nft_wallet.py1180 # Create a NFT with DIDCOMMENT
MEDIUMchia/_tests/wallet/nft_wallet/test_nft_wallet.py1231 # Create a NFT without DID, this will go the unassigned NFT walletCOMMENT
MEDIUMchia/_tests/wallet/nft_wallet/test_nft_wallet.py1354 # Create a NFT with DIDCOMMENT
MEDIUMchia/_tests/wallet/nft_wallet/test_nft_wallet.py1503 # Create a NFT with DIDCOMMENT
MEDIUMchia/_tests/wallet/nft_wallet/test_nft_wallet.py1792 # Create a NFT with DIDCOMMENT
MEDIUMchia/_tests/wallet/nft_wallet/test_nft_wallet.py1982 # Create an NFT with DIDCOMMENT
MEDIUMchia/_tests/wallet/nft_wallet/test_nft_wallet.py2303 # Create an NFT with DIDCOMMENT
MEDIUMchia/_tests/wallet/nft_wallet/test_nft_wallet.py2858 # Create a NFT without DIDCOMMENT
41 more matches not shown…
Hallucination Indicators26 hits · 280 pts
SeverityFileLineSnippetContext
CRITICAL⚡chia/plot_sync/receiver.py346 self._current_sync.delta.valid.additions.copy(), self._current_sync.delta.valid.removals.copy()CODE
CRITICAL⚡chia/plot_sync/receiver.py356 self._invalid = self._current_sync.delta.invalid.additions.copy()CODE
CRITICAL⚡chia/plot_sync/receiver.py357 self._keys_missing = self._current_sync.delta.keys_missing.additions.copy()CODE
CRITICAL⚡chia/plot_sync/receiver.py358 self._duplicates = self._current_sync.delta.duplicates.additions.copy()CODE
CRITICALchia/timelord/timelord_api.py85 f"current rh: {self.timelord.last_state.peak.reward_chain_block.get_hash()}"CODE
CRITICALchia/timelord/timelord_api.py112 if self.timelord.last_state.peak.reward_chain_block.get_hash() == new_peak.reward_chain_block.get_hash():CODE
CRITICALchia/_tests/timelord/test_new_peak.py89 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py101 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py117 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py179 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py222 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py265 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py328 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py376 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py461 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py489 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py532 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py629 and timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/_tests/timelord/test_new_peak.py699 timelord_api.timelord.last_state.peak.reward_chain_block.get_hash()CODE
CRITICALchia/wallet/wallet_rpc_api.py532 await self.service.wallet_state_manager.trade_manager.trade_store.get_trade_record(CODE
CRITICALchia/wallet/wallet_rpc_api.py537 await self.service.wallet_state_manager.trade_manager.trade_store.delete_trade_record(CODE
CRITICALchia/wallet/wallet_rpc_api.py1724 await self.service.wallet_state_manager.notification_manager.notification_store.get_notifications(CODE
CRITICALchia/wallet/wallet_rpc_api.py1731 await self.service.wallet_state_manager.notification_manager.notification_store.delete_notifications(CODE
CRITICALchia/wallet/wallet_rpc_api.py2096 all_trades = await self.service.wallet_state_manager.trade_manager.trade_store.get_trades_between(CODE
CRITICALchia/wallet/wallet_rpc_api.py2124 ) = await self.service.wallet_state_manager.trade_manager.trade_store.get_trades_count()CODE
CRITICALchia/full_node/full_node_api.py1407 f"{request.end_of_sub_slot_bundle.challenge_chain.challenge_chain_end_of_slot_vdf.challenge.hex()}. "CODE
Cross-File Repetition30 hits · 150 pts
SeverityFileLineSnippetContext
HIGHbenchmarks/mempool-long-lived.py0this is a subset of blockrecord that the mempool manager uses for peak.STRING
HIGHbenchmarks/mempool.py0this is a subset of blockrecord that the mempool manager uses for peak.STRING
HIGHchia/_tests/core/mempool/test_mempool_manager.py0this is a subset of blockrecord that the mempool manager uses for peak.STRING
HIGHchia/apis/harvester_stub.py0non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neveSTRING
HIGHchia/apis/introducer_stub.py0non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neveSTRING
HIGHchia/apis/solver_stub.py0non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neveSTRING
HIGHchia/apis/full_node_stub.py0non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neveSTRING
HIGHchia/apis/wallet_stub.py0non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neveSTRING
HIGHchia/apis/farmer_stub.py0non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neveSTRING
HIGHchia/apis/timelord_stub.py0non-functional api stub for timelordapi this is a protocol definition only - methods are not implemented and should neveSTRING
HIGHchia/harvester/harvester_rpc_client.py0client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects STRING
HIGHchia/farmer/farmer_rpc_client.py0client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects STRING
HIGHchia/full_node/full_node_rpc_client.py0client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects STRING
HIGHchia/rpc/rpc_client.py0client to chia rpc, connects to a local service. uses http/json, and converts back from json into native python objects STRING
HIGHchia/_tests/core/data_layer/test_data_store_schema.py0insert into root(tree_id, generation, node_hash, status) values(:tree_id, :generation, :node_hash, :status)STRING
HIGHchia/_tests/core/data_layer/test_data_store.py0insert into root(tree_id, generation, node_hash, status) values(:tree_id, :generation, :node_hash, :status)STRING
HIGHchia/data_layer/data_store.py0insert into root(tree_id, generation, node_hash, status) values(:tree_id, :generation, :node_hash, :status)STRING
HIGHchia/_tests/core/full_node/test_full_node.py0true when running on macos with an intel cpu (x86_64). used to skip slow test params.STRING
HIGHchia/_tests/util/test_full_block_utils.py0true when running on macos with an intel cpu (x86_64). used to skip slow test params.STRING
HIGHchia/_tests/blockchain/test_blockchain.py0true when running on macos with an intel cpu (x86_64). used to skip slow test params.STRING
HIGHchia/data_layer/dl_wallet_store.py0walletuserstore keeps track of all user created wallets and necessary smart-contract dataSTRING
HIGHchia/wallet/wallet_user_store.py0walletuserstore keeps track of all user created wallets and necessary smart-contract dataSTRING
HIGHchia/wallet/vc_wallet/vc_store.py0walletuserstore keeps track of all user created wallets and necessary smart-contract dataSTRING
HIGHchia/data_layer/data_layer_wallet.py0this must be called under the wallet state manager lockSTRING
HIGHchia/wallet/nft_wallet/nft_wallet.py0this must be called under the wallet state manager lockSTRING
HIGHchia/wallet/did_wallet/did_wallet.py0this must be called under the wallet state manager lockSTRING
HIGHchia/wallet/vc_wallet/cr_cat_wallet.py0notification from wallet state manager that wallet has been received.STRING
HIGHchia/wallet/nft_wallet/nft_wallet.py0notification from wallet state manager that wallet has been received.STRING
HIGHchia/wallet/did_wallet/did_wallet.py0notification from wallet state manager that wallet has been received.STRING
HIGHchia/wallet/cat_wallet/cat_wallet.py0notification from wallet state manager that wallet has been received.STRING
Modern Structural Boilerplate107 hits · 114 pts
SeverityFileLineSnippetContext
LOWinstallhelper.py64def update_version(package_json_path: str) -> None:CODE
LOW.github/scripts/malware_verdict_formatter.py17__all__ = [CODE
LOWchia/introducer/introducer.py61 def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None:CODE
LOWchia/introducer/introducer_api.py37 def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None:CODE
LOWchia/consensus/block_store_protocol.py45 async def set_in_chain(self, header_hashes: list[tuple[bytes32]]) -> None: ...CODE
LOWchia/consensus/block_store_protocol.py47 async def set_peak(self, header_hash: bytes32) -> None: ...CODE
LOWchia/consensus/block_body_validation.py96 def update_fork_peak(self, block: FullBlock, header_hash: bytes32) -> None:CODE
LOWchia/consensus/block_height_map.py143 def update_height(self, height: uint32, header_hash: bytes32, ses: SubEpochSummary | None) -> None:CODE
LOWchia/consensus/default_constants.py114def update_testnet_overrides(network_id: str, overrides: dict[str, Any]) -> None:CODE
LOWchia/plot_sync/sender.py177 def set_connection(self, connection: WSChiaConnection) -> None:CODE
LOWchia/pools/pool_wallet.py232 async def update_pool_config(self, action_scope: WalletActionScope) -> None:CODE
LOWchia/apis/__init__.py12__all__ = [CODE
LOWchia/types/blockchain_format/classgroup.py5__all__ = ["ClassgroupElement"]CODE
LOWchia/types/blockchain_format/vdf.py17__all__ = ["VDFInfo", "VDFProof"]CODE
LOWchia/types/blockchain_format/coin.py9__all__ = ["Coin", "coin_as_list", "hash_coin_ids"]CODE
LOW⚡chia/timelord/timelord_api.py45 def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None:CODE
LOW⚡chia/timelord/timelord.py221 def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None:CODE
LOW⚡chia/timelord/timelord.py228 def set_server(self, server: ChiaServer) -> None:CODE
LOWchia/timelord/timelord_state.py51 def set_state(self, state: timelord_protocol.NewPeakTimelord | EndOfSubSlotBundle) -> None:CODE
LOWchia/seeder/crawl_store.py167 async def update_best_timestamp(self, host: str, timestamp: uint64) -> None:CODE
LOWchia/seeder/crawl_store.py360 async def update_version(self, host: str, version: str, timestamp_now: uint64) -> None:CODE
LOWchia/seeder/crawler.py118 def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None:CODE
LOWchia/seeder/crawler.py322 def set_server(self, server: ChiaServer) -> None:CODE
LOWchia/seeder/peer_record.py28 def update_version(self, version: str, now: uint64) -> None:CODE
LOWchia/util/task_referencer.py13logger = logging.getLogger(__name__)CODE
LOWchia/util/file_keyring.py325 def set_key(self, service: str, user: str, key: Key) -> None:CODE
LOWchia/util/file_keyring.py358 def set_label(self, fingerprint: int, label: str) -> None:CODE
LOWchia/util/file_keyring.py462 def set_passphrase_hint(self, passphrase_hint: str | None) -> None:CODE
LOW⚡chia/util/keychain.py624 def set_cached_master_passphrase(passphrase: str | None) -> None:CODE
LOW⚡chia/util/keychain.py666 def set_master_passphrase_hint(current_passphrase: str, passphrase_hint: str | None) -> None:CODE
LOWchia/util/keychain.py52def set_keys_root_path(keys_root_path: Path) -> None:CODE
LOWchia/util/keychain.py409 def set_label(self, fingerprint: int, label: str) -> None:CODE
LOWchia/util/keyring_wrapper.py167 def set_keys_root_path(keys_root_path: Path) -> None:CODE
LOW⚡chia/util/keyring_wrapper.py211 def set_cached_master_passphrase(self, passphrase: str | None, validated: bool = False) -> None:CODE
LOWchia/util/db_version.py21async def set_db_version_async(db: aiosqlite.Connection, version: int) -> None:CODE
LOWchia/util/db_version.py27def set_db_version(db: sqlite3.Connection, version: int) -> None:CODE
LOWchia/util/action_scope.py116 def set_callback(self, new_callback: Callable[[StateInterface[_T_SideEffects]], Awaitable[None]] | None) -> None:CODE
LOWchia/harvester/harvester.py147 def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None:CODE
LOWchia/harvester/harvester.py275 def set_server(self, server: ChiaServer) -> None:CODE
LOW⚡chia/farmer/farmer.py345 def _set_state_changed_callback(self, callback: StateChangedProtocol) -> None:CODE
LOWchia/farmer/farmer.py381 def set_server(self, server: ChiaServer) -> None:CODE
LOWchia/farmer/farmer.py634 async def update_pool_state(self) -> None:CODE
LOWchia/farmer/farmer.py805 def set_reward_targets(self, farmer_target_encoded: str | None, pool_target_encoded: str | None) -> None:CODE
LOWchia/farmer/farmer.py817 async def set_payout_instructions(self, launcher_id: bytes32, payout_instructions: str) -> None:CODE
LOWchia/_tests/core/full_node/test_full_node.py3683 async def update_wallets(self, wallet_update: WalletUpdate) -> None:CODE
LOWchia/_tests/core/mempool/test_mempool_manager.py2638 def update_lineage(self, puzzle_hash: bytes32, coin_spend: CoinSpend | None) -> None:CODE
LOWchia/_tests/util/constants.py5__all__ = ["test_constants"]CODE
LOWchia/_tests/util/full_sync.py78 def set_received_message_callback(self, callback: ConnectionCallback) -> None:CODE
LOWchia/cmds/wallet_funcs.py463async def update_derivation_index(wallet_info: WalletClientInfo, index: int) -> None:CODE
LOW⚡chia/cmds/keys_funcs.py121def set_key_label(fingerprint: int, label: str) -> None:CODE
LOWchia/cmds/passphrase_funcs.py257def set_passphrase_hint(hint: str) -> None:CODE
LOWchia/cmds/beta_funcs.py92def update_beta_config(enabled: bool, path: Path, metrics_log_interval: int, config: dict[str, Any]) -> None:CODE
LOWchia/cmds/keys.py140def set_label_cmd(fingerprint: int, label: str) -> None:CODE
LOWchia/cmds/sim_funcs.py502async def set_auto_farm(rpc_port: int | None, root_path: Path, set_autofarm: bool) -> None:CODE
LOWchia/cmds/passphrase.py120def set_hint(hint: str) -> None:CODE
LOWchia/cmds/data.py18logger = logging.getLogger(__name__)CODE
LOW⚡chia/server/server.py242 def set_received_message_callback(self, callback: ConnectionCallback) -> None:CODE
LOWchia/server/server.py810 def set_capabilities(self, capabilities: list[tuple[uint16, str]]) -> None:CODE
LOW⚡chia/server/address_manager.py361 def _set_new_matrix(self, row: int, col: int, value: int) -> None:CODE
LOW⚡chia/server/address_manager.py370 def _set_tried_matrix(self, row: int, col: int, value: int) -> None:CODE
47 more matches not shown…
AI Structural Patterns88 hits · 75 pts
SeverityFileLineSnippetContext
LOWchia/consensus/block_creation.py540CODE
LOWchia/seeder/crawler_rpc_api.py60CODE
LOWchia/seeder/peer_record.py59CODE
LOWchia/util/file_keyring.py58CODE
LOWchia/util/network.py44CODE
LOWchia/util/ws_message.py66CODE
LOWchia/util/db_wrapper.py241CODE
LOWchia/util/db_wrapper.py298CODE
LOWchia/harvester/harvester_rpc_client.py27CODE
LOWchia/harvester/harvester_rpc_client.py33CODE
LOWchia/harvester/harvester_rpc_client.py39CODE
LOWchia/harvester/harvester_rpc_client.py45CODE
LOWchia/harvester/harvester_rpc_client.py54CODE
LOWchia/harvester/harvester.py241CODE
LOWchia/_tests/core/util/test_block_cache.py24CODE
LOWchia/_tests/core/data_layer/test_data_rpc.py2830CODE
LOWchia/_tests/core/mempool/test_mempool_manager.py341CODE
LOWchia/_tests/core/mempool/test_mempool_manager.py1047CODE
LOWchia/_tests/util/blockchain.py41CODE
LOWchia/_tests/blockchain/test_augmented_chain.py100CODE
LOWchia/_tests/blockchain/test_lookup_fork_chain.py75CODE
LOWchia/_tests/blockchain/test_build_chains.py106CODE
LOWchia/_tests/wallet/nft_wallet/test_nft_wallet.py118CODE
LOWchia/server/address_manager.py77CODE
LOWchia/server/chia_policy.py204CODE
LOWchia/daemon/server.py141CODE
LOWchia/daemon/server.py1566CODE
LOWchia/daemon/server.py1623CODE
LOWchia/daemon/server.py660CODE
LOWchia/daemon/server.py664CODE
LOWchia/daemon/server.py1240CODE
LOWchia/daemon/server.py1326CODE
LOWchia/daemon/server.py1332CODE
LOWchia/daemon/client.py110CODE
LOWchia/daemon/client.py116CODE
LOWchia/daemon/client.py122CODE
LOWchia/daemon/client.py128CODE
LOWchia/daemon/client.py150CODE
LOWchia/daemon/client.py155CODE
LOWchia/daemon/client.py171CODE
LOWchia/simulator/setup_services.py99CODE
LOWchia/simulator/block_tools.py2464CODE
LOWchia/simulator/block_tools.py837CODE
LOWchia/plotting/util.py153CODE
LOWchia/data_layer/data_layer_server.py103CODE
LOWchia/data_layer/data_layer_server.py118CODE
LOWchia/data_layer/data_layer_util.py943CODE
LOWchia/data_layer/data_layer_rpc_client.py16CODE
LOWchia/data_layer/data_layer_rpc_client.py21CODE
LOWchia/data_layer/data_layer_rpc_client.py28CODE
LOWchia/data_layer/data_layer_rpc_client.py42CODE
LOWchia/data_layer/data_layer_rpc_client.py55CODE
LOWchia/data_layer/data_layer_rpc_client.py59CODE
LOWchia/data_layer/data_layer_rpc_client.py63CODE
LOWchia/data_layer/data_layer_rpc_client.py76CODE
LOWchia/data_layer/data_layer_rpc_client.py89CODE
LOWchia/data_layer/data_layer_rpc_client.py93CODE
LOWchia/data_layer/data_layer_rpc_client.py97CODE
LOWchia/data_layer/data_layer_rpc_client.py101CODE
LOWchia/data_layer/data_layer_rpc_client.py105CODE
28 more matches not shown…
Redundant / Tautological Comments45 hits · 70 pts
SeverityFileLineSnippetContext
LOWchia/consensus/mmr.py33 # Check if x is "all ones" (1, 3, 7, 15...) -> Peak of perfect binary treeCOMMENT
LOWchia/_tests/core/full_node/test_hard_fork_utils.py72 # Set HARD_FORK2_HEIGHT to be close to block height but leave room for transitionCOMMENT
LOWchia/_tests/core/full_node/test_full_node.py4783 # Set limit to 0 to trigger queue full exceptionCOMMENT
LOWchia/_tests/wallet/nft_wallet/test_nft_wallet.py1653 # Check if the NFT owner DID is resetCOMMENT
LOWchia/_tests/wallet/did_wallet/test_did.py679 # Check if the DID wallet is created in the wallet2COMMENT
LOWchia/_tests/wallet/did_wallet/test_did.py1466 # Check if the DID wallet is created in the wallet2COMMENT
LOWchia/_tests/wallet/cat_wallet/test_trades.py741 # Check if unused index changedCOMMENT
LOWchia/_tests/wallet/cat_wallet/test_trades.py1080 # Check if unused index changedCOMMENT
LOW⚡chia/server/node_discovery.py443 # Check if the peer is having the default port of a network different than ours.COMMENT
LOW⚡chia/server/node_discovery.py449 # Check if we got the peers from a full node or from the introducer.COMMENT
LOWchia/daemon/server.py1343 # Check if we have a connection to the requested service. This might be theCOMMENT
LOWchia/plotting/create_plots.py212 # Check if args.memo is of type bytes and convert it to a string if soCOMMENT
LOWchia/plotting/create_plots.py221 # Check if args.memo is of type bytes and convert it to a string if soCOMMENT
LOW⚡chia/wallet/wallet_state_manager.py1004 # Check if the coin is clawbackCOMMENT
LOW⚡chia/wallet/wallet_state_manager.py1012 # Check if the coin is a VCCOMMENT
LOW⚡chia/wallet/wallet_state_manager.py1018 # Check if the coin is a PlotNFTCOMMENT
LOWchia/wallet/wallet_state_manager.py945 # Check if the coin is a CATCOMMENT
LOWchia/wallet/wallet_state_manager.py969 # Check if the coin is a NFTCOMMENT
LOWchia/wallet/wallet_state_manager.py981 # Check if the coin is a DIDCOMMENT
LOWchia/wallet/wallet_state_manager.py1092 # Check if the NFT is a bulk mintingCOMMENT
LOWchia/wallet/wallet_state_manager.py1324 # Check if the parent coin is a Clawback coinCOMMENT
LOWchia/wallet/wallet_state_manager.py1492 # Check if a child is a singleton launcherCOMMENT
LOWchia/wallet/wallet_state_manager.py2367 # Check if the metadata is updatedCOMMENT
LOWchia/wallet/wallet_state_manager.py2473 # Check if we have the DID walletCOMMENT
LOWchia/wallet/wallet_state_manager.py2493 # Check if the old wallet has the inner puzzleCOMMENT
LOWchia/wallet/wallet_node.py1380 # Check if any coin needs auto spendingCOMMENT
LOWchia/wallet/wallet_node.py1583 # Set blockchain to the latest peakCOMMENT
LOWchia/wallet/wallet_rpc_api.py2257 # Check if we have a DID wallet for thisCOMMENT
LOWchia/wallet/clawback_manager.py77 # Check if the wallet is the senderCOMMENT
LOWchia/wallet/clawback_manager.py81 # Check if the wallet is the recipientCOMMENT
LOWchia/wallet/vc_wallet/vc_wallet.py200 # Check if we own the DIDCOMMENT
LOWchia/wallet/vc_wallet/vc_wallet.py392 # Check if we own the DIDCOMMENT
LOWchia/wallet/nft_wallet/nft_wallet.py423 # Check if the wallet owns the DIDCOMMENT
LOWchia/wallet/puzzles/clawback/drivers.py143 # Check if the inner puzzle is a P2 puzzleCOMMENT
LOWchia/wallet/puzzles/clawback/drivers.py173 # Check if the inner puzzle matches the coin puzzle hashCOMMENT
LOWchia/wallet/did_wallet/did_wallet.py472 # Check if it was owned by usCOMMENT
LOWchia/wallet/cat_wallet/cat_wallet.py470 # Check if it is a special type of CATCOMMENT
LOWchia/wallet/cat_wallet/cat_wallet.py509 # Check if we already have a walletCOMMENT
LOWchia/full_node/coin_store.py122 # Check if legacy coin_parent_index index existsCOMMENT
LOWchia/full_node/full_node_api.py2098 # Check if the request would exceed the subscription limit now.COMMENT
LOWchia/full_node/full_node_api.py2139 # Check if the request would exceed the subscription limit.COMMENT
LOWchia/full_node/full_node_api.py2179 # Check if the request would exceed the subscription limit now.COMMENT
LOWchia/full_node/full_node_api.py2202 # Check if the request would exceed the subscription limit.COMMENT
LOWchia/full_node/mempool_manager.py263 # Check if this is an item that spends an older ff singletonCOMMENT
LOWchia/rpc/rpc_server.py421 # Set success to true automatically (unless it's already set)COMMENT
Over-Commented Block63 hits · 57 pts
SeverityFileLineSnippetContext
LOW.markdown-lint.yml1---COMMENT
LOWtools/chialispp.py281 else:COMMENT
LOWbuild_scripts/build_macos-2-installer.sh121# xcrun notarytool submit --wait --apple-id username --password password --team-id team-id Chia-0.1.X.dmgCOMMENT
LOWbuild_scripts/assets/deb/postinst.sh1#!/usr/bin/env bashCOMMENT
LOW.github/actionlint.yaml1self-hosted-runner:COMMENT
LOW.github/workflows/codeql-analysis.yml1# For most projects, this workflow file will not need changing; you simply needCOMMENT
LOW.github/workflows/test.yml281COMMENT
LOW.github/workflows/test.yml301 # sudo apt-get install junitparserCOMMENT
LOW.github/workflows/super-linter.yml1---COMMENT
LOW.github/workflows/dependency-cursor-review.yml1# Managed by repo-content-updaterCOMMENT
LOWchia/consensus/blockchain.py1061 # if this is empty, we shouldn't have called this function to begin withCOMMENT
LOWchia/types/generator_types.py21COMMENT
LOWchia/types/blockchain_format/program.py161 # Replicates the curry function from clvm_tools, taking advantage of *argsCOMMENT
LOWchia/util/initial-config.yaml281 # extending the chain.COMMENT
LOWchia/util/initial-config.yaml321 # "off" disables syncing, lightens disk load and improves performance.COMMENT
LOWchia/util/initial-config.yaml341 # block_creation_timeout: 2.0COMMENT
LOWchia/util/initial-config.yaml361COMMENT
LOWchia/util/initial-config.yaml381 # Choose a block that is deeply buried, far below the current peak. If thatCOMMENT
LOWchia/util/initial-config.yaml401COMMENT
LOWchia/util/initial-config.yaml421 # Initiate outbound connections until this number is hit.COMMENT
LOWchia/util/errors.py181 # modeCOMMENT
LOWchia/util/task_timing.py101# f_globalsCOMMENT
LOWchia/util/bech32m.py1# Copyright (c) 2017 Pieter WuilleCOMMENT
LOWchia/util/db_wrapper.py361 # all subsequent SAVEPOINTs to nest inside it, making every RELEASE aCOMMENT
LOWchia/_tests/core/test_merkle_set.py181 # this tree looks like this:COMMENT
LOWchia/_tests/core/test_merkle_set.py221 assert merkle_set.get_root() == bytes32(compute_merkle_set_root(list(vals)))COMMENT
LOWchia/_tests/core/test_merkle_set.py261 assert merkle_set.get_root() == expectedCOMMENT
LOW…a/_tests/core/full_node/stores/test_full_node_store.py661 ss_start_iters = peak.sp_sub_slot_total_iters(custom_block_tools.constants)COMMENT
LOWchia/_tests/core/full_node/full_sync/test_full_sync.py841# `_sync()`'s peer-confirmation gather loop: if the actual block weightCOMMENT
LOWchia/_tests/core/mempool/test_mempool_manager.py541 # ASSERT_BEFORE_HEIGHT_*COMMENT
LOWchia/_tests/core/mempool/test_mempool_manager.py561 (make_test_conds(before_seconds_relative=0), expect(before_seconds=10000)),COMMENT
LOWchia/_tests/core/mempool/test_mempool_manager.py1121 ([mk_item(coins[0:1])], mk_item(coins[0:1], fee=9999999), False),COMMENT
LOWchia/_tests/core/mempool/test_mempool.py1921 spend_bundle_0 = generate_test_spend_bundle(wallet_a, coin)COMMENT
LOWchia/_tests/core/mempool/test_mempool.py2621COMMENT
LOWchia/_tests/core/mempool/test_mempool.py2641# (defun iter (V N)COMMENT
LOWchia/_tests/core/mempool/test_mempool.py2661SINGLE_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
LOWchia/_tests/core/mempool/test_mempool.py2681# )COMMENT
LOWchia/_tests/core/mempool/test_mempool.py2701# (c (f L) (append (r L) B))COMMENT
LOWchia/_tests/generator/test_generator_types.py41 # gen_args_as_program = Program.from_bytes(bytes(gen_args))COMMENT
LOWchia/_tests/blockchain/test_blockchain.py841 # This can probably be fixed by:COMMENT
LOWchia/_tests/wallet/db_wallet/test_db_graftroot.py21# (mod solutionCOMMENT
LOWchia/_tests/wallet/rpc/test_wallet_rpc.py3381# $ chia keys generateCOMMENT
LOWchia/_tests/wallet/cat_wallet/test_trades.py1781 await trade_manager_maker.cancel_pending_offers(COMMENT
LOWchia/wallet/puzzles/singleton_top_layer.py41COMMENT
LOWchia/wallet/puzzles/singleton_top_layer.py61# `------------' `-------------------------------'COMMENT
LOWchia/wallet/puzzles/singleton_top_layer.py81#COMMENT
LOWchia/wallet/puzzles/singleton_top_layer.py101#COMMENT
LOWchia/wallet/puzzles/singleton_top_layer.py121# PH = NoneCOMMENT
LOWchia/wallet/puzzles/singleton_top_layer.py141# solution_for_singleton(L, amount, AI)COMMENT
LOWchia/wallet/puzzles/singleton_top_layer.py161#COMMENT
LOWchia/wallet/puzzles/singleton_top_layer_v1_1.py41#COMMENT
LOWchia/wallet/puzzles/singleton_top_layer_v1_1.py61# | > The Eve coinCOMMENT
LOWchia/wallet/puzzles/singleton_top_layer_v1_1.py81# its own purpose. Adaptations of the program I and its descendants areCOMMENT
LOWchia/wallet/puzzles/singleton_top_layer_v1_1.py101# Coin(Launcher.name(), puzzle_for_singleton(Launcher.name(), I), amount)COMMENT
LOWchia/wallet/puzzles/singleton_top_layer_v1_1.py121# - Note: the Eve singleton's .parent_coin_info should match Launcher here.COMMENT
LOWchia/wallet/puzzles/singleton_top_layer_v1_1.py141# truths.COMMENT
LOWchia/wallet/puzzles/singleton_top_layer_v1_1.py161#COMMENT
LOWchia/full_node/eligible_coin_spends.py341 # Nothing was fast forwarded, so the cost is unchanged.COMMENT
LOWchia/full_node/full_node.py1401 # But the limit is scaled to 30% for outbound messages, so that's 30COMMENT
LOWchia/full_node/mempool.py61# sum of all fees in the mempool be less than 2^63. That's the limit of sqlite'sCOMMENT
3 more matches not shown…
Decorative Section Separators16 hits · 51 pts
SeverityFileLineSnippetContext
MEDIUMchia/consensus/mmr.py13# ------------------------------------------------------------------------------COMMENT
MEDIUMchia/consensus/mmr.py15# ------------------------------------------------------------------------------COMMENT
MEDIUMchia/consensus/mmr.py88# ------------------------------------------------------------------------------COMMENT
MEDIUMchia/consensus/mmr.py90# ------------------------------------------------------------------------------COMMENT
MEDIUM⚡…ts/core/full_node/test_full_node_api_rate_hardening.py148# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ts/core/full_node/test_full_node_api_rate_hardening.py150# ---------------------------------------------------------------------------COMMENT
MEDIUM…ts/core/full_node/test_full_node_api_rate_hardening.py109# ---------------------------------------------------------------------------COMMENT
MEDIUM…ts/core/full_node/test_full_node_api_rate_hardening.py111# ---------------------------------------------------------------------------COMMENT
MEDIUM…ts/core/full_node/test_full_node_api_rate_hardening.py207# ---------------------------------------------------------------------------COMMENT
MEDIUM…ts/core/full_node/test_full_node_api_rate_hardening.py209# ---------------------------------------------------------------------------COMMENT
MEDIUMchia/simulator/ssl_certs.py18# ---------------------------------------------------------------------------COMMENT
MEDIUMchia/simulator/ssl_certs.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMchia/simulator/ssl_certs.py63# ---------------------------------------------------------------------------COMMENT
MEDIUMchia/simulator/ssl_certs.py65# ---------------------------------------------------------------------------COMMENT
MEDIUMchia/simulator/ssl_certs.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMchia/simulator/ssl_certs.py82# ---------------------------------------------------------------------------COMMENT
AI Slop Vocabulary23 hits · 44 pts
SeverityFileLineSnippetContext
LOWchia/consensus/blockchain.py575 # in the common case, we just add a block on top of the chain. CheckCOMMENT
LOWchia/seeder/dns_server.py434 # If this doesn't throw, we can just add to the listCOMMENT
MEDIUM⚡chia/util/files.py30 # If that fails, use the more robust shutil.move(), though it may internally initiate a copyCOMMENT
LOWchia/util/network.py191 selected_port = addresses[0][1] # no matches, just use the first one in the listCODE
LOWchia/util/db_wrapper.py496 # just use the existing transactionCOMMENT
LOWchia/_tests/clvm/test_restrictions.py56 # Attempt to just use any old dpuzCOMMENT
LOWchia/_tests/clvm/test_restrictions.py118 # Attempt to just use any old dpuzCOMMENT
LOW⚡chia/_tests/core/util/test_keyring_wrapper.py351 # Expect: to retrieve the passphrase hint that was just setCOMMENT
LOW⚡chia/_tests/core/util/test_keyring_wrapper.py369 # Expect: to retrieve the passphrase hint that was just setCOMMENT
LOW⚡chia/_tests/core/util/test_keyring_wrapper.py390 # Expect: to retrieve the passphrase hint that was just setCOMMENT
LOW⚡chia/_tests/core/util/test_keyring_wrapper.py398 # Expect: to retrieve the passphrase hint that was just setCOMMENT
LOWchia/_tests/core/data_layer/test_data_rpc.py4145 # ignore and just return empty responseCOMMENT
MEDIUMchia/_tests/util/time_out_assert.py161 # TODO: rework to leverage time_out_assert_custom_interval() such as by allowingCOMMENT
MEDIUMchia/_tests/cmds/test_cmd_framework.py62 # We hack this in because more robust solutions are harder and probably not worth itCOMMENT
LOWchia/_tests/blockchain/test_augmented_chain.py115 # before adding anything to the augmented blockchain, make sure we just passCOMMENT
LOWchia/_tests/wallet/sync/test_wallet_sync.py1580 # This can just return None if we have `none_response` enabled.COMMENT
MEDIUMchia/cmds/passphrase_funcs.py111 # We'll rely on Keyring initialization to leverage the cached passphrase forCOMMENT
LOWchia/server/server.py739 return None # server doesn't have a local port, just return None hereCODE
LOWchia/server/signal_handlers.py115 # This is a bit vague so let's just use a thread safe call for WindowsCOMMENT
LOW⚡chia/data_layer/data_layer.py1034 # don't actually subscribe, just add to the listCOMMENT
LOWchia/wallet/puzzles/custody/custody_architecture.py138 # so we just return the branch as isCOMMENT
LOWchia/wallet/cat_wallet/cat_utils.py24ANYONE_CAN_SPEND_PUZZLE = Program.to(1) # simply return the conditionsCODE
LOWchia/full_node/full_node_api.py314 # If there's current pending request just add this peer to the set of peers that have this txCOMMENT
Cross-Language Confusion8 hits · 36 pts
SeverityFileLineSnippetContext
HIGHchia/consensus/challenge_tree.py136 Each merkle leaf contains: hash(challenge_hash || block_count)STRING
HIGH⚡chia/types/blockchain_format/proof_of_space.py132 Formula: sha256(strength || plot_pk || pool_info)STRING
HIGH⚡chia/_tests/core/custom_types/test_proof_of_space.py545 plot_group_id = sha256(strength || plot_pk || pool_info)STRING
HIGH⚡chia/_tests/core/custom_types/test_proof_of_space.py546 plot_id = sha256(plot_group_id || plot_index || meta_group)STRING
HIGH⚡chia/_tests/core/custom_types/test_proof_of_space.py565 """Verify that sha256(group_id || plot_index || meta_group) == compute_plot_id."""STRING
HIGHchia/_tests/blockchain/test_augmented_chain.py113 abc = AugmentedBlockchain(null)CODE
HIGH⚡chia/wallet/wallet_protocol.py56 # require_derivation_paths() return trueCOMMENT
HIGHchia/full_node/mempool_manager.py192 and will make this function return falseSTRING
Modern AI Meta-Vocabulary6 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMchia/plot_sync/sender.py203 # TODO: switch to event driven codeCOMMENT
MEDIUMchia/seeder/dns_server.py91 # TODO: switch to event driven codeCOMMENT
MEDIUM⚡chia/farmer/farmer.py354 # TODO: switch to event driven codeCOMMENT
MEDIUMchia/_tests/core/server/flood.py60 # TODO: switch to event driven codeCOMMENT
MEDIUMchia/_tests/core/server/serve.py82 # TODO: switch to event driven codeCOMMENT
MEDIUMchia/_tests/core/server/serve.py100 # TODO: switch to event driven codeCOMMENT
Slop Phrases9 hits · 16 pts
SeverityFileLineSnippetContext
LOWchia/consensus/blockchain.py460 # make sure to update _peak_height after the transaction is committed,COMMENT
MEDIUMchia/util/initial-config.yaml730 # If you need use a proxy for download data you can use this setting sampleCOMMENT
LOWchia/_tests/conftest.py597# If you add another test chain, don't forget to also add a "build_test_chains"COMMENT
LOWchia/_tests/conftest.py597# If you add another test chain, don't forget to also add a "build_test_chains"COMMENT
MEDIUMchia/_tests/pools/test_pool_cmdline.py627 # Here you can use None as the wallet_id and the code will pick the only pool wallet automaticallyCOMMENT
LOWchia/_tests/util/test_network_protocol_test.py45 # if these asserts fail, make sure to add the new network protocol messagesCOMMENT
LOWchia/_tests/util/test_network_protocol_test.py238 # if these asserts fail, make sure to add the new network protocol messagesCOMMENT
LOWchia/wallet/wallet_node_api.py57 # For trusted peers check if there are untrusted peers, if so make sure to disconnect them if the trusted nodeCOMMENT
LOWchia/full_node/full_node.py2475 # We need to make sure to always call this method even when we get a cancel exception, to make sureCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHchia/full_node/eligible_coin_spends.py63 Performs a singleton fast forward, including the updating of all previous additions to point to the most recentSTRING
HIGHchia/full_node/eligible_coin_spends.py151 Checks all coin spends of a mempool item for deduplication eligibility and provides the caller with theSTRING
HIGHchia/full_node/eligible_coin_spends.py238 Provides the caller with a map that has a proper state of fast forwarded coin spends and additions starSTRING
Dead Code6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMchia/_tests/farmer_harvester/test_farmer.py1639CODE
MEDIUMchia/_tests/blockchain/test_build_chains.py129CODE
MEDIUMchia/_tests/blockchain/test_build_chains.py133CODE
MEDIUMchia/_tests/blockchain/test_build_chains.py135CODE
MEDIUMchia/_tests/blockchain/test_build_chains.py149CODE
MEDIUMchia/_tests/blockchain/test_build_chains.py153CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWchia/_tests/wallet/nft_wallet/test_nft_lifecycle.py46 # TODO: Add test for updateableCOMMENT
LOWchia/data_layer/data_store.py236 # TODO: consider adding transactions around this codeSTRING
LOWchia/data_layer/data_layer_util.py151 # TODO: implement for internal nodes. currently this prints only terminal nodesCOMMENT