This present day, prime finish electrum servers at once learn blk.dat recordsdata directly from Bitcoin Core’s blocks folder within the procedure of constructing their preliminary inside indexes. I assume in addition they do at some point of their lifespan to stay indexes in sync, however not sure about that.
First issues first, I have simply learn right here that it’s dangerous observe for technical causes.
Additionally, Bitcoin Core makes certain the ones recordsdata are readable ONLY by means of its personal consumer. Thus, the one answer I discovered to sync the ones electrum servers is to run them with that very same consumer. Giving rights to these items of tool to change block recordsdata turns out slightly awkward, to mention the least.
This issues me slightly. Many initiatives want the ones bitcoin addresses indexes, thus, I assume maximum of them settle for that compromise. I believe the most suitable option could be for electrum servers to NOT use the ones recordsdata. Despite the fact that, the truth we need to are living with is they DO as we talk.
Even if the most productive answer could be for electrum servers to persist with RPC calls, I doubt they’re going to for efficiency causes, I assume. Then, why does not Bitcoin Core come with a configuration transfer to no less than permit readonly get entry to to these recordsdata?