What is the difference between running an in-memory network and rocks-db for running a Fuel local node?

For running a local node, you can run an in-memory network or define a chainconfig and use rocks-db which persists to a local folder. Are both of these methods of running a local node going to continue to be supported, and if so what are the tradeoffs / differences for each?

Both of these approaches will be supported in the future.

  1. In-memory is for local testing such as developing contracts with the LSP in vscode.
  2. Using rocks-db is best for long-lived nodes which need to retain state, such as a node deployment running a live network instantiation. It can also be used for more advanced tests which need to stop & start the node while maintaining the state.

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.