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

Access to blk files #76

Open
RooSoft opened this issue Feb 21, 2024 · 1 comment
Open

Access to blk files #76

RooSoft opened this issue Feb 21, 2024 · 1 comment

Comments

@RooSoft
Copy link

RooSoft commented Feb 21, 2024

I see that this version of electrs needs to have read access to .bitcoin/blocks/*.blk files.

Thing is, Bitcoin Core creates them with 600 rights. Because of this, the only user that technically has access those files, is Bitcoin Core's user itself.

Is this app designed to be run with Bitcoin Core's user?

Is there a more secure way to execute it?

@junderw
Copy link
Sponsor Member

junderw commented Feb 22, 2024

It only uses the blockfiles for the initial sync. Once you've fully synced once, it won't access the files again.

But yes, it does need access to the files.

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

No branches or pull requests

2 participants