Page 1 of 1

Chia sync DB files

Posted: Sat Oct 09, 2021 9:20 am
by Mastermind007
Has Prohashing thought of providing a nightly build of the Chia sync db files?
Per my understanding they are sqlite files, which should work well for this.
As if stands now it will take a day for the initial sync to finish.

Perhaps have it as a Trusted Miner perk to prevent those not actually mining with Prohashing from taking up bandwidth.

Just a thought.

Re: Chia sync DB files

Posted: Sat Oct 09, 2021 11:38 am
by BMChris
I like this idea. What kind of size are they?

Re: Chia sync DB files

Posted: Sat Oct 09, 2021 12:47 pm
by Mastermind007
Should be around 11.5GB.

Total blocks in chain: 973,389
What I have sync'ed so far: 89,152
Current size of my DB files 1.07 GB
I am about 9% sync'ed

I am basically experimenting. I have 12TB of storage for plots. No money invested as this was components I had on a shelf.
To do it right the drives would be $150 to $200 per 1TB. This is for PCIe NVMe heavy usage drives. The ones I have are not super high-end versions so they would have a short lifespan if running long term.

Re: Chia sync DB files

Posted: Sun Oct 10, 2021 7:13 am
by jkndt
Although this sounds like a good idea, this wouldn't really help anyone.
The database is file shared amongst all the peers that your system connects to, like a torrent, and is freely hosted because of it. If prohashing were to host this, it would cost them in bandwidth.
You may be able to edit the config.yaml file to increase the number of connected hosts/peers so that you can sync the db more quickly, then once fully synced, return it to it's default. YMMV.

Re: Chia sync DB files

Posted: Sun Oct 10, 2021 8:39 am
by Mastermind007
I was referring to download the database file just for initial setup of the Chia app, If you have a copy of the db files from the day before then you would only need to sync the last 24 hours from the network.

Ex: Yesterday, if I could have downloaded the DB files the sync to the network would have taken little time compared to the 24 hours to sync from zero.