To enhance development (in this case, especially debug) experience, It'll be great to open local Headless node without tons of snapshot files.
To achieve this, I'm planning to share historical block and tx data using NFS and symlink to save our 100+GB disk space.
The remaining hurdle in doing this is for Headless to open the RocksDB to validate the genesis block and create a lock.
Opening RocksDB in read-only mode can solve this problem, for this I want to add read-only mode to Libplanet.
After this job is done, Libplanet will take an optional argument so that it can open RocksDB in read-only mode if necessary. It is up to the reader which one to make read-only.
To enhance development (in this case, especially debug) experience, It'll be great to open local Headless node without tons of snapshot files. To achieve this, I'm planning to share historical block and tx data using NFS and symlink to save our 100+GB disk space. The remaining hurdle in doing this is for Headless to open the RocksDB to validate the genesis block and create a lock. Opening RocksDB in read-only mode can solve this problem, for this I want to add read-only mode to Libplanet. After this job is done, Libplanet will take an optional argument so that it can open RocksDB in read-only mode if necessary. It is up to the reader which one to make read-only.