Closed bernardoaraujor closed 4 years ago
do you initial database? see https://github.com/iotaledger/entangled/tree/develop/ciri#mainnet-node
I did! I just forgot to document here in the issue, sorry about that. I updated the description with step 5 for init database.
Hi @bernardoaraujor
Could you share the output of ls
on the local snapshots directory?
Step 6.
Right, i will continue looking at it tomorrow, but it seems like you got the correct file names
btw, can you try to set local-snapshots-base-dir
with an absolute path instead?
Absolute path did the trick! Closing issue. Thanks @tsvisabo
@bernardoaraujor
your command:
/bazel-bin/ciri/ciri ciri --config ciri/conf.yml --local-snapshots-enabled true --local-snapshots-base-dir=~/dev/local_snapshots --snapshot-signature-skip-validation true
--local-snapshots-base-dir=~/dev/local_snapshots
is incorrect, you should instead try:
--local-snapshots-base-dir ~/dev/local_snapshots
This also worked. Many thanks again! :nerd_face:
Also, if you want cIRI to prune transactions with every snapshot taken
you should set:
--local-snapshots-pruning-enabled true
Is there any documentation on what pruning is?
No actually :( But while snapshot is the periodical creation of the new state and metadata files, pruning is the removal of data that is no longer important to get into a consensus because you got these new files which are newer and inclusive to this data
Describe the bug I'm trying to run cIRI with a Local Snapshot.
To Reproduce Steps to reproduce the behavior:
Checkout entangled to 274caaaa34310a7b7beaf141f44301a35b6392c1
Build cIRI
Download Local Snapshot from https://db.iota.partners/iri-mainnet-snapshot.tar.gz and create local-snapshots-base-dir with the contents:
Create configuration file:
Init database:
Check local snapshots directory:
Run cIRI
Expected behavior I need cIRI to synchronize the latest milestones correctly.
Desktop (please complete the following information):