2

The Substrate chain and Parachain data directory contains 3 sub-directories, db, keystore, and network.

A long time ago the network directory used to contain the database of peers, but now appears to be unused. However the peer database must exist somewhere.

  1. Where is it now?

  2. Can it be removed without having to delete all chain data from the db directory (i.e. using purge-chain) to force a node to rebuild it?

1 Answer 1

2

We currently don't store the known peers. There is an issue to bring this back. So, currently you only find the node key file in the network directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.