3

I am new to Solana stuff. I just create my Solana private rpc node. I have a few questions in mind if anyone could help it would be great.

1- How much time it will take if I restart the Solana validator service? 2- Can we save the state of Solana rpc if it restarted due to any reasons so it can restart from the last position?

2 Answers 2

2

It doesn't take that long to restart the Solana validator service, but you can also speed it up by disabling port checks

0

1- How much time it will take if i restart solana validator service?

This could vary on a lot of things such as your hardware setup and snapshot intervals, but if you have a node that is capable of keeping up with the cluster, I have seen 5-10 minutes for v1.14.10 against mainnet (note that v1.14.10 is not yet the recommended version for mainnet-beta) to get back up to the latest state prior to stopping.

2- Can we save the state of solana rpc if it restarted due to any reasons so it can restart from the last position.

Yes, the node will automatically do this by creating snapshots. Snapshots are essentially save points that occur at regular intervals. Your node will continually create snapshots and replace the old ones with newer ones. When do finally need restart the service, it will reload the latest snapshot.

1
  • I have also faced the same problem! But don't know where I can add a new snapshot Path. I used --wait-for-supermajority 246464040 \ --no-snapshot-fetch \ --no-genesis-fetch \ --expected-bank-hash 2QEvYhBgeWPJbC84fMTTK9NgntqiUAWiBEBf21rtTmng \ --expected-shred-version 50093 \ I added this additional arguments in cmd. But what are expected-shred-version & expected-bank-hash from where can I get them? Commented Mar 21 at 4:50

Your Answer

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

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