Libra rocksdb sample

Hi there, is there anywhere a rocksdb sample d b for transactions, events, etc. with enough data to start exploring it?

I have run my first transactions according to intro file but I don’t find any corresponding .sst file on my machine.

Thanks. Didier

Hi @didier.durand! If you ran first transactions like what is described in https://developers.libra.org/docs/my-first-transaction, the RocksDB files are on the server we set up for testnet and you don’t have access to these servers.

To explore the DBs, you can run some validator nodes locally. You can find some instructions at https://developers.libra.org/docs/my-first-transaction#run-a-local-validator-node. Once you start some nodes on your machine you can find https://github.com/libra/libra/blob/737839b744794c0ca3be3db2934de7ebf056639a/storage/libradb/src/lib.rs#L116-L120 in the logs. Then you should be able to find the RocksDB files. You can then submit transactions to your local node. Feel free to let us know if you have questions regarding running nodes locally.

1 Like

Thanks, I’ll do that and come back if I have issues when running validator. Didier