Amber nodes are monitored by CommitWatch. Gray nodes are sampled from authenticated GitHub public commit search and may not represent complete contribution history.
This commit is a routine code cleanup in LND's database migration system. It narrows a Go interface so that production code only exposes the migration method actually needed at runtime, while test-only helpers move to the concrete database…
This commit fixes a small configuration bug in LND's SQLite database setup. Previously, the user-supplied 'MaxConnections' setting was ignored and a hardcoded default was always used. Now the configured value is respected if it is greater …
configuration value ignored (CWE-665 / CWE-1004-like)resource limit not appliedpotential for excessive database connections if default is higher than operator intent
This commit is a simple rename of an internal variable and its comment from `postgresErrMsgs` to `postgresRetriableErrMsgs`. No code behavior changes; it only improves readability. There is no security relevance.
This commit simply renames an internal error variable from ErrRetriesExceeded to ErrTxRetriesExceeded across three files. The error message text and behavior remain unchanged. There is no security relevance.
This commit only fixes three incorrect sentences in the user-facing documentation for database connection settings. It does not change any code behavior, defaults, or limits. There is no security issue in the commit itself.
This commit is a simple code cleanup: it renames a data structure called MigrationConfig to MigrationDescriptor and updates related comments and field names. There is no change to how the program behaves, no bug fix, and no security releva…
This commit adds two new user-configurable knobs for SQLite connection pool management in LND: how many idle database connections to keep open, and how long a single connection may be reused before being closed. It is a routine feature/con…
This commit fixes a small configuration mistake in LND's SQLite database setup. Previously, the code used the same limit for both 'open' and 'idle' database connections, when it should have used separate limits. This is a code-quality and …
No security-relevant signals present in commit or diffChange is a constant substitution for database connection pool tuning
This commit only adds a comment to source code explaining that a placeholder 'SqliteStore' struct exists solely to keep builds working when SQLite support is disabled. No code behavior changed, and there is no security issue.
This commit changes a test helper that spins up temporary PostgreSQL databases inside Docker containers during automated testing. It gives each container a predictable, test-specific name instead of letting Docker generate a random one. Th…
This commit simply moves three SQLite test helper functions from one file to a new file. It is a code organization change with no functional changes to the actual Lightning Network node software. There is no security issue here.
This commit is a routine internal refactoring of the database helper code in LND's new sqldb/v2 package. It removes a dependency on the older sqldb/sqlc package, adds a way to track whether SQLite or Postgres is being used at runtime, and …
This commit simply renames two test helper files from ending in '_test.go' to starting with 'test_'. The code inside the files is unchanged. It is a routine cleanup to make the file names better describe that these files contain helper uti…
This commit is a routine feature-sync between two internal database packages. It adds new configuration knobs, improves retry logic, updates a Postgres driver, and adds helper functions for SQL type conversions. There is no direct evidence…
Dependency update: pgx/v5 driver upgraded from 5.5.4 to 5.7.4 (may include upstream fixes, but no specific CVE is referenced in the commit)New `RequireSSL` Postgres config flag added (security-relevant option, but default behavior is not shown to change)Retry logic expanded to handle deadlock errors in addition to serialization errors (resilience improvement)
This commit refactors how LND's new sqldb/v2 package runs database migrations. It replaces a hand-rolled migration loop with a new MigrationStream abstraction, adds automatic SQLite backups before migrations, prevents accidental database d…
New dirty-state guard aborts migrations if a previous migration failedNew downgrade guard prevents running older code against a newer schemaSQLite migrations now create a VACUUM INTO backup before upgrading
This commit is a straightforward code reorganization: it copies existing, non-LND-specific database helper code from the sqldb/v1 module into a new sqldb/v2 module. There are no functional changes, bug fixes, or security patches visible in…
This commit is a routine code refactor that introduces a new data structure called MigrationSet (also referred to as MigrationStream in the title) for organizing database migrations. It does not fix a bug, change security logic, or alter h…
This commit creates a brand-new, empty code module called sqldb/v2. It only adds a Go module definition, dependency checksums, and a simple logging helper. There is no actual database logic, no user input handling, and no security-sensitiv…
This commit simply adds a new trusted PGP public key for a person named ViktorT-11 to the list of keys used by LND's release-signature verification script. It does not change any code logic, fix any bug, or introduce any vulnerability. It …