Developers Forum for XinFin XDC Network

11ppm
11ppm

Posted on • Updated on

[Query] Query on Recent Masternode Snapshot Alterations

I have a question regarding the mainnet snapshot of the masternode. Previously, when I unzipped the file, an XDC directory was created in the current directory, containing a large number of ldb files. However, when I try it now, the XDC directory is not created, and a large number of files appear directly in the current directory. Has the handling of the snapshot changed? Previously, after unzipping, I believe the XDC directory that was created was moved to the xdcchain directory.

Discussion (4)

Collapse
rushabh_parmar profile image
Rushabh Parmar •

We usally take the snapshot of the XDC directory but while taking the last snap shot instead of taking the snapshot of XDC directory we took the snapshot of XDC/chaindata so what you can do is delete the chaindata folder first and then create a new chaindata folder and then unzip the xdcchain.tar file inside the chaindata directory and then up your node.

Collapse
11ppm profile image
11ppm Author •

Thank you for your polite response. Yes, I ended up doing the same thing. However, I wanted to know if this is just for this time or if it will be the same for next time and beyond. Personally, I prefer to get snapshots in the XDC directory I'm familiar with.

Collapse
rushabh_parmar profile image
Rushabh Parmar •

It's for this time only when the new snapshot will be updated snapshot will be of XDC directory only.

Thread Thread
11ppm profile image
11ppm Author •

I understand well. Thank you.