Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

db: refactor db opening #649

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

hieblmi
Copy link
Collaborator

@hieblmi hieblmi commented Oct 12, 2023

In preparation of #642, this PR extracts the db opening into its own util function and exposes the BaseDB struct in the daemon.

@hieblmi hieblmi requested review from sputn1ck and bhandras and removed request for bhandras and sputn1ck October 12, 2023 15:08
@GeorgeTsagk GeorgeTsagk self-requested a review October 12, 2023 16:12
Copy link
Member

@bhandras bhandras left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, pending nits.

loopd/daemon.go Show resolved Hide resolved
loopd/utils.go Outdated Show resolved Hide resolved
loopd/utils.go Outdated Show resolved Hide resolved
@hieblmi hieblmi force-pushed the refactor-db-opening branch from d11ab53 to fb4b3a0 Compare October 13, 2023 07:57
@hieblmi hieblmi requested review from bhandras and sputn1ck and removed request for bhandras October 13, 2023 07:57
loopd/daemon.go Outdated Show resolved Hide resolved
@hieblmi hieblmi force-pushed the refactor-db-opening branch from fb4b3a0 to 79063d7 Compare October 13, 2023 08:39
Copy link
Member

@GeorgeTsagk GeorgeTsagk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✔️

@hieblmi hieblmi merged commit ec09b5b into lightninglabs:master Oct 13, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants