electrs icon indicating copy to clipboard operation
electrs copied to clipboard

Access to blk files

Open RooSoft opened this issue 1 year ago • 1 comments

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?

RooSoft avatar Feb 21 '24 12:02 RooSoft

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.

junderw avatar Feb 22 '24 01:02 junderw