Repository Analysis

lightningnetwork/lnd

Lightning Network Daemon ⚡️

3.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of lightningnetwork/lnd, a Go project with 8,160 GitHub stars. SynthScan v2.0 examined 853,854 lines of code across 2109 source files, recording 2600 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 3.4 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

3.4
Adjusted Score
3.4
Raw Score
100%
Time Factor
2026-07-13
Last Push
8.2K
Stars
Go
Language
853.9K
Lines of Code
2.1K
Files
2.6K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 2HIGH 4MEDIUM 64LOW 2530

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2600 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block2266 hits · 2159 pts
SeverityFileLineSnippetContext
LOWconfig.go161 // Set defaults for a health check which ensures that the remote signerCOMMENT
LOWconfig.go181COMMENT
LOWconfig.go201 // defaultPendingCommitInterval specifies the default timeout valueCOMMENT
LOWconfig.go221 // used by default to fund transactions.COMMENT
LOWconfig.go601 // out to on cooperative channel close. This applies to all new channelCOMMENT
LOWconfig.go621 ServerPingTime time.Duration `long:"server-ping-time" description:"How long the server waits on a gRPC stream with no aCOMMENT
LOWconfig.go641// the value the rate limiter charges via OnionMessage.WireSize() for aCOMMENT
LOWconfig.go2201// not start with a digit.COMMENT
LOWsubrpcserver_config.go41// subRPCServerConfigs is special sub-config in the main configuration thatCOMMENT
LOWsubrpcserver_config.go61COMMENT
LOWsubrpcserver_config.go81 // payment related queries such as requests for estimates of off-chainCOMMENT
LOWserver.go121 // ErrPeerNotConnected signals that the server has no connection to theCOMMENT
LOWserver.go141 //COMMENT
LOWserver.go261 // automatically set up port forwarding rules in order to advertise toCOMMENT
LOWserver.go301 peerErrors map[string]*queue.CircularBufferCOMMENT
LOWserver.go441 // computed once during server start and returned by the per-peerCOMMENT
LOWserver.go601 }COMMENT
LOWserver.go721 "in a standalone lnd build")COMMENT
LOWserver.go1621 // the channel amount and push amount. For largeCOMMENT
LOWserver.go2001// registerBlockConsumers registers the subsystems that consume block events.COMMENT
LOWserver.go3881// disconnected for good cause by the server. Currently, a gossip ban fromCOMMENT
LOWserver.go4341 s.peerConnected(conn, connReq, false)COMMENT
LOWserver.go4781 // Since the peer has been fully initialized, now it's time to notifyCOMMENT
LOWrpcserver.go581COMMENT
LOWrpcserver.go2161 } else {COMMENT
LOWrpcserver.go2801 if err != nil {COMMENT
LOWrpcserver.go6621// route to a target destination capable of carrying a specific amount ofCOMMENT
LOWrpcserver.go6661COMMENT
LOWrpcserver.go8061 // channel during shutdown or cancellation, soCOMMENT
LOWrpcserver.go8381 Valid: true,COMMENT
LOWrpcserver.go8541COMMENT
LOWtls_manager.go61 HTTPHeaderTimeout time.DurationCOMMENT
LOWtls_manager.go141 // We set this to 200MiB atm. Should be the same value as maxMsgRecvSizeCOMMENT
LOW.golangci.yml41COMMENT
LOWconfig_builder.go81 // that migrates the KV graph to the native SQL schema.COMMENT
LOWconfig_builder.go101// that wants to be able to register its own REST mux onto lnd's mainCOMMENT
LOWconfig_builder.go201 // AuxFundingController is an optional controller that can be used toCOMMENT
LOWconfig_builder.go281}COMMENT
LOWconfig_builder.go1141 ctx, dbs.ChanStateDB.Backend,COMMENT
LOWchanrestore.go21const (COMMENT
LOWchanrestore.go261 channel := chanShell.ChanCOMMENT
LOWchanrestore.go321// A compile-time constraint to ensure chanDBRestorer implementsCOMMENT
LOWaccessman.go21 // the server mutex.COMMENT
LOWlnd.go41 "google.golang.org/grpc/credentials"COMMENT
LOWlnd.go61COMMENT
LOWtlv/stream.go61// MustNewStream creates a new TLV Stream given an encoding codec, a decodingCOMMENT
LOWtlv/stream.go121// [varint: type]COMMENT
LOWpayments/db/test_harness.go21 // AssertNoIndex checks that an index for a sequence number doesn'tCOMMENT
LOWpayments/db/query.go1package paymentsdbCOMMENT
LOWpayments/db/query.go21 // MaxPayments is the maximal number of payments returned in theCOMMENT
LOWpayments/db/query.go41 // all payments with a creation date greater than or equal to it.COMMENT
LOWpayments/db/query.go61 Payments []*MPPaymentCOMMENT
LOWpayments/db/payment_status.go141// Together, we use four variables to determine the payment's status,COMMENT
LOWpayments/db/payment_status.go161// | false | true | false | true | StatusSucceeded |COMMENT
LOWpayments/db/payment_status.go201 // If any of the HTLCs are not failed nor settled, weCOMMENT
LOWpayments/db/payment_status.go221 // received.COMMENT
LOWpayments/db/sql_store.go101 SQLQueriesCOMMENT
LOWpayments/db/sql_store.go641COMMENT
LOWpayments/db/sql_store.go661// - Metadata: CountTotal flag determines if the total payment count shouldCOMMENT
LOWpayments/db/sql_store.go941// least one HTLC attempt that has been registered but has no resolution record.COMMENT
2206 more matches not shown…
Structural Annotation Overuse228 hits · 370 pts
SeverityFileLineSnippetContext
LOWserver.go2220// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go2248// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go2765// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go2934// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go3847// NOTE: This method MUST be run as a goroutine.COMMENT
LOWserver.go3901// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go3951// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go4033// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go4047// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go4130// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go4226// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go5161// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go5267// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go5306// NOTE: This function is safe for concurrent access.COMMENT
LOWserver.go5364// NOTE: This function is safe for concurrent access.COMMENT
LOWpayments/db/migration1/sqlc/db_custom.go60// NOTE: This method is part of the PaymentAndIntent interface.COMMENT
LOWpayments/db/migration1/sqlc/db_custom.go69// NOTE: This method is part of the PaymentAndIntent interface.COMMENT
LOWpayments/db/migration1/sqlc/db_custom.go83// NOTE: This method is part of the PaymentAndIntent interface.COMMENT
LOWpayments/db/migration1/sqlc/db_custom.go92// NOTE: This method is part of the PaymentAndIntent interface.COMMENT
LOWcontractcourt/contract_resolver.go58 // NOTE: This function MUST be run as a goroutine.COMMENT
LOWcontractcourt/commit_sweep_resolver.go133// NOTE: This function MUST be run as a goroutine.COMMENT
LOWcontractcourt/chain_arbitrator.go856 // NOTE: This method will timeout if the processing of blocks of theCOMMENT
LOWcontractcourt/briefcase.go118 // NOTE: This method only exists in order to be able to serve nodes hadCOMMENT
LOWshachain/store.go107// NOTE: This function is part of the Store interface.COMMENT
LOWshachain/store.go130// NOTE: This function is part of the Store interface.COMMENT
LOWshachain/store.go163// NOTE: This function is part of the Store interface.COMMENT
LOWnetann/channel_update.go76// NOTE: This method modifies the given update.COMMENT
LOWnetann/chan_status_manager.go335// NOTE: This method MUST be run as a goroutine.COMMENT
LOWrpcperms/interceptor.go519// NOTE: This method is part of the macaroons.CustomCaveatAcceptor interface.COMMENT
LOWinvoices/update.go411// NOTE: This function is only kept in place in order to be able to handle keyCOMMENT
LOWinput/musig2.go73 // NOTE: This method is mutually exclusive with MuSig2RegisterNonces forCOMMENT
LOWinput/musig2.go167 // NOTE: This method is mutually exclusive with RegisterPubNonce. OnceCOMMENT
LOWinput/signer.go31 // NOTE: This method will ignore any tweak parameters set within theCOMMENT
LOWinput/musig2_session_manager.go311// NOTE: This method is mutually exclusive with MuSig2RegisterNonces for theCOMMENT
LOWgraph/builder.go1035// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1079// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1176// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1294// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1309// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1324// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1334// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1357// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1367// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1385// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1393// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1405// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1417// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/builder.go1476// NOTE: This method is part of the ChannelGraphSource interface.COMMENT
LOWgraph/db/graph_cache.go345// NOTE: This method should be considered _read only_, the channels or nodesCOMMENT
LOWgraph/db/migration1/sqlc/db_custom.go56// NOTE: This method is part of the ChannelAndNodes interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go63// NOTE: This method is part of the ChannelAndNodes interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go70// NOTE: This method is part of the ChannelAndNodes interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go90// NOTE: This method is part of the ChannelAndNodeIDs interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go97// NOTE: This method is part of the ChannelAndNodeIDs interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go104// NOTE: This method is part of the ChannelAndNodeIDs interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go111// NOTE: This method is part of the ChannelAndNodes interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go118// NOTE: This method is part of the ChannelAndNodes interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go125// NOTE: This method is part of the ChannelAndNodeIDs interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go132// NOTE: This method is part of the ChannelAndNodeIDs interface.COMMENT
LOWgraph/db/migration1/sqlc/db_custom.go139// NOTE: This method is part of the ChannelAndNodeIDs interface.COMMENT
168 more matches not shown…
Decorative Section Separators29 hits · 130 pts
SeverityFileLineSnippetContext
MEDIUMcontractcourt/utxonursery.go87// ┌────────────────┐ ┌──────────────┐COMMENT
MEDIUMcontractcourt/utxonursery.go89// └────────────────┘ └──────────────┘COMMENT
MEDIUMcontractcourt/utxonursery.go93// ┌───────────┼────────────────┬───────────┼───────────────────────────────┐COMMENT
MEDIUMcontractcourt/utxonursery.go98// │ │ ┌──────┐ │COMMENT
MEDIUMcontractcourt/utxonursery.go100// │ │ └──────┘ │COMMENT
MEDIUMcontractcourt/utxonursery.go116// │ ┌──────┐ │ │COMMENT
MEDIUMcontractcourt/utxonursery.go118// │ └──────┘ │ │COMMENT
MEDIUMcontractcourt/utxonursery.go127// │ │ ┌──────┐ │COMMENT
MEDIUMcontractcourt/utxonursery.go129// │ └──────┘ │COMMENT
MEDIUMcontractcourt/utxonursery.go144// │ ┌──────┐ │COMMENT
MEDIUMcontractcourt/utxonursery.go146// │ └──────┘ │COMMENT
MEDIUMcontractcourt/utxonursery.go150// └────────────────────────────────────────┼───────────────────────────────┘COMMENT
MEDIUMcontractcourt/utxonursery.go156// ┌────────────────┐COMMENT
MEDIUMcontractcourt/utxonursery.go158// └────────────────┘COMMENT
MEDIUMwatchtower/wtclient/queue.go148 // ┌─────────┐ drainInputList ┌──────────┐COMMENT
MEDIUMwatchtower/wtclient/queue.go149 // │inputList├─────┬──────────►│disk/db │COMMENT
MEDIUMwatchtower/wtclient/queue.go150 // └─────────┘ │ └──────────┘COMMENT
MEDIUMwatchtower/wtclient/queue.go152 // │ ┌──────────┐COMMENT
MEDIUMwatchtower/wtclient/queue.go153 // └──────────►│inputChan │COMMENT
MEDIUMwatchtower/wtclient/queue.go154 // └──────────┘COMMENT
MEDIUMwatchtower/wtclient/queue.go156 // ┌─────────┐ feedMemQueue ┌──────────┐COMMENT
MEDIUMwatchtower/wtclient/queue.go157 // │disk/db ├───────┬────────►│memQueue │COMMENT
MEDIUMwatchtower/wtclient/queue.go158 // └─────────┘ │ └──────────┘COMMENT
MEDIUMwatchtower/wtclient/queue.go160 // ┌─────────┐ │COMMENT
MEDIUMwatchtower/wtclient/queue.go161 // │inputChan├───────┘COMMENT
MEDIUMwatchtower/wtclient/queue.go162 // └─────────┘COMMENT
MEDIUMwatchtower/wtclient/queue.go164 // ┌─────────┐ feedOutputChan ┌──────────┐COMMENT
MEDIUMwatchtower/wtclient/queue.go165 // │memQueue ├────────────────►│outputChan│COMMENT
MEDIUMwatchtower/wtclient/queue.go166 // └─────────┘ └──────────┘COMMENT
AI Slop Vocabulary35 hits · 104 pts
SeverityFileLineSnippetContext
MEDIUMserver.go1705 // utilize the full bandwidth of the channel, minus ourCOMMENT
MEDIUMserver.go1715 // By default, we'll permit them to utilize the fullCOMMENT
MEDIUMserver.go4114// utilize the ordering of the local and remote public key. If we didn't useCOMMENT
MEDIUMtlv/record.go71// Record (the type). This makes it seamless to mix primitive and dynamicCOMMENT
MEDIUMpayments/db/sql_store.go960// payments and would better leverage the existing pagination infrastructure.COMMENT
MEDIUMpayments/db/migration1/sql_store.go1032// payments and would better leverage the existing pagination infrastructure.COMMENT
MEDIUMkvdb/etcd/readwrite_bucket.go80 // which put a revision "lock" in the read set. We can leverage thisCOMMENT
MEDIUMinvoices/invoiceregistry_test.go2236// received. Moreover it points out some TODOs to make AMP invoices more robust.COMMENT
MEDIUMchanacceptor/interface.go21// can each leverage their own decision-making with this information.COMMENT
MEDIUMgraph/db/kv_store.go1233// utilize an existing db transaction.COMMENT
MEDIUMgraph/db/migration1/kv_store.go641// utilize an existing db transaction.COMMENT
MEDIUMdiscovery/bootstrapper.go50// MultiSourceBootstrap attempts to utilize a set of NetworkPeerBootstrapperCOMMENT
MEDIUMdiscovery/sync_manager.go94 // will utilize this in order to create and respond to channel graphCOMMENT
MEDIUMdiscovery/validation_barrier_test.go273 // occasionally. This tests that the VB is robust against ordering /COMMENT
MEDIUMdiscovery/gossiper.go222 // peer will utilize this in order to create and respond to channelCOMMENT
MEDIUMchanstate/open_channel.go840 // robust key for matching the same HTLC across commitment snapshots.COMMENT
MEDIUMpeer/brontide.go2145// particular channel link in the htlcswitch. We utilize additionalCOMMENT
MEDIUMhtlcswitch/switch.go2904 // sender selected, while optimistically trying all links to utilizeCOMMENT
MEDIUMhtlcswitch/hop/payload.go508 // payment-related features that they utilize other than tlv-onion,COMMENT
MEDIUMlnwire/channel_reestablish.go225 // still utilize the io.Reader interface.COMMENT
MEDIUMlntest/harness.go918 // SpendUnconfirmed is a boolean indicating whether we can utilizeCOMMENT
MEDIUMlntest/btcd.go120 // tests more robust. We might need to restart the backend while thereCOMMENT
MEDIUMlntest/harness_setup.go95 // settings to make the tests more robust. We might need to restart theCOMMENT
MEDIUMlntest/unittest/backend.go59 // tests more robust. We might need to restart the backend while thereCOMMENT
MEDIUMchanneldb/forwarding_log.go355 // utilize pagination to seek further.COMMENT
MEDIUMchanneldb/migration/lnwire21/channel_reestablish.go113 // still utilize the io.Reader interface.COMMENT
LOWscripts/gen_sqlc_docker.sh28# numbers anyway, independent of the column type. So we can just useCOMMENT
MEDIUMautopilot/prefattach.go69// in/out of the node available via its open channels) and utilize theCOMMENT
MEDIUMlnrpc/signrpc/signer_server.go296 // deserialize it into something that we can properly utilize.COMMENT
MEDIUMlnrpc/signrpc/signer_server.go526 // deserialize it into something that we can properly utilize.COMMENT
MEDIUMlnwallet/reservation.go895// utilize the now freed resources.COMMENT
MEDIUMlnwallet/interface.go229// a "higher" level of abstraction. Essentially, an overlay wallet.COMMENT
MEDIUMlnwallet/interface.go609// to the network, or just arbitrary messages that leverage the wallet's keysCOMMENT
MEDIUMlnwallet/btcwallet/psbt.go542// private key in order to utilize the tweaks, if populated.COMMENT
MEDIUMlnwallet/btcwallet/signer.go242// in order to utilize the tweaks, if populated. If both tweak parameters areCOMMENT
Verbosity Indicators19 hits · 30 pts
SeverityFileLineSnippetContext
LOWaccessman.go167 // restricted, then we need to check if we even have a slot for thisCOMMENT
LOWaccessman.go314 // If this peer is temporary, we need to check if it willCOMMENT
LOWwalletunlocker/service.go802 // Before we actually change the password, we need to check if all flagsCOMMENT
LOWitest/lnd_invoice_migration_test.go174 // Step 1: Add 10 normal invoices and pay 5 of them.COMMENT
LOWitest/lnd_invoice_migration_test.go196 // Step 2: Add 10 AMP invoices and send multiple payments to 5 of them.COMMENT
LOWitest/lnd_payment_migration_test.go78 // Step 1: Send payments from Alice to Bob before the migration. TheseCOMMENT
LOWitest/lnd_payment_migration_test.go115 // Step 2: Start Alice with --db.use-native-sql to trigger theCOMMENT
LOWitest/lnd_payment_migration_test.go131 // Step 3: Send payments after the migration. These must land in theCOMMENT
LOWfn/goroutine_manager.go97 // Before continuing to start the goroutine, we need to check if theCOMMENT
LOWsqldb/paginate.go267 // Step 1: Fetch the next page of items.COMMENT
LOWsqldb/paginate.go279 // Step 2: Collect identifiers from this page and batch loadCOMMENT
LOWsqldb/paginate.go297 // Step 3: Process each item in this page with the shared batchCOMMENT
LOWsqldb/v2/paginate.go267 // Step 1: Fetch the next page of items.COMMENT
LOWsqldb/v2/paginate.go279 // Step 2: Collect identifiers from this page and batch loadCOMMENT
LOWsqldb/v2/paginate.go297 // Step 3: Process each item in this page with the shared batchCOMMENT
LOWlnwallet/test/test_interface.go2197 // Step 1: create a new miner and start it.COMMENT
LOWlnwallet/test/test_interface.go2208 // Step 2: connect the miner to the passed miner and wait forCOMMENT
LOWlnwallet/test/test_interface.go2215 // Step 3: Do a set of reorgs by disconnecting the two miners, miningCOMMENT
LOWlnwallet/test/test_interface.go2259 // Step 5: Reconnect the miners and wait for them to synchronize.COMMENT
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHnetann/chan_status_manager_test.go392 // Initialize link status as requested.COMMENT
HIGHinvoices/sql_store.go489 // Now that we got the invoice itself, fetch the HTLCs as requested byCOMMENT
HIGHgraph/db/migration1/sql_migration.go707 // as requested.COMMENT
HIGHwatchtower/wtclient/errors.go30 // acquire a new session as requested.COMMENT
Redundant / Tautological Comments15 hits · 25 pts
SeverityFileLineSnippetContext
LOWscripts/check-go-version-yaml.sh12 # Check if any lines specify the Go version.COMMENT
LOWscripts/check-go-version-yaml.sh18 # Check if the extracted Go version matches the required version.COMMENT
LOWscripts/check-go-version-yaml.sh38 # Check if any lines specify the Go version.COMMENT
LOWscripts/check-go-version-yaml.sh48 # Check if the extracted Go version matches the required version.COMMENT
LOWscripts/check-go-version-yaml.sh58# Check if the target Go version argument is provided.COMMENT
LOWscripts/gen_man_pages.sh5# Check if lncli is installed.COMMENT
LOWscripts/unit-test-flake-hunter.sh3# Check if pkg and case variables are provided.COMMENT
LOWscripts/gen_sqlc_docker.sh16# Set trap to call restore_files on script exit. This makes sure the old filesCOMMENT
LOWscripts/check-go-version-dockerfile.sh11 # Check if all lines have the required Go version.COMMENT
LOWscripts/check-go-version-dockerfile.sh24# Check if the target Go version argument is provided.COMMENT
LOWscripts/release.sh156 # Check if the active Go version matches the specified Go version.COMMENT
LOWscripts/check-pgp-expiry.sh17# Check if a key has expired or is expiring soonCOMMENT
LOWscripts/bw-compatibility-test/network.sh67 # Check if timeout has been reachedCOMMENT
LOW.github/workflows/backport.yml59 # Check if branch exists in remoteCOMMENT
LOW.github/workflows/stats.yml17 # Check if the PR is from the base repo (not a fork). Only theCOMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALfunding/manager_test.go2477 pendingChannels, err := bob.fundingMgr.cfg.Wallet.Cfg.Database.FetchPendingChannels()CODE
CRITICALfunding/manager_test.go2526 pendingChannels, err := alice.fundingMgr.cfg.Wallet.Cfg.Database.FetchPendingChannels()CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMscripts/itest_parallel.sh11# Create a variable to hold the final exit code.COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOWlnrpc/lightning.yaml5# Please make sure to also update the `metadata.go` file when editing this fileCOMMENT